Setting up fields in OpenFoam
Hi....m very new to OpenFoam................. can sm1 tell me what does.......The last two lines of the following does????
IOdictionary transportProperties ( IOobject ( "transportProperties", runTime.constant(), mesh, IOobject::MUST_READ_IF_MODIFIED, IOobject::NO_WRITE ) ); |
Hi AB08,
They basically do what they say. You are creating an IOobject with the properties that: IOobject::MUST_READ_IF_MODIFIED: if you change the file during the simulation, it is read again automatically IOobject::NO_WRITE: the IOdictionary is never written automatically. Basically meaning that OpenFOAM will not overwrite your input file. Cheers, Lieven |
Thanx a lot Lieven........ :)
|
All times are GMT -4. The time now is 04:40. |