OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

decomposePar.C File Reference

Automatically decomposes a mesh and fields of a case for parallel execution of OpenFOAM. More...

Go to the source code of this file.


Detailed Description

Automatically decomposes a mesh and fields of a case for parallel execution of OpenFOAM.

Original source file decomposePar.C

Usage
  • decomposePar [OPTION]

Parameters:
-cellDist 
Write the cell distribution as a labelList for use with 'manual' decomposition method and as a volScalarField for post-processing.
-region regionName
Decompose named region. Does not check for existence of processor*.
-copyUniform 
Copy any uniform directories too.
-fields 
Use existing geometry decomposition and convert fields only.
-filterPatches 
Remove empty patches when decomposing the geometry.
-force 
Remove any existing processor subdirectories before decomposing the geometry.
-ifRequired 
Only decompose the geometry if the number of domains has changed from a previous decomposition. No processor subdirectories will be removed unless the -force option is also specified. This option can be used to avoid redundant geometry decomposition (eg, in scripts), but should be used with caution when the underlying (serial) geometry or the decomposition method etc. have been changed between decompositions.

Definition in file decomposePar.C.

Copyright © 2000-2009 OpenCFD Ltd