Importing Surfaces Using an XML File

XML-based data files can be used to import many parts with a given hierarchy, such as a CAD assembly.

When this method is used, Simcenter STAR-CCM+ automatically imports the individual parts that are specified in the XML file and arranges them according to the data in the file. The procedure for XML import is similar to that described above but it uses a different starting point, namely the Import XML toolbar button. By default, the button is not available on the interface. You can add it to any suitable toolbar or a new toolbar (as desired).

To add the Import XML button to a toolbar:

  1. Open the Customize Toolbars dialog by selecting Window > Toolbars > Customize... from the main Simcenter STAR-CCM+ display.

    The Customize Toolbars dialog appears.

  2. In the dialog, locate the File > Import XML... node.

  3. Drag and drop the Import XML... node to an existing toolbar (such as the Mesh Generation one) or use the New Toolbar... button to create a new empty toolbar beforehand.
    The button is now available on the main display.

  4. Click Close.
  5. Press the Import XML... button.
  6. In the Open dialog, set the Files of Type option to .plmxml and locate the import file.
  7. To start the import process, click Open.

    The Import Surface Options dialog appears. This dialog provides options to Merge Vertices (with a vertex merge tolerance), and to set the units for each imported reference file. The merge vertices option is applied to STL and JTOpen format files as they are imported. When importing a JT Open file, you can also specify the JT Open Files Import Type as tessellated data or B-rep (Boundary Representation) data. See JT Import Options. You can also specify the tessellation density of the imported surface. See Tessellation Density.

  8. Make the necessary changes and click OK.

Each part that is listed in the XML file is imported one at a time using default options depending on the format. If multiple instances of the same part are listed, then a separate part is created for each. Any part files that cannot be located are listed at the end of the process.

PLMXML files are supported in both Windows and Linux versions of Simcenter STAR-CCM+.