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

decomposePar.C File Reference

Automatically decomposes a mesh and fields of a case for parallel execution of OpenFOAM. More...


Detailed Description

Automatically decomposes a mesh and fields of a case for parallel execution of OpenFOAM.

Usage
  • decomposePar [OPTION]
Parameters:
-cellDist
Write the cell distribution as a labelList for use with 'manual' decomposition method and as a volScalarField for post-processing.
-regionregionName
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"
Include dependency graph for decomposePar.C:

Go to the source code of this file.