CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   How to control transient solution by max iterations/per time step in Openfoam? (https://www.cfd-online.com/Forums/openfoam-solving/232435-how-control-transient-solution-max-iterations-per-time-step-openfoam.html)

alainislas December 14, 2020 04:14

How to control transient solution by max iterations/per time step in Openfoam?
 
Hello,


Just as in fluent, one can control a transient simulation by limiting the number of iterations per time step (typically between 10 to 30 iterations/time step), independently if the convergence criteria is met or not.



I was wondering if something similar can be done in OpenFoam by modifying the fvSolution file or something. Any suggestion would be much appreciated,



Thanks you

CFD-HSNR December 14, 2020 05:48

Quote:

Originally Posted by alainislas (Post 790582)
Hello,


Just as in fluent, one can control a transient simulation by limiting the number of iterations per time step (typically between 10 to 30 iterations/time step), independently if the convergence criteria is met or not.



I was wondering if something similar can be done in OpenFoam by modifying the fvSolution file or something. Any suggestion would be much appreciated,



Thanks you



Hello Alain,

You can set the minimum and maximum iteration steps via the keywords minIter and maxIter in the fvSolution.

alainislas December 17, 2020 10:42

Thank you very much! CFD-HSNR


All times are GMT -4. The time now is 16:11.