|
[Sponsors] |
September 11, 2012, 05:47 |
Macros - Time dependent
|
#1 |
Senior Member
---------
Join Date: Oct 2010
Posts: 303
Rep Power: 18 |
Could some one please explain the difference between the solver macros CURRENT_TIME and CURRENT_TIMESTEP in Fluent.
I'd appreciate an explanation with a short example
__________________
Best regards, Santhosh. |
|
September 11, 2012, 06:35 |
|
#2 |
Senior Member
|
CURRENT_TIME is the current physical time and CURRENT_TIMESTEP is the current numerical used time step. (In some algorithms, the floating time step may use)
e.g., for a case with fixed time step of 1 sec, after 10 time step we have: CURRENT_TIME=10 sec CURRENT_TIMESTEP=1 sec Bests,
__________________
Amir |
|
September 11, 2012, 07:50 |
|
#3 |
Senior Member
---------
Join Date: Oct 2010
Posts: 303
Rep Power: 18 |
Thanks for the reply Amir. I've a question on writing a udf that involves an interpolation
For instance i have the following case where the inlet pressure varies with times as follows: Time [sec] - 0 0.2 0.3 Pressure [Pa] - 0 10 0 so the udf should now interpolate for the values of pressure in the intervals [0,0.2] and [0.2,0.3] in this case. Here it is only a few points so it may be easier to just extract the interpolation functions easily and frame the udf but is there a better way of doing this when the data is much.
__________________
Best regards, Santhosh. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Extrusion with OpenFoam problem No. Iterations 0 | Lord Kelvin | OpenFOAM Running, Solving & CFD | 8 | March 28, 2016 12:08 |
How to write k and epsilon before the abnormal end | xiuying | OpenFOAM Running, Solving & CFD | 8 | August 27, 2013 16:33 |
plot over time | fferroni | OpenFOAM Post-Processing | 7 | June 8, 2012 08:56 |
time dependent curve | faiz rauf | FLUENT | 0 | August 31, 2004 14:02 |
Time Dependent Solutions. | rakib | FLUENT | 2 | June 28, 2000 08:39 |