CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (https://www.cfd-online.com/Forums/fluent-udf/)
-   -   UDF for varying max iterations for time step (https://www.cfd-online.com/Forums/fluent-udf/153176-udf-varying-max-iterations-time-step.html)

jayemes May 19, 2015 15:38

UDF for varying max iterations for time step
 
Hi everybody!
What i want to do is to use a greater number of iterations in the first time steps and fewer afterwards.
Is it possible using UDFs?
Or should I do it manually?

Thanks.

Juan

`e` May 19, 2015 16:46

Changing the number of iterations per time step is possible with a Scheme file which can be run at each (or every so often) iteration or time step using Calculation Activities. Include an if statement to set how many iterations per time step is used as a function of time (or otherwise). You'll need the equivalent TUI command and apply this setting with ti-menu-load-string.

jayemes May 20, 2015 08:25

Thanks for your answer`e`.
I haven't used Scheme yet, I'm going to do some research and see what i can do.


All times are GMT -4. The time now is 10:04.