FreeFOAM The Cross-Platform CFD Toolkit
redistributeMeshPar.C File Reference

Redistributes existing decomposed mesh and fields according to the current settings in the decomposeParDict file. More...


Detailed Description

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

Note:
You might want to unset FOAM_SIGFPE and FOAM_SETNAN since patchfields that hold additional data might not be initialised (since mapped from 0 faces)
Usage
  • redistributeMeshPar [OPTIONS]
Parameters:
-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 dependency graph for redistributeMeshPar.C:

Go to the source code of this file.