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

splitCells.C File Reference

Utility to split cells with flat faces. More...


Detailed Description

Utility to split cells with flat faces.

Uses a geometric cut with a plane dividing the edge angle into two so might produce funny cells. For hexes it will use by default a cut from edge onto opposite edge (i.e. purely topological).

Options:

  • split cells from cellSet only
  • use geometric cut for hexes as well

The angle is the angle between two faces sharing an edge as seen from inside each cell. So a cube will have all angles 90. If you want to split cells with cell centre outside use e.g. angle 200

Usage
  • splitCells [OPTIONS] <edge angle [0..360]>
Parameters:
\<edgeangle [0..360]>
Todo:
Detailed description of argument.
Parameters:
-geometry
Geometry based splitting for hex cells.
-tol<tolerance>
Edge snap tolerance.
-set<cellSet name>
Cell set to split.
-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 splitCells.C.

#include "src/OpenFOAM/global/argList/argList.H"
#include "src/OpenFOAM/db/Time/Time.H"
#include "src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.H"
#include "src/dynamicMesh/polyTopoChange/polyTopoChanger/polyTopoChanger.H"
#include "src/OpenFOAM/meshes/polyMesh/mapPolyMesh/mapPolyMesh.H"
#include "src/OpenFOAM/meshes/polyMesh/polyMesh.H"
#include "src/dynamicMesh/meshCut/cellCuts/cellCuts.H"
#include "src/meshTools/sets/topoSets/cellSet.H"
#include "src/OpenFOAM/meshes/meshShapes/cellModeller/cellModeller.H"
#include "src/dynamicMesh/meshCut/meshModifiers/meshCutter/meshCutter.H"
#include "src/OpenFOAM/primitives/mathematicalConstants/mathematicalConstants.H"
#include "src/dynamicMesh/meshCut/cellLooper/geomCellLooper.H"
#include "src/OpenFOAM/meshes/primitiveShapes/plane/plane.H"
#include "src/dynamicMesh/meshCut/edgeVertex/edgeVertex.H"
#include "src/meshTools/meshTools/meshTools.H"
#include "src/OpenFOAM/containers/Lists/ListOps/ListOps.H"
#include "src/OpenFOAM/include/setRootCase.H"
#include "src/OpenFOAM/include/createTime.H"
#include "src/OpenFOAM/include/createPolyMesh.H"
Include dependency graph for splitCells.C:

Go to the source code of this file.