Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
pyNastran
#3
(12-24-2020, 06:07 AM)Admin Wrote: What do you think about adding this line by default to BDF files?

Correct me if I'm wrong, but you're referring to supporting embedded blanks in the SPC?  On that, not very likely.  If you look at the User Manual, you'll see the SPC/SPC1 have the following note:
 - C: Component numbers at grids Gi that will be constrained (Integers 1-6)

If you then look at the formatting section, you'll see:
 - Data can be character, integer or real but must be of the type specified and with the following conventions:
   - Integer data must contain no decimal point or imbedded blanks.
So it violates it's own requirements.  

I've haven't exhaustively gone through MYSTRAN & other Nastran versions, but there are cases (definitely in MSC) where blanks are allowed in things like GRID ids and that integer values are allowed for floats on some fields (X1/2/3), but the same is not true for a LOAD card.  I also assume this may change per version given it violates it's own spec.


Regarding the version (maybe what you meant), pyNastran supports:
 - MSC
 - NX/Simcenter
 - Optistruct
 - NASA95
 - Autodesk/NEi
 - IMAT
 - VABS
 - Zona
 - MYSTRAN

The default really should be MSC/NX given that they've been continually active since 1968, so similar, and both sourced from the official line.

And maybe a comment to designate the purpose?

I'm not sure what you mean by that.

My best guess is you're referring to the version, which is documented.  That may be a classic problem of too much documentation to find what you want or being able to find the documentation at all.  There are a few cases where cards have different formatting requirements based on version for the same card.  If you don't hit those cases, it doesn't matter, but the PARAMs in MYSTRAN are a bit different than MSC/NX.
Reply


Messages In This Thread
pyNastran - by mesheb82 - 09-28-2020, 08:08 PM
RE: pyNastran - by Admin - 12-24-2020, 06:07 AM
RE: pyNastran - by mesheb82 - 12-24-2020, 11:35 AM
RE: pyNastran - by Admin - 12-24-2020, 02:07 PM
RE: pyNastran - by mesheb82 - 12-24-2020, 04:09 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)