Import Nastran files and create Comps
How do I import a Nastran file and have HM automatically create Components (and Properties) based on the text above the entity?
e.g., a Nastran file that looks like:
...
$Part_1
PSHELL ...
$Part_2
PSHELL ...
$Steel
MAT1 ...
This format is typical for other pre-processors. Strange thing is that when I Export from HM and uncheck 'Write HM Comments' - the Nastran file looks like this.
But when I import, no matter what combinations of Create Comps (by HM comments, property, etc.) or Assign Props (by HM comments, On element), it ignores the field above the entity and thus is named with generic terms from the PSHELL, etc. cards.
Answers
-
The component organization is by comments, why are you turning them off?
Are you importing this from another pre-processor?
0 -
Yes, this is to import from another pre-processor.
The reason to turn of the comments is only when I want to export to use on another pre-processor.
However, we have this issue mostly taken care of, as Altair wrote a TCL script to make the change. Doesn't work for loads and SPCs but it will automatically rename components, properties, and materials based on the convention I specified above.
0