pyNastran icon indicating copy to clipboard operation
pyNastran copied to clipboard

Update mats1 card

Open benvb-97 opened this issue 6 months ago • 1 comments

  • Added card format to the description of the MATS1 class.
  • The MATS1 card has two fields LIMIT1 and LIMIT2 that can both be real-valued or blank. The code has been updated to reflect this (previously only allowed real-valued fields).
  • Added the STRMEAS field to MATS1.

Passed all test_materials.py unit tests.

benvb-97 avatar Jun 05 '25 12:06 benvb-97

STRMEAS will break backwards compatibility. Old Nastran and MSC/NX is supported. The bdf without it should write out the same and the op2 need support for both depending on the data length/ presence of the parameter.

Also out of town right now, so I’ll take a look when I can.

On Thu, Jun 5, 2025 at 5:01 AM Ben Van Bavel @.***> wrote:

  • Added card format to the description of the MATS1 class.
  • The MATS1 card has two fields LIMIT1 and LIMIT2 that can both be real-valued or blank. The code has been updated to reflect this (previously only allowed real-valued fields).
  • Added the STRMEAS field to MATS1.

Passed all test_materials.py unit tests.

You can view, comment on, or merge this pull request online at:

https://github.com/SteveDoyle2/pyNastran/pull/833 Commit Summary

File Changes

(5 files https://github.com/SteveDoyle2/pyNastran/pull/833/files)

Patch Links:

  • https://github.com/SteveDoyle2/pyNastran/pull/833.patch
  • https://github.com/SteveDoyle2/pyNastran/pull/833.diff

— Reply to this email directly, view it on GitHub https://github.com/SteveDoyle2/pyNastran/pull/833, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAICUWKR6T2K7GVLRIL67CT3CAWTNAVCNFSM6AAAAAB6VHSEC6VHI2DSMVQWIX3LMV43ASLTON2WKOZTGEZDAOJTHEYTONA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

SteveDoyle2 avatar Jun 05 '25 13:06 SteveDoyle2

Closing due to inactivity. Please reopen if you address the backwards compatibility (as well as NX Nastran) concerns.

SteveDoyle2 avatar Oct 21 '25 04:10 SteveDoyle2