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.

Can optionally run in decompose/reconstruct mode to decompose/reconstruct mesh and fields.

Usage
redistributePar [OPTION]

Options:

  • -decompose
    Remove any existing processor subdirectories and decomposes the mesh. Equivalent to running without processor subdirectories.
  • -reconstruct
    Reconstruct mesh and fields (like reconstructParMesh+reconstructPar).
  • -newTimes
    (in combination with -reconstruct) reconstruct only new times.
  • -dry-run
    (not in combination with -reconstruct) Test without actually decomposing.
  • -cellDist
    not in combination with -reconstruct) Write the cell distribution as a labelList, for use with 'manual' decomposition method and as a volScalarField for visualization.
  • -region <regionName>
    Distribute named region.
  • -allRegions
    Distribute all regions in regionProperties. Does not check for existence of processor*.

Definition in file redistributePar.C.