You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, pynastran is an awesome tool! Thanks for sharing it with the world.
I've been using it regularly to read modal and frequency response results, which has always worked like a charm. But I'm hitting a roadblock now when attempting to read external superelements from op2 format.
Attached is a basic job demonstrating the issue. job.zip
The hiccup happens on line 347 of op2_reader.py in function read_xsop2dir because the second table name (the first being "XSOP2DIR") has a length of 16 bytes instead of the expected 8 ("GEOM1X XXXXXXXX" instead of "GEOM1X " is suppose.). This has been verified for SE op2 files generated by Nastran MSC 2008.0 and 2018.2. All the following table names seem to maintain this same pattern of trailing Xs to pad the char array up to 16 bytes.
What I'm trying to extract are the MATM, MATK and MATK4 superelement matrices as well as the MUG1B (displacement) and MEF1 (force) translation tables.
Thank you!
The text was updated successfully, but these errors were encountered:
Hi!
First of all, pynastran is an awesome tool! Thanks for sharing it with the world.
I've been using it regularly to read modal and frequency response results, which has always worked like a charm. But I'm hitting a roadblock now when attempting to read external superelements from op2 format.
Attached is a basic job demonstrating the issue.
job.zip
The error thrown by
is
The log file states :
The hiccup happens on line 347 of op2_reader.py in function read_xsop2dir because the second table name (the first being "XSOP2DIR") has a length of 16 bytes instead of the expected 8 ("GEOM1X XXXXXXXX" instead of "GEOM1X " is suppose.). This has been verified for SE op2 files generated by Nastran MSC 2008.0 and 2018.2. All the following table names seem to maintain this same pattern of trailing Xs to pad the char array up to 16 bytes.
What I'm trying to extract are the MATM, MATK and MATK4 superelement matrices as well as the MUG1B (displacement) and MEF1 (force) translation tables.
Thank you!
The text was updated successfully, but these errors were encountered: