Generating XML Mapping Files

You can generate an XML mapping file that you can use to create a mapping property. You can export an XML mapping file by taking into account the characteristic values of properties you have already defined; that means that the generated mapping file takes into account values you have already applied to elements. The generated XML mapping file can then be applied to the same finite element model without defining other structural properties. This command is designed to output the properties used by the solver.


Before you begin:
Related Topics
Using Mapping Properties
XML Mapping File
Creating Mapping Properties
Updating All Properties
  1. In the specification tree, right-click the Properties set, and select Generate Mapping File.

    The Generate Mapping File dialog box appears.

  2. Optional: Click to select the output directory where you want to store the generated XML file.

    By default, the file is stored in a temporary directory.

  3. Optional: In the File name box, modify the name of the XML file you want to generate.

  4. Select the meshes you want to take into account in the XML mapping file.

    You can select meshes and groups defined under meshes.

  5. In the Default axis box, enter the coordinates of the axis system or select an axis system directly in the specification tree.

    The axis system must be orthonormal. The three first values are the origin coordinates, the next three values are the X-axis coordinates, and the last three values are the Y-axis coordinates.

  6. In the Tolerance box, enter a value to define the default tolerance that will be written in the XML mapping file.

    The units are those that are specified in the unit settings (select Tools > Options > Parameters and Measure > Units).

  7. Click OK.

    If the XML file already exists, a warning message appears.

    • Click Yes to replace the existing file.
    • Click No to cancel the XML file creation.

    The XML mapping file is created and stored locally on your computer.

The XML mapping file is ready to be used in the creation of a mapping property. See Creating Mapping Properties. You can also edit the XML mapping file and define the property characteristics you want to apply to finite elements. See XML Mapping File.

You can also save the XML file into the database.

Examples

Examples of property definitions you can find in the generated XML mapping file:

<MEMBRANE X="-34.71" Y="0.17" Z="0" BELONG_TO_MP="Octree Triangle Mesh.2" 
    TH="2" MAT="MyMaterial001" MAT_DOMAIN="LinearElastic001"/>
<SOLID  X="4.02" Y="-6.65" Z="17.51" BELONG_TO_MP="Octree Tetrahedron Mesh.2" 
MAT="MyMaterial001" MAT_DOMAIN="LinearElastic002"/>

The coordinates of elements without structural properties are exported in the XML mapping file as XML comments at the end of the XML mapping file. The XML comments are ignored when you import the XML file.

<!-- No physical property has been defined on these elements 
<X="-35.7" Y="-7.6" Z="1.9" BELONG_TO_MP="Octree Tetrahedron Mesh.2"/>
<X="-35.5" Y="-3.9" Z="1.9" BELONG_TO_MP="Octree Tetrahedron Mesh.2"/>
-->