CFD Online Discussion Forums

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

scubme December 29, 2004 23: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 05: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 06: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 09: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 13:30.