FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

surfaceRedistributePar.C File Reference

(Re)distribution of triSurface. Either takes an undecomposed surface or an already decomposed surface and redistribute it so each processor has all triangles that overlap its mesh. More...


Detailed Description

(Re)distribution of triSurface. Either takes an undecomposed surface or an already decomposed surface and redistribute it so each processor has all triangles that overlap its mesh.

Usage
  • surfaceRedistributePar [OPTION]
Parameters:
\<triSurfaceMesh\>
Tri-Surface mesh to read.
\<distributionType\>
Todo:
Detailed description.
Parameters:
-keepNonMapped
Preserve surface outside of mesh bounds.
-case<dir>
Specify the case directory
-parallel
Run the case in parallel
-help
Display short usage message
-doc
Display Doxygen documentation page
-srcDoc
Display source code
Note:
  • best decomposition option is hierarchGeomDecomp since guarantees square decompositions.
  • triangles might be present on multiple processors.
  • merging uses geometric tolerance so take care with writing precision.

Definition in file surfaceRedistributePar.C.

#include "src/meshTools/octree/treeBoundBox.H"
#include "src/OpenFOAM/containers/Lists/FixedList/FixedList.H"
#include "src/OpenFOAM/global/argList/argList.H"
#include "src/OpenFOAM/db/Time/Time.H"
#include "src/OpenFOAM/meshes/polyMesh/polyMesh.H"
#include "src/meshTools/searchableSurface/distributedTriSurfaceMesh.H"
#include "src/OpenFOAM/meshes/polyMesh/mapPolyMesh/mapDistribute/mapDistribute.H"
#include "src/triSurface/triSurfaceFields/triSurfaceFields.H"
#include "src/OpenFOAM/primitives/Pair/Pair.H"
#include "src/OpenFOAM/include/setRootCase.H"
#include "src/OpenFOAM/include/createTime.H"
#include "src/OpenFOAM/include/createPolyMesh.H"
Include dependency graph for surfaceRedistributePar.C:

Go to the source code of this file.