CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (http://www.cfd-online.com/Forums/fluent-udf/)
-   -   Stop time steps after limit is reaced (http://www.cfd-online.com/Forums/fluent-udf/103401-stop-time-steps-after-limit-reaced.html)

tim.sonderby June 19, 2012 05:11

Stop time steps after limit is reaced
 
I have written a code where I am looking for the time it takes to reach equilibrium. When I have reached this there is no reason to continue calculating and I therefore want to stop the simulation and contiue the next.


Anyone who have suggestions for how to do this.


thanks!

tim.sonderby June 19, 2012 05:36

exit(0);

whould maybe be a possibility but then fluent exits without saving anything...


All times are GMT -4. The time now is 15:27.