CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   How to modify iterated time in fluent UDF (https://www.cfd-online.com/Forums/fluent/35368-how-modify-iterated-time-fluent-udf.html)

scubme December 29, 2004 22:49

How to modify iterated time in fluent UDF
 
Hi,everyone

My calculation is a coupled unsteady problem. After several periods, if the result is not meet the conditions of convergence,the calculation will be restarted from t=t0. Now , my question is ---

"How can I re-set the iterated time to the start time t0 in fluent UDF?"

Regards!

Luca December 30, 2004 04:51

Re: How to modify iterated time in fluent UDF
 
Hi! you have to type in the TUI: (rpsetvar 'flow-time 0)

(NOTE: you have to type the parentheses too!) Now I try to do that using a UDF and let you know. Luca

scubme December 30, 2004 05:47

Re: How to modify iterated time in fluent UDF
 
Thank you Luca.

Is your method unique? Really, no other methods?

Luca December 30, 2004 08:09

Re: How to modify iterated time in fluent UDF
 
MMH.. I should think it over. Maybe we can find a method to use a UDF...we should look at the headers file and find something to initialize the flow-time. Luca


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