Automatically decomposes a mesh and fields of a case for parallel execution of OpenFOAM. More...
Automatically decomposes a mesh and fields of a case for parallel execution of OpenFOAM.
-cellDist | Write the cell distribution as a labelList for use with 'manual' decomposition method and as a volScalarField for post-processing. |
-region | regionName Decompose named region. Does not check for existence of processor*. |
-copyUniform | Copy any uniform directories too. |
-fields | Use existing geometry decomposition and convert fields only. |
-filterPatches | Remove empty patches when decomposing the geometry. |
-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. |
-case | <dir> Case directory. |
-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 decomposePar.C.
#include "src/OpenFOAM/include/OSspecific.H"
#include "src/finiteVolume/cfdTools/general/include/fvCFD.H"
#include "src/OpenFOAM/db/IOobjectList/IOobjectList.H"
#include "src/finiteVolume/fields/fvPatchFields/constraint/processor/processorFvPatchFields.H"
#include "applications/utilities/parallelProcessing/decomposePar/domainDecomposition.H"
#include "src/OpenFOAM/fields/Fields/labelField/labelIOField.H"
#include "src/OpenFOAM/fields/Fields/scalarField/scalarIOField.H"
#include "src/OpenFOAM/fields/Fields/vectorField/vectorIOField.H"
#include "src/OpenFOAM/fields/Fields/sphericalTensorField/sphericalTensorIOField.H"
#include "src/OpenFOAM/fields/Fields/symmTensorField/symmTensorIOField.H"
#include "src/OpenFOAM/fields/Fields/tensorField/tensorIOField.H"
#include "src/OpenFOAM/fields/GeometricFields/pointFields/pointFields.H"
#include "applications/utilities/parallelProcessing/decomposePar/readFields.H"
#include "applications/utilities/parallelProcessing/decomposePar/fvFieldDecomposer.H"
#include "applications/utilities/parallelProcessing/decomposePar/pointFieldDecomposer.H"
#include "applications/utilities/parallelProcessing/decomposePar/lagrangianFieldDecomposer.H"
#include "src/OpenFOAM/include/addRegionOption.H"
#include "src/OpenFOAM/include/setRootCase.H"
#include "src/OpenFOAM/include/createTime.H"
Go to the source code of this file.