SteveDoyle2 / pyNastran

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

b'OUGV1PAT' missing on oug.py #698

Open hurtig0 opened 2 years ago

hurtig0 commented 2 years ago

I was trying to read a OP2 file, but it accused that the b'OUGV1PAT' table was missing support.

By adding b'OUGV1PAT' to the array on the line 1082 the issue was fixed.

SteveDoyle2 commented 2 years ago

Do you have a small example?

Basically, I occasionally go through and clean things up. I swear I've broken that one 3 times now...tests are helpful.

SteveDoyle2 commented 2 years ago

No response...closing. Reopen if there's an example.

hurtig0 commented 2 years ago

Sorry for late response, here's an example where the issue happens, had to upload it externally due to github file size limitations.

https://anonfiles.com/p686R3z2ya/3mm_plate_zip

SteveDoyle2 commented 2 years ago

I want a small example so I can have a test that I can upload to github. Just delete 99% of the nodes/elements and SPC it. The smaller the better and results do not matter. All that matters is the table exists and since it's a displacement table, you should need only 1 node in the output.

As I said, it's worked in the past, but without a test, it will break again. I have much less of an ability to generate and run models than I used to, so it's this or I can't do it.

On Thu, Jul 21, 2022 at 9:43 AM hurtig0 @.***> wrote:

Sorry for late response, here's an example where the issue happens, had to upload it externally due to github file size limitations.

https://anonfiles.com/p686R3z2ya/3mm_plate_zip

— Reply to this email directly, view it on GitHub https://github.com/SteveDoyle2/pyNastran/issues/698#issuecomment-1191712042, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAICUWLV7DZNCM7DIBKPWRLVVF42XANCNFSM5ZRICXXQ . You are receiving this because you modified the open/close state.Message ID: @.***>

hurtig0 commented 2 years ago

Here is a smaller file that gives me the same error. small_plate.zip

SteveDoyle2 commented 2 years ago

This isn't small and doesn't include the geometry.

Just make 1 quad and copy the header in. This is way too big (and incomplete) for what this is trying to test.

hurtig0 commented 2 years ago

This is the smallest file I could get on our setup of Nastran.

ougv1pat_plate.zip

If this isn't enough, can you point me to an example of what you want?

SteveDoyle2 commented 2 years ago

It's a good size now. Can you attach the bdf/dat and f06 that goes with this?

Also, I'm much busier now, so I don't have much time outside of the weekends.

hurtig0 commented 2 years ago

ougv1pat_plate_dat_f06.zip Here it is.

SteveDoyle2 commented 2 years ago

Pleas attach the necessary include files.

HM_Beam_2.nas is missing and maybe others.

hurtig0 commented 2 years ago

Here is the files, edited them to include the correct file names.

ougv1pat_plate_dat_f06.zip