Is it possible to overwrite parameters read from controlDict?
Dear All,
Is it possible to overwrite parameters read from controlDict? Thanks & Regards, CFDUser_ |
Most likely! What are you trying to over-write?
|
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 :( Quote:
|
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_ |
All times are GMT -4. The time now is 16:23. |