Specifying Co-Simulation Settings
Prepare the fluid simulation for co-simulation. Setting up a co-simulation requires you to activate a co-simulation model and to specify the coupled boundaries and the fields exchanged with the partner code.
To enable co-simulation, activate a Simcenter STAR-CCM+ Co-Simulation model:
-
For the physics continuum,
, select the following models in order:
Group box Model Optional Models Co-Simulation Co-Simulation Models Simcenter STAR-CCM+ Co-Simulation Treatment Models Co-Simulation Mechanical Treatment - Click Close.
To couple the fluid with the solid that is defined in the partner simulation, you require an additional physics continuum that represents the solid physics.
- Create a physics continuum named Solid Physics (External).
-
For the physics continuum,
Solid Physics (External), select the following models in order:
Group box Model Optional Models External Continuum External Continuum External Application Space Surface Three Dimensional External Application Simcenter STAR-CCM+ Coupling Models Implicit Coupling Time Implicit Unsteady (selected automatically)
When you activate co-simulation
models, Simcenter STAR-CCM+ adds a co-simulation
link node, . This node represents a connection to an external application and
allows you to specify co-simulation settings.
For this link, specify the external continuum that represents the external application:
- Select the Solid Physics (External). node and set Continua to
To define the fluid-structure
interface, assign the coupled fluid boundary to a co-simulation zone:
- Expand the node.
-
Select the
External Code Coupling Specification node and set
External Code Coupling Specification to
Link 1: Zone 1.
Once you associate a boundary to a coupling zone, Simcenter STAR-CCM+ updates the Coupled Model Parts condition for that zone.
In this co-simulation,
Simcenter STAR-CCM+ imports displacements from the external program and exports pressure and wall shear stress. To specify the exchanged fields:
- Expand the node.
- Right-click the Exported Fields node and select .
- Repeat the previous step to add Wall Shear Stress to the exported fields.
- Right-click the Imported Fields node and select .
-
Select the
Managed.
node and set
Field Treatment to
With this setting, Simcenter STAR-CCM+ automatically sets the morphing specification for the coupled boundary, so that the boundary moves according to the imported displacement data.
Specify the number of inner iterations between exchanges:
-
Select the
5.
node and set
Iterations Per Exchange to
By default, the Simcenter STAR-CCM+ server is the leading simulation.