CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   time step in solver (http://www.cfd-online.com/Forums/openfoam/109748-time-step-solver.html)

hawkeye321 November 25, 2012 21:59

time step in solver
 
Hi FOAMERS
do you know how can I get the value of time step in the solver?

adhiraj November 25, 2012 22:08

Hi,
does this work?
Code:

scalar dt=runTime.deltaT().value();


All times are GMT -4. The time now is 06:29.