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 tell the solver to stop simulation after a specific number of timesteps? (https://www.cfd-online.com/Forums/openfoam-solving/239167-how-tell-solver-stop-simulation-after-specific-number-timesteps.html)

MCrossover97 October 23, 2021 17:18

How to tell the solver to stop simulation after a specific number of timesteps?
 
Hi everybody,

I want my solver to stop simulation after a specific number of timesteps, let's say 60, instead of specifying an exact time (I'm using adjustable timesteps). Is there any way?

Thanks for helping me!
Mohammad

dlahaye October 24, 2021 13:43

Set endTime in system/controlDict


All times are GMT -4. The time now is 13:33.