Preparing a Simulation Sequence for Topology Optimization
Similar to an adjoint workflow, an automated adjoint-based topology optimization workflow must be set up using simulation operations.

If you observe strong oscillation in the flow field and optimized channel shape, you are advised to ramp the parameter penalty to enhance the influence of the optimization constraint.
In order to compute the final pressure drop at the end of the simulation, you must run one initial flow solution before entering the optimization loop.
- Right-click the New. node and select
- Rename the Simulation Operations 1 node as Run Topology Optimization.
-
Create an operation to clear the solution fields and reset the
mesh adaption in case of a restart:
-
Create an operation to run the primal analysis once before
entering the loop:
- Right-click the Operations node and select .
- Rename the Solve Physics node to Solve Initial Primal.
- Select the Solve Initial Primal node and set Simulation Objects to Physics 1.
-
Create an overall stopping criterion based on the iteration
counter of the topology optimization:
-
Create an operation that loops through the topology
optimization:
- Right-click the Operations node and select .
- Select the Loop node and set Stopping Criterion Predicate to Optimization Iteration Monitor Criterion.
-
Create an operation within the loop to run the adjoint
analysis:
- Right-click the node and select .
- Select the Solve Adjoint node and set Adjoint Cost Functions to [objective cost function].
-
Create another operation within the loop to run the flow
analysis:
- Right-click the node and select .
- Select the Solve Physics node and set Simulation Objects to [physics continuum] that includes the Topology Optimization model.
- Right-click the Activate. node and select
- Right-click the Run Topology Optimization node one more time and select Play/Resume Simulation Operations.