CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Running, Solving & CFD

Reading controlDict

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   February 6, 2007, 12:35
Default Hi everybody, is it possibl
New Member
diego n.
Join Date: Mar 2009
Posts: 17
Rep Power: 10
diegon is on a distinguished road
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,

diegon is offline   Reply With Quote

Old   February 6, 2007, 13:31
Default Hi, You could use
Senior Member
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 549
Rep Power: 18
philippose will become famous soon enough
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?


philippose is offline   Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Specifying probe locations in controlDict using dictionary file vincent OpenFOAM Bugs 3 December 31, 2008 05:25
ControlDict for snappyHexMesh adn interFoam erik023 OpenFOAM Running, Solving & CFD 3 November 10, 2008 19:27
FoamXException by change in controlDict vladimir OpenFOAM Pre-Processing 2 March 14, 2007 15:32
Thermcouple Reading Mohan Main CFD Forum 1 July 24, 2005 21:44
Non-reading of files reuit Siemens 2 September 11, 2004 14:46

All times are GMT -4. The time now is 11:23.