Utility to change dictionary entries, e.g. can be used to change the patch type in the field and polyMesh/boundary files. More...
Go to the source code of this file.
Utility to change dictionary entries, e.g. can be used to change the patch type in the field and polyMesh/boundary files.
Original source file changeDictionary.C
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 { type zeroGradient; } movingWall // entry to change { type fixedValue; value uniform 123.45; } } } }
Replacement entries starting with '~' will remove the entry.
-literalRE | Do not interpret regular expressions or patchGroups; treat them as any other keyword. |
-enableFunctionEntries | By default all dictionary preprocessing of fields is disabled |
-disablePatchGroups | By default all keys are also checked for being patchGroups |
Definition in file changeDictionary.C.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.