Specifying the Values Exchanged with the FMU
During the co-simulation, Simcenter STAR-CCM+ exchanges data with the FMU. As FMU variables are spatially-invariant, Simcenter STAR-CCM+ must export single-value data. To convert space-dependent fields to single-values, you can use reports. You can also use reports to store imported data.
- Expand the node.
- Select the amesim_interface.Flowrate node and set Value to ${MassFlow1Report}.
- Select the amesim_interface.Force node and set Value to ${Force1Report}.
Use the remaining reports to store the values imported from the
FMU:
- Expand the Reports node.
-
Select the PlateDisplacement report and set
Definition to:
${Link 1.amesim_interface.ValveDisplacement}
-
Select the OutletPressure report and set
Definition to:
${Link 1.amesim_interface.OutletPressure}
-
Select the InletPressure report and set
Defintion to:
${Link 1.amesim_interface.InletPressure}
To apply the imported pressure data to the Simcenter STAR-CCM+ inlet and outlet
boundaries:
- Expand the node.
-
In the
node, and set Value to:${Link 1.amesim_interface.InletPressure}
-
In the
node, and set Value to: ${Link 1.amesim_interface.OutletPressure}
The starting simulation includes a user-defined vertex motion
that is already assigned to the plate region. Configure this motion so that the
plate moves according to the displacement calculated in Simcenter Amesim.
-
Navigate to the
node and set Value to: ${Link 1.amesim_interface.ValveDisplacement}
- Save the simulation.