Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adina support in op2 reader #794

Open
rrothschild opened this issue Jul 17, 2024 · 2 comments
Open

Adina support in op2 reader #794

rrothschild opened this issue Jul 17, 2024 · 2 comments

Comments

@rrothschild
Copy link

rrothschild commented Jul 17, 2024

Hey Steve,

Really appreciate all the work you do on this!
I have been diving into PyNastran to try and get it compatible with reading an op2 using the Adina nastran version.
I've had some luck by forcing PyNastran to read it as NX but it gets hung up pretty quick reading the data due to op2 structure.

I'm pretty new to binary files (sorry if I use the wrong lingo anywhere) but I think I've tracked it the markers that precede the data table and the wrong data blocks being read due to this.

I included some content I have together to trace the issue, would love some guidance if this is an easy update to make and just update some marker values somewhere. I've traced the issue to read_3_markers4 in op2_reader, not being able to align the markers it sees with what it expects, causing the error (FortranMarkerError).

I also Included the op2 I use to recreate the issue and the debug results that PyNastran produces for each.

I'll continue to chase this down and I'm looking forward to contributing to PyNastran in the future!

Thanks,
Rob
PyNastran_Adina_Error
PyNastran_Adina_Op2Markers
dubugOutput_Adina.txt
DirectTransient-Adina.zip

@SteveDoyle2
Copy link
Owner

SteveDoyle2 commented Jul 18, 2024 via email

@rrothschild
Copy link
Author

Awesome! Very helpful for wrapping my arms around how these files are read.

I'll work with the new info, get a smaller result, and dive back in over the next day or so.

Again much appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants