FreeFOAM The Cross-Platform CFD Toolkit
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 dependency graph for splitCells.C:

Go to the source code of this file.