Setting Solver Controls and Stopping Criteria
For this simulation, the coupled implicit solver is set to run with automatic CFL control. The primal solver is set to run for 300 iterations by applying solver-specific stopping criteria. The adjoint solver is set to run for 150 iterations for each optimization loop.
To set the coupled solver controls:
-
Select the
node and set the following properties:
Node Property Setting Coupled Implicit CFL Control Method Automatic Explicit Relaxation Method Constant Constant Relaxation
Explicit Relaxation 0.3
To add a steady solver stopping criterion to control the primal
run:
- Right-click the node and select .
-
Select the Fixed Steps node and set Fixed Steps to
300.
The steady coupled solver stops after running 300 iterations.
- To omit the maximum steps stopping criterion, select the Enabled. node and deactivate
You have two options to set adjoint stopping criteria:
- Specify stopping criteria within a cost function—under the node. With this option, you can run various cost functions with different numbers of steps.
- Specify a general stopping criteria for all the cost functions—under the node. With this option, all the cost functions are controlled with the same numbers of steps.
To define a general adjoint solver stopping criterion for the only one cost function:
- Right-click the node and select .
- Select the Fixed Steps node and set Fixed Steps to 150.
To deactivate the cost function-specific stopping criteria:
- Select the Enabled. node and deactivate
- When the solver settings are finished, save the simulation.