CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   Time in Steady State DPM (https://www.cfd-online.com/Forums/fluent/50408-time-steady-state-dpm.html)

KJ Larsen January 28, 2009 12:00

Time in Steady State DPM
 
Hello

I have a problem with using the time in for a Define_DPM_Body_Force UDF I have written, (with fixed timestep). For no reason that I can understand, if I define a real called time and update this every iteration as time = P_TIME(p), after 1.55E-2s it becomes unbound and then 'not a number'. If I update as time = time + P_DT(p) it can reach 3.1E-2s before crashing. However in a different Body_Force UDF similar methods have caused no problem (5s).

Can anyone see a way into understanding this?

Cheers. Kris


All times are GMT -4. The time now is 07:50.