FMI Library Reference

When importing an FMI library, Simcenter STAR-CCM+ adds a library node under User Libraries. Only the [Imported Library] node has editable properties—its child nodes provide a way of displaying the details of the FMU model in Simcenter STAR-CCM+.

FMU Library Node Properties

The User Libraries > [Imported Library] node has the following properties:

FMU File
Displays the path to the imported FMU file. Read-only.
Extracted FMU Folder
The imported FMU model consists of a compressed file with extension .fmu. This property displays the path to the directory to which Simcenter STAR-CCM+ extracts the content of the .fmu folder. Read-only.
Library
Lists the paths to all libraries required by the FMU. For example, the Windows dynamic link libraries (.dll) or Linux shared object libraries (.so) that are required to run the FMU.
Variable Naming Convention
Allows you to set the naming convention that Simcenter STAR-CCM+ uses to read FMU variable names. The available options are:
  • Flat—variable names are read as flat strings. Any special character is read as part of the same string and does not indicate any hierarchy.
  • Structured—variable names are read as hierarchical, with the hierarchy indicated by a separator.

This setting determines whether Simcenter STAR-CCM+ creates import and export specifications under co-simulation zones (Structured) or under the link (Flat). For more information, see Specifying the Scalar Values Exchanged with the FMU.

Name Parsing Direction
Allows you to specify the direction in which Simcenter STAR-CCM+ parses FMU variable names. For more information, see Specifying the Scalar Values Exchanged with the FMU.
Hierarchy Separator
Allows you to specify the separator that indicates hierarchy in the name of an FMU variable.

FMU Library Node Right-Click Actions

Open/Close
These options allow you to open or close an imported FMU library. During import of an FMU, Simcenter STAR-CCM+ automatically extracts the content of the .fmu to a new directory in the location of the imported .fmu and loads the FMU definition file and libraries. When you Close a library, Simcenter STAR-CCM+ unloads and deletes the directory that contains the extracted files.
When you Open a library, Simcenter STAR-CCM+ re-executes the extraction and loading process.
Create FMU Link
Creates a co-simulation link under the External Links node. This action is only available when the simulation contains an external physics continuum with the FMI model (see Activating FMU Co-Simulation Models). When you create an FMU link using this method, Simcenter STAR-CCM+ automatically:
  • sets the External Links > [Link] > Conditions > FMI Resource Reference node to the FMI library from which the link is created.
  • populates the link conditions and values based on the FMU model settings