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 also work like decomposePar:

    # Create empty processor directories (have to exist for argList)
    mkdir processor0
            ..
    mkdir processorN

    # Copy undecomposed polyMesh
    cp -r constant processor0

    # Distribute
    mpirun -np ddd redistributePar -parallel

Definition in file redistributePar.C.