|
[Sponsors] |
June 21, 2013, 05:34 |
Setting up fields in OpenFoam
|
#1 |
New Member
Abhiroop
Join Date: Jun 2013
Posts: 26
Rep Power: 12 |
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 ) ); |
|
June 21, 2013, 06:36 |
|
#2 |
Senior Member
Lieven
Join Date: Dec 2011
Location: Leuven, Belgium
Posts: 299
Rep Power: 22 |
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 |
|
June 21, 2013, 15:41 |
|
#3 |
New Member
Abhiroop
Join Date: Jun 2013
Posts: 26
Rep Power: 12 |
Thanx a lot Lieven........
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to Map Fields in openFOAM using the utility | Alhasan | OpenFOAM Running, Solving & CFD | 42 | January 15, 2018 08:52 |
Help with setting up an OpenFoam case | plucas | CFD Freelancers | 1 | February 27, 2013 05:14 |
separate .vtk files + OpenFOAM fields: synchronous time | tomislav_maric | OpenFOAM Post-Processing | 4 | November 21, 2011 09:34 |
OpenFOAM Debian packaging current status problems and TODOs | oseen | OpenFOAM Installation | 9 | August 26, 2007 13:50 |
Warning 097- | AB | Siemens | 6 | November 15, 2004 04:41 |