By HM Comment
An overview of how solver interfaces use the Create components by HyperMesh comments import option.
Abaqus
When importing Abaqus files, the HyperMesh comments option behaves as follows:
- If available, the application considers comments written during a previous model export.
- If neither **HM_comp_by_property nor **HM_set_by_property comments are present, the application creates a component and a property collector for every element set (ELSET) that points to a sectional property. Both collectors will have the name of the referenced element set.
- If a comment such as **HM_comp_by_property “<property name>” <color> is found before a sectional property, for example *SHELL SECTION is found, a component with the name of the referenced element set will be created. At the same time, a property collector will be created, which defines the sectional property of the component (property assignment on component level). Its name will be taken from the HyperMesh comment.
- If a **HM_set_by_property comment is found, the application creates a property collector, which defines the sectional property of the elements mentioned in the element set (property assignment on element level). In addition, the elements will be placed into the component they were in before exporting. If present, the prefix “HMprop_” will be stripped on import.
Nastran
When importing Nastran files, the HyperMesh comments option behaves as follows:
- Create a component based on the HMCOMP NAME card
- Move elements into component based on the HMMOVE card
- Assign properties based on the HMDPRP card
- When HMCOMP NAME does not exist in the imported deck, and there is a one-to-one ratio between elements and properties (2D and 3D properties), the application creates one component and move all the elements into this one component. Properties will be assigned to the element.
- When HMCOMP NAME does not exist in the imported deck, and there are multiple elements with the same property, the application creates a component for every property, move all the elements that have a property into the associated component, and create one component for all elements that do not have a property. The property will be assigned to the component.
- When importing a Nastran input file containing
ANSYS or Patran comments, using the HyperMesh comments import option,
the application automatically recognizes and uses them to organize the
model. The supported ANSYS and Patran comments,
and their interpretation in the application, are listed below:
- ANSYS Comments
- The application supports organizing Nastran input files containing the
following ANSYS comments.Only one property can be indirectly assigned to a component. Any additional properties associated to a single ANSA_PART component will be assigned to the component using Direct Property Assignment (a warning message will be issued during import). The resulting elemental property assignment and integrity of the solver input file will not be affected by this.
ANSYS Comments Application Mapping $ANSA_PART;GROUP Assembly $ANSA_PART; PART Component $ANSA_NAME Property / Material / Set Name $ANSA_COLOR Property / Material Color $ANSA_DEFAULT_SET_TYPE Set - Patran Comments
-
The application supports organizing Nastran input files containing the following Patran comments.
Patran Comments Application Mapping $Elements and Element Properties for region Property $Material Record Material $<load type> of Load Set Load Collector $Deform Body Contact LBC Set Contact Surface $Subcase name Loadstep $Connector elements and properties for region Property