Read_if_modified
Hi All,
In createFields.H, I write the following lines: IOdictionary additionalControlsDict ( IOobject ( "additionalControls", runTime.constant(), mesh, IOobject::MUST_READ_IF_MODIFIED, IOobject::NO_WRITE ) ); dimensionedScalar relax(additionalControlsDict.lookup("relax")); Then in I use this quantity in fireFoam.C. However, when I modify the value of this quantity, I found that the solver did not use the new at all, and it still used the old one. Could anybody tell me if there is something I forget to change in the code? Thank you very much! |
All times are GMT -4. The time now is 04:32. |