SteveDoyle2 / pyNastran

A Python-based interface tool for Nastran's file formats
Other
384 stars 147 forks source link

Error in reading vibroacoustics simulation OP2 file #745

Closed Pranav4495 closed 5 months ago

Pranav4495 commented 11 months ago

Hi,

I have been trying to read an op2 file for my vibroacoustics simulation, but it seems that pyNastran is having trouble reading a table. I am using the latest 1.3.4 version, which I installed with pip. Previously, I was using the 1.4-dev version, where I modified the op2.py file to ignore this error, but the same process is not working for the new version. I have attached the error along with my op2 file for your reference. Any help would be appreciated.

Thanks,

vbaop2_test.zip

vba_read_error
SteveDoyle2 commented 11 months ago

Can you attach a small model? This has 36,000 elements and I'm looking for something with 5 elements max. It's too big for a test.

I also need the associated BDF since acoustics isn't well supported.

SteveDoyle2 commented 11 months ago

Regarding why your code doesn't work, I'm not sure. 1.4 had a rewrite of how params are read from the op2, so there might be some subtle differences.

I also deleted the 1.4 branch. That was going to be released, but it's very out of date. The real 1.4 is the main branch.

Pranav4495 commented 11 months ago

I was able to create a simple example with 4 structural elements but could not reduce the number of fluid elements to less than 66 due to requirements on the AML surface. I have attached the model here.

test_vba.zip

SteveDoyle2 commented 5 months ago

fixed a while ago. I finally added a test.

Doing so makes it so ACMODL reads in and writes out CTYPE properly. That fixes a bug there.