Skip to main content

Stopping Conditions

Updated this week

Stopping Conditions are used to control the maximum number of iterations or time steps that your simulation will run for as well as any additional criteria that may be used to terminate the simulation sooner. Define stopping conditions in the Stopping Conditions section of the control panel.

The rules for how to handle the custom stopping conditions are set via the Stop If dropdown menu. This can be set to ALL conditions are met or ANY condition is met.

The additional settings you see in the properties panel are dependent on whether you are running a steady state or transient simulation.

Steady State

You will need to set the Max Iterations and then define Conditions. You can add additional conditions by clicking + Add Stopping Condition.

Transient

You will need to set the Max Time Steps and Max Physical Time. For implicit time integration simulations, you will also need to set Max Inner Iterations. Then define Conditions or Inner Iteration Conditions depending on the details of your simulation.

You can add additional conditions by clicking + Add Stopping Condition.

Outputs

The default option in the Output Name dropdown is Solution Residuals. If you select this you must also specify a Tolerance and a Start at Iteration for when the simulation will first begin to evaluate this condition. In this case the tolerance is a value that all residuals must lie below.

If you have created additional types of outputs in the Outputs section of the control panel, these will also be available in the condition dropdown menu. For non-residual outputs you must again define Tolerance and Start at Iteration, but additionally you must also set Averaging Iterations and Iterations to Consider:

  • ‍Averaging Iterations defines the number of iterations to include in a trailing average calculation.

  • ‍Iterations to Consider defines the number of iterations to consider when determining the maximum percent deviation from the current value. If the percent deviation falls below the tolerance, the stopping condition will be met.

Did this answer your question?