|
[Sponsors] |
Is it possible to overwrite parameters read from controlDict? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 8, 2014, 10:02 |
Is it possible to overwrite parameters read from controlDict?
|
#1 |
Member
CFDUser
Join Date: Mar 2014
Posts: 59
Rep Power: 13 |
Dear All,
Is it possible to overwrite parameters read from controlDict? Thanks & Regards, CFDUser_ |
|
October 9, 2014, 16:30 |
|
#2 |
Senior Member
Kyle Mooney
Join Date: Jul 2009
Location: San Francisco, CA USA
Posts: 323
Rep Power: 17 |
Most likely! What are you trying to over-write?
|
|
October 11, 2014, 10:29 |
|
#3 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Quick answer: Look for the methods present in and inherited by the class "Time", on the Doxygen generated code documentation, which is also available online: http://foam.sourceforge.net/docs/cpp/
The variable that instantiates this class "Time" is/was usually called "runTime". I'm not providing a direct link to said page, because the link will be outdated as soon as a new version of OpenFOAM is released My question was going to be the same |
|
November 16, 2014, 15:22 |
|
#4 |
Member
CFDUser
Join Date: Mar 2014
Posts: 59
Rep Power: 13 |
Dear All,
This is not a problem for me any more but I would like to write simple answer which will make readers think in proper way. Question is "Is it possible to overwrite parameters read from controlDict? " If I were one of the replier, my answer will be something like this: "controlDict variables are read with const reference means cannot be modified during simulation. Also the are read with readIfModified tag, means after every time step it will check for if modified condition and update automatically. Why/what you want to modify?" Thanks & Regards, CFDUser_ |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
how do we read meshes? | yzeyue | Main CFD Forum | 1 | March 11, 2014 06:53 |
[PyFoam] read result values with pyFoam | ilpaso | OpenFOAM Community Contributions | 6 | February 20, 2014 16:46 |
Parameters for multigrid solver | HaZe | OpenFOAM Running, Solving & CFD | 3 | January 28, 2012 02:05 |
999999 (../../src/mpsystem.c@1123):mpt_read: failed:errno = 11 | UDS_rambler | FLUENT | 2 | November 22, 2011 09:46 |
Problem in running ICEM grid in Openfoam | Tarak | OpenFOAM | 6 | September 9, 2011 17:51 |