Exporting XML Mapping File

You can export an XML mapping file using the Generate Mapping File contextual menu by taking into account the characteristics 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 mesh model (finite element model) without defining other properties.

This command is dedicated to dump the properties taken into account by the solver. To know which property is taken into account by the solver, refer to Connections and Properties in the Frequently Asked Questions section.

The coordinates of elements without physical properties are exported in the XML mapping file as XML comments at the end of the XML mapping file (spatial identification of elements). The XML comments are not ignored.

This command generates an XML mapping property file with spatial identification of elements and current property characteristics applied to those elements. This XML mapping property can be immediately used as input of the Mapping Property command. To know more about the Mapping Property command, refer to Creating Mapping Properties.

Only available with the ELFINI Structural Analysis (EST) product.

  • This command is available only if:
    • There is at least one mesh part defined under the Nodes and Elements set.
    • The Properties set is up-to-date. To update the property set, perform a Mesh Only computation.
  • The syntax and the format of the exported XML mapping file complies with the "Extensible Markup Language (XML) 1.0 (Third Edition)" rules as published in the World Wide Web Consortium (W3C).
    For more details, refer to http://www.w3.org/TR/2004/REC-xml-20040204/.
  • The decimal point used in the exported XML mapping file depends on the regional settings of your operating system (full stop or comma). The name of the associated .xsd file also depends on the regional settings of your operating system (PropertyMappingRules.xsd or PropertyMappingRules-fr.xsd).
    For more details, refer to Mandatory Elements of the XML Mapping File.
  • The name of the material is exported in the XML file. When you create a mapping property referencing the exported XML file (that means that you import the exported XML file), this material must be present. In case of V4 imported materials, you need to first create the material before importing the XML file.

Open the sample27.CATAnalysis document from the samples directory.

Note that all the mesh parts are updated.

  1. Right-click the Properties.1 set in the specification tree.

  2. Select Generate Mapping File .

    The Generate Mapping File dialog box appears.

    • Output directory: lets you set the directory in which you will generate the XML mapping file.

    • File name: lets you specify the name of the XML file.

    • Support: lets you select mesh parts, V4 imported meshes or groups defined under mesh parts on which you want to apply the XML mapping property.

      • Multi-selection of mesh parts is available even if they are from different dimensions.
      • You can select mesh parts or groups under mesh parts only if they are up-to-date
        To update mesh parts, perform a Mesh only computation. For more details, refer to Computing Objects Sets.
        To update groups under mesh parts, refer to Updating Groups.
      • Remove: lets you remove the selected mesh part or the selected group under mesh part.

      • Remove all: lets you remove all the selected mesh parts and groups under mesh parts.

    • Global Parameters: lets you set the global parameters.

      • Default Axis: lets you choose the default axis system in which the x, y and z coordinates will be interpreted.
        This 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.

      • Tolerance: lets you specify the default tolerance value that will be written in the generated XML file.
        Note that the units are those specified in the Tools - Options - Parameters and Measure - Units tab.

  3. Select the directory in which you will generate the mapping XML file.
    To do this, click the ... button and select the desired directory.

  4. Enter a new file name, if desired.

  5. Select the desired mesh parts.

    In this particular example, select the Coating 1D Mesh.1 and Surface Mesh.1 mesh parts as Support Mesh Parts.

  6. Enter the axis coordinates or select the axis directly in the specification tree.

  7. Enter the Tolerance value.

    The Generate Mapping File dialog box appears as shown below:

  8. Click OK in the Generate Mapping File dialog box.

 

Example with 3D solid property:

Example with 2D shell property:

Example with 2D inhomogeneous composite property:

Example with 1D beam property:

You can now set the property characteristics (respecting the syntax rules defined in the Mapping File Syntax section) and then create a mapping property (as described in the Creating Mapping Properties section).