FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

changeDictionary.C File Reference

Utility to change dictionary entries. More...


Detailed Description

Utility to change dictionary entries.

Reads dictionaries (fields) and entries to change from a dictionary. E.g. to make the movingWall a fixedValue for p but all other Walls a zeroGradient boundary condition, the system/changeDictionaryDict would contain the following:

dictionaryReplacement
{
p   // field to change
{
boundaryField
{
".*Wall"// entry to change
{
typezeroGradient;
}
movingWall  // entry to change
{
typefixedValue;
value   uniform 123.45;
}
}
}
}
Usage
  • changeDictionary [OPTIONS]
Parameters:
-literalRE
Do not interpret regular expressions; treat them as any other keyword.
-region<name>
Only apply to named mesh region.
-case<dir>
Case directory.
-parallel
Run in parallel.
-help
Display help message.
-doc
Display Doxygen API documentation page for this application.
-srcDoc
Display Doxygen source documentation page for this application.

Definition in file changeDictionary.C.

#include "src/OpenFOAM/global/argList/argList.H"
#include "src/OpenFOAM/db/IOobjectList/IOobjectList.H"
#include "src/OpenFOAM/db/IOobjects/IOPtrList/IOPtrList.H"
#include "src/finiteVolume/fields/volFields/volFields.H"
#include "src/OpenFOAM/primitives/Lists/stringListOps.H"
#include "src/OpenFOAM/include/addRegionOption.H"
#include "src/OpenFOAM/include/setRootCase.H"
#include "src/OpenFOAM/include/createTime.H"
#include "src/OpenFOAM/include/createNamedMesh.H"
Include dependency graph for changeDictionary.C:

Go to the source code of this file.