CFD Online Discussion Forums

CFD Online Discussion Forums (
-   FLUENT (
-   -   hi joe. please read this (

majd August 9, 2007 06:45

hi joe. please read this
hi Joe, i saw in a archived forum following conversation:

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?"


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

what's your idea about it?

Joe August 9, 2007 07:33

Re: hi joe. please read this
Running (rpsetvar 'flow-time 0) in the TUI will not magically revert the current stored values of velocity/pressure/ ... back to their initial values.

As far as I know you cannot revert a simulations results back to its initial guess without reloading the relevant case/dat files.

I am currently working on a problem that could really use the ability to regress one or two timesteps without going through the huge file IO penalty (particularly on clusters) of re-reading a previously saved cas/dat file. But this cant be done AFAIK ... Fluent only keeps what it needs to perform the next time step in memory.

majd August 9, 2007 09:01

Re: hi joe. please read this
hi joe, thank you so much for your reply. i really don't want to revert a simulations results back to its initial guess. i want to change only my current simulation time without any changig on the other variables. i want to reiterate a time step with the new data that FLUENT obtains through its current calculations.

majd August 10, 2007 06:16

Re: hi joe. please read this
can anyone answer my question?

Thanks in advance.

All times are GMT -4. The time now is 05:52.