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:
# Create empty processors mkdir processor0 .. mkdir processorN
# Copy undecomposed polyMesh cp -r constant processor0
# Distribute 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"
Go to the source code of this file.