CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   UDF for time stepping (http://www.cfd-online.com/Forums/fluent/42381-udf-time-stepping.html)

fulvio September 25, 2006 09:41

UDF for time stepping
 
I should impose variable time stepping that would works like follow:

if(flow_time <= 0.15) {

(timestep = 0.001); } else if(flow_time > 0.15 && flow_time <= 0.3) {

(timestep = 0.0005); }

but I do not know which is the correct way to do that using DEFINE(I have used UDF for velocity inlet and pressure but never for time stepping) thank you in advance


All times are GMT -4. The time now is 20:56.