Setting Up the Simulation Operation Sequence
Simulation operations allow you to automate steps, in a Simcenter STAR-CCM+ workflow. In this tutorial, a loop is required in which you run the sequence of steps for adjoint shape optimization.
- Solve the primal flow.
- Solve the adjoint and compute mesh sensitivity.
- Deform the mesh according to the mesh sensitivity on the control points.
The operation sequence is shown as follows:

To set up the operation sequence:
- Right-click the New. node and select
- Rename the Simulation Operations 1 node to Shape Optimization Mesh Sensitivity.
-
To add the Clear Solution operation:
-
To add the Reset LoopCounter operation:
-
To solve the initial primal flow:
- Right-click the Operations node and select .
- Rename the Solve Physics node to Solve Initial Primal and set Simulation Objects to Physics 1.
-
To build a loop which runs a number of shape optimization cycles defined by
LoopCounter:
-
You define the following steps as a sub-sequence under the loop
operation:
- Increase LoopCounter by 1
- Solve adjoint with mesh sensitivity
- Deform the volume mesh
- Solve Primal
-
To define a new primal run after the mesh deformation:
- Right-click the node and select .
- Rename Solve Physics to Solve Primal and set Simulation Objects to Physics 1.
The primal and adjoint runs stop when their respective solver-specific stopping criteria are fulfilled.