CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Reading controlDict (http://www.cfd-online.com/Forums/openfoam-solving/59831-reading-controldict.html)

diegon February 6, 2007 12:35

Hi everybody, is it possibl
 
Hi everybody,

is it possible to read into the controlDict?
I just need to know if I am using latestTime or startTime as startAt option.

Is it also possible to know if the runTime is one of those at which fields writing is performed?

Thanks in advance,

Diego

philippose February 6, 2007 13:31

Hi, You could use runTime.st
 
Hi,
You could use runTime.startTime() in order to get the start time set in controlDict.

There is also the option to display the time name .. runTime.timeName()

Is this what you wanted?

Enjoy!

Philippose


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