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

mergeOrSplitBaffles.C File Reference

Detects faces that share points (baffles). Either merge them or duplicate the points. More...


Detailed Description

Detects faces that share points (baffles). Either merge them or duplicate the points.

Note:
  • can only handle pairwise boundary faces. So three faces using the same points is not handled (is illegal mesh anyway)
  • there is no option to only split/merge some baffles.
  • surfaces consisting of duplicate faces can be topologically split if the points on the interior of the surface cannot walk to all the cells that use them in one go.
  • Parallel operation (where duplicate face is perpendicular to a coupled boundary) is supported but not really tested. (Note that coupled faces themselves are not seen as duplicate faces)
Usage
  • mergeOrSplitBaffles [OPTIONS]
Parameters:
-split
Split duplicate surfaces.
-overwrite
Overwrite existing data.
-detectOnly
Do no processing.
-case<dir>
Case directory.
-parallel
Run in parallel.
-help
Display help message.
-doc
Display Doxygen API documentation page for this application.
-srcDoc
Display Doxygen source documentation page for this application.

Definition in file mergeOrSplitBaffles.C.

#include "src/OpenFOAM/global/argList/argList.H"
#include "src/OpenFOAM/db/Time/Time.H"
#include "src/OpenFOAM/meshes/polyMesh/syncTools/syncTools.H"
#include "src/meshTools/sets/topoSets/faceSet.H"
#include "src/meshTools/sets/topoSets/pointSet.H"
#include "src/meshTools/meshTools/meshTools.H"
#include "src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.H"
#include "src/dynamicMesh/polyTopoChange/polyTopoChange/removeObject/polyRemoveFace.H"
#include "src/dynamicMesh/polyTopoChange/polyTopoChange/modifyObject/polyModifyFace.H"
#include "src/OpenFOAM/meshes/primitiveMesh/primitivePatch/indirectPrimitivePatch.H"
#include "src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/processor/processorPolyPatch.H"
#include "src/dynamicMesh/polyTopoChange/polyTopoChange/localPointRegion.H"
#include "src/dynamicMesh/polyTopoChange/polyTopoChange/duplicatePoints.H"
#include "src/OpenFOAM/fields/ReadFields/ReadFields.H"
#include "src/finiteVolume/fields/volFields/volFields.H"
#include "src/finiteVolume/fields/surfaceFields/surfaceFields.H"
#include "src/OpenFOAM/include/addRegionOption.H"
#include "src/OpenFOAM/include/setRootCase.H"
#include "src/OpenFOAM/include/createTime.H"
#include "src/OpenFOAM/include/createNamedMesh.H"
Include dependency graph for mergeOrSplitBaffles.C:

Go to the source code of this file.