pyNastran icon indicating copy to clipboard operation
pyNastran copied to clipboard

Adina support in op2 reader

Open rrothschild opened this issue 7 months ago • 2 comments

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

rrothschild avatar Jul 17 '24 16:07 rrothschild