Controlling the Optimization Loops with Stopping Criteria
One topology optimization loop consists of a sequence of one flow analysis followed by one adjoint analysis. The number of iterations of each flow solution and adjoint solution per loop, and the overall number of loops are controlled by individual stopping criteria.
To obtain the steady-state solution of flow variables, you specify a value of 300 iterations initially, then you reduce the number of iterations to 100. For the adjoint solution of the pressure drop objective, you set the number of iterations to 100. This low number of iterations is sufficient as you do not want to achieve full convergence every time, but a solution that is moving in the right direction. For this tutorial, the total number of optimization loops is set to 300.
To control the optimization loops:- Create a stopping criterion for the flow solution:
- Right-click the node and select .
- Select the Fixed Steps to ${PrimalIterations}. node and set
- Create a stopping criterion for the adjoint solution:
- Right-click the node and select .
- Select the Fixed Steps to 100. node and set
- Create an overall stopping criterion:
- Select the Enabled to Deactivated. node and set
- Save the simulation.