- **OpenFOAM Running, Solving & CFD**
(*https://www.cfd-online.com/Forums/openfoam-solving/*)

- - **Condition of stopping loop in steady state **
(*https://www.cfd-online.com/Forums/openfoam-solving/60624-condition-stopping-loop-steady-state.html*)

In pitzDaily example with simIn pitzDaily example with simpleFoam solver, when I make a big number of iteration in steady state regime, although the regime is established the solver continue to iterate until a Tmax .
I think that it would be better to add an other test of convergence with the maximum iteration count . the loop will be stopped in the first criteria reached. thanks a lot |

What kind of convergence? InitWhat kind of convergence? Initial solver residual? What variable? Or maybe when some (integral) value has stabilized? Lift? Drag? Recirculation length?
There are too many choices so we chose to implement none ;-) (We tend to look at the initial solver residuals for simple flow problems) Feel free to implement your own though! You have all the sources of the solvers and the control structure is really easy. |

All times are GMT -4. The time now is 23:40. |