redistributePar.C File Reference

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

Go to the source code of this file.

Detailed Description

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

Original source file redistributePar.C

Must be run on maximum number of source and destination processors. Balances mesh and writes new mesh to new time directory.

Usage
Parameters
-regionregionName
Distribute named region.
-decompose
Remove any existing processor subdirectories and decomposes the geometry. Equivalent to running without processor subdirectories.
-reconstruct
Reconstruct geometry (like reconstructParMesh). Equivalent to setting numberOfSubdomains 1 in the decomposeParDict.
-newTimes
(in combination with -reconstruct) reconstruct only new times.
-cellDist
Write the cell distribution as a labelList, for use with 'manual' decomposition method or as a volScalarField for post-processing.

Definition in file redistributePar.C.