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

splitMesh.C File Reference

Splits mesh by making internal faces external. More...


Detailed Description

Splits mesh by making internal faces external.

Uses attachDetach. Generates a meshModifier of the form:

Splitter { type attachDetach; faceZoneName membraneFaces; masterPatchNamemasterPatch; slavePatchName slavePatch; triggerTimes runTime.value(); }

so will detach at the current time and split all faces in membraneFaces into masterPatch and slavePatch (which have to be present but of 0 size)

Usage
  • splitMesh [OPTIONS] <face set> <masterPatch> <slavePatch>
Parameters:
\<faceset>
Todo:
Detailed description of argument.
Parameters:
\<masterPatch\>
Todo:
Detailed description of argument.
Parameters:
\<slavePatch\>
Todo:
Detailed description of argument.
Parameters:
-overwrite
Overwrite existing data.
-case<dir>
Case directory.
-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 splitMesh.C.

#include "src/OpenFOAM/global/argList/argList.H"
#include "src/OpenFOAM/meshes/polyMesh/polyMesh.H"
#include "src/OpenFOAM/db/Time/Time.H"
#include "src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.H"
#include "src/OpenFOAM/meshes/polyMesh/mapPolyMesh/mapPolyMesh.H"
#include "src/meshTools/sets/topoSets/faceSet.H"
#include "src/dynamicMesh/attachDetach/attachDetach.H"
#include "src/dynamicMesh/polyTopoChange/attachPolyTopoChanger/attachPolyTopoChanger.H"
#include "applications/utilities/mesh/manipulation/splitMesh/regionSide.H"
#include "src/OpenFOAM/meshes/primitiveMesh/primitivePatch/primitiveFacePatch.H"
#include "src/OpenFOAM/include/setRootCase.H"
#include "src/OpenFOAM/include/createTime.H"
#include "src/OpenFOAM/include/createPolyMesh.H"
Include dependency graph for splitMesh.C:

Go to the source code of this file.