CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   runTime (https://www.cfd-online.com/Forums/openfoam/81117-runtime.html)

deji October 16, 2010 12:19

runTime
 
Hey there Foamers, I have a question that pertains to runTime. For example, the following code: runTime.graphFormat();
runTime.setTime(Times[endTime],endTime);


It looks as though runTime is an object. So, is it an object, and if so of what class. I looked into doxygen but did not find much on runTime. Help Help

marupio October 16, 2010 13:06

Search for createTime.H - that has the constructor for runTime. It is a Time object, and is also the master of the objectRegistry. See http://openfoamwiki.net/index.php/Op...objectRegistry

Time is so large, they've managed to find convenient places to chop it up - it inherits a number of objects, all of which are exclusive to Time. TimePaths holds file name paths, TimeState holds the current value and the deltaT. And so forth.


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