Setting Solver Controls and Stopping Criteria
You control the sequence of flow solution, adjoint solution, and surface mesh morphing by setting individual stopping criteria for each solver. A global stopping criterion determines the overall number of shape optimization loops.
The steady-state flow solution runs until either the mass flow at Outlet 1 has stabilized at a nearly constant value or until 200 iterations are complete. For the adjoint solution, you specify a fixed number of 50 iterations after which the mesh operations are executed, including the surface mesh morphing. The simulation stops when 500 iterations are performed.
To enhance convergence, you activate grid sequencing for the coupled solver.
To set solver controls and stopping criteria:
-
Specify the stopping criterion for the primal flow:
- Right-click the node and select .
- Select the Fixed Steps node and set Fixed Steps to 200.
- Right-click the New Monitor Criterion. node and select
- In the Select Monitor dialog, choose Mass Flow 1 Monitor, then click OK.
- Select the Mass Flow 1 Monitor Criterion node and set Criterion Option to Asymptotic.
- Edit the node and set the following properties:
Property | Option |
---|---|
|Max-Min| | 1.0E-06 kg/s |
Number of Samples | 20 |
Normalized | Deactivated |
- To initialize the flow field, select the Method to Grid Sequencing. node and set
-
Define the adjoint solver settings and stopping criterion:
- Right-click the node and select .
- Select the Fixed Steps node and set Fixed Steps to 50.
- To specify the global stopping criterion, select the Fixed Steps to 500. node and set
- Save the simulation.