pyNastran icon indicating copy to clipboard operation
pyNastran copied to clipboard

Error in reading vibroacoustics simulation OP2 file

Open Pranav4495 opened this issue 1 year ago • 3 comments

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

Pranav4495 avatar Sep 15 '23 17:09 Pranav4495

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 avatar Sep 18 '23 01:09 SteveDoyle2

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.

SteveDoyle2 avatar Sep 18 '23 01:09 SteveDoyle2

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

Pranav4495 avatar Sep 20 '23 20:09 Pranav4495

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.

SteveDoyle2 avatar Mar 22 '24 00:03 SteveDoyle2