freefoam-redistributeMeshPar1
Redistributes existing decomposed mesh and fields according to the current settings in the decomposepardict file.
Usage
freefoam redistributeMeshPar
[-mergeTol
<number>]
[-srcDoc]
[-doc]
[-help]
[-parallel]
[-case
<dir>]
Overview
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
Options
-
-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.
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)
Freefoam
Part of the freefoam(1) suite.