Redistributes existing decomposed mesh and fields according to the current settings in the decomposeParDict file. More...
Redistributes existing decomposed mesh and fields according to the current settings in the decomposeParDict file.
Must be run on maximum number of source and destination processors. Balances mesh and writes new mesh to new time directory.
Can also work like decomposePar:
mkdir processor0 .. mkdir processorN
cp -r constant processor0
mpirun -np ddd redistributeMeshPar -parallel
-mergeTol | <number> Relative merge distance. |
-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 redistributeMeshPar.C.
#include "src/finiteVolume/fvMesh/fvMesh.H"
#include "src/decompositionMethods/decompositionMethods/decompositionMethod/decompositionMethod.H"
#include "src/OpenFOAM/db/IOstreams/Pstreams/PstreamReduceOps.H"
#include "src/finiteVolume/cfdTools/general/include/fvCFD.H"
#include "src/dynamicMesh/fvMeshDistribute/fvMeshDistribute.H"
#include "src/OpenFOAM/meshes/polyMesh/mapPolyMesh/mapDistribute/mapDistributePolyMesh.H"
#include "src/OpenFOAM/db/IOobjectList/IOobjectList.H"
#include "src/OpenFOAM/include/addRegionOption.H"
#include "src/OpenFOAM/include/setRootCase.H"
#include "src/OpenFOAM/include/createTime.H"