CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   time step in interFoam (https://www.cfd-online.com/Forums/openfoam/84323-time-step-interfoam.html)

nimasam January 26, 2011 08:22

time step in interFoam
 
hi dear foamer
i simulated stephan problem ( phase Change ) with open Foam a modified version of interFoam, now im going to compare the result with analytical solution, unfortunately time is making me messed up! what is the time :D ? it seems stupid but the question is?
1) is this time real time ( physical time on second ) ?

2) if yes, so could some one tell me whats the difference between timeStep,adjustableRunTime and runTime

P.S :
im using an implicit method to solve alpha1 equation in interFoam.

cheng1988sjtu January 26, 2011 11:37

Hope these are helpful
 
timeStep:write data every N time steps, where N is defined in writeInterval;

runTime: write data every t seconds, t is the simulated time which is defined in writeInterval;

adjustableRunTime:
write data every t seconds, used in cases with automatic time step adjustment, it will change the time step to conincide with the writeInterval;

Basically, the three methods mentioned above are simulated flow time.

In caomparison, cpuTime and clockTime is not flowtime, it's either related to the time in windows clock, or in CPU time.

If I'm wrong, please let me~


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