Automatically decomposes a mesh and fields of a case for parallel execution of OpenFOAM.
More...
Go to the source code of this file.
Automatically decomposes a mesh and fields of a case for parallel execution of OpenFOAM.
Original source file decomposePar.C
- Usage
- decomposePar [OPTION]
Options:
- -cellDist
- Write the cell distribution as a labelList, for use with 'manual' decomposition method or as a volScalarField for post-processing.
- -region <regionName>
- Decompose named region. Does not check for existence of processor*.
- -allRegions
- Decompose all regions in regionProperties. Does not check for existence of processor*.
- -copyZero
- Copy 0 directory to processor* rather than decompose the fields.
- -copyUniform
- Copy any uniform directories too.
- -constant
- -time xxx:yyy
- Override controlDict settings and decompose selected times. Does not re-decompose the mesh i.e. does not handle moving mesh or changing mesh cases.
- -fields
- Use existing geometry decomposition and convert fields only.
- -noSets
- Skip decomposing cellSets, faceSets, pointSets.
- -force
- Remove any existing processor subdirectories before decomposing the geometry.
- -ifRequired
- Only decompose the geometry if the number of domains has changed from a previous decomposition. No processor subdirectories will be removed unless the -force option is also specified. This option can be used to avoid redundant geometry decomposition (eg, in scripts), but should be used with caution when the underlying (serial) geometry or the decomposition method etc. have been changed between decompositions.
- -dict <filename>
- Specify alternative dictionary for the decomposition.
Definition in file decomposePar.C.