![]() |
|||
![]() |
|||
Geometry Metadata |
|||
|
Geometry Metadata enables CUBIT to preserve assembly relationships and material data through the analysis process. Metadata may include a model's assembly structure, or the division of volumes into assemblies, sub-assemblies, and parts. Metadata may also include additional data such as part numbers and material descriptions. CUBIT also generates metadata which describes the relationship between element blocks and assembly parts. CUBIT's metadata capabilities are part of the material transparency effort of the DART project (see the DART project's Analyst Home Page at http://www-irn.sandia.gov/analyst). This page describes the procedures for importing, manipulating and exporting Metadata within CUBIT. |
|||
Assembly Structure |
|||
| Volumes can be organized into parts, assemblies,
and sub-assemblies. There are two ways to create an assembly structure.
The first is to import an XML file along with a STEP file, using the XML
option of the import step command.
Import step "<step_filename>" [XML "<xml_filename>"] |
|||
|
The second way to create the assembly tree is to modify the "name" metadata of a volume. Metadata Modify Name 'new value' Volume <id> |
|||
Viewing Metadata |
|||
| Once an assembly tree is created the metadata
can be viewed using the following command
Metadata List [Name | Description | Material_Description | Material_Specification | File | Units | Instance | ALL] {Volume | Part 'PartPath'[instance]} |
|||
Modifying Metadata |
|||
| Existing metadata can be modified using
the modify command. The full command syntax is:
Metadata Modify { Name | Description | Material_Description | Material_Specification | File | Units | Instance} 'new value' {Volume|Part 'PartPath'[instance]} |
|||
Viewing and Modifying Global Metadata |
|||
| There is also metadata that applies to the
whole assembly tree, not a single part. These metadata can be viewed and
changed using the following commands:
Metadata List {Classification_Level
| Classification_Category | Weapon_Category} |
|||
Removing Metadata Associations |
|||
| You can remove the association between a
part and a volume using the command:
Metadata Remove {Volume | Part 'PartPath'[instance]} |
|||
Replacing Metadata on Imported Geometry |
|||
| Sometimes you want to replace imported geometry
with volumes you created in CUBIT. An example of when you would want to
do this is when you are simplifying geometry, or when you are replacing
"bad" geometry with good geometry. The volumes in the first
list will be removed from their part, and the volumes in the second list
will be added to the part. Note that all volumes in the first list must
belong to the same part. Otherwise you get an error since CUBIT can't
determine which part to add the new volumes to.
Metadata Replace {Volume} <id> with {Volume} <id> |
|||
Exporting Metadata |
|||
| When you export a mesh and include the XML
option, a genesis file is written out in the same format as always, and
an XML file is written out as well. This XML file follows the DART schema,
and includes a mesh section which provides mapping between element blocks
in the genesis file and parts in the metadata. See the Analyst
Home Page for details.
Export Mesh "file.g" [XML "file.xml"] |
|||
|
|
|||
![]() |
|||