CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Reading controlDict

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 6, 2007, 11:35
Default Hi everybody, is it possibl
  #1
New Member
 
diego n.
Join Date: Mar 2009
Posts: 17
Rep Power: 17
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,

Diego
diegon is offline   Reply With Quote

Old   February 6, 2007, 12:31
Default Hi, You could use runTime.st
  #2
Senior Member
 
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 552
Rep Power: 25
philippose will become famous soon enough
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
philippose is offline   Reply With Quote

Reply


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 Off
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 04:25
ControlDict for snappyHexMesh adn interFoam erik023 OpenFOAM Running, Solving & CFD 3 November 10, 2008 18:27
FoamXException by change in controlDict vladimir OpenFOAM Pre-Processing 2 March 14, 2007 14: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 09:41.