Definition of convergence criterion in simpleFoam
In the solver simpleFoam there is the possibility of define a convergence Criterion, to stop the simulations after reaching it. I am having difficulties in understand in which file that value, as no tutorial case for simpleFoam uses that capacity.
Does anyone know how to define the parameter convergenceCriterion in simpleFoam.
The variable of convergenceCriterion was defined in initConvergenceCheck.H in simpleFoam solver. The default is zero,and thus the solver will not stop. You can just add a new entry in simple dictionary of fvSolution like following
If the initial residual for all the equations are lower than 1e-6, the simulation stops.
|All times are GMT -4. The time now is 21:39.|