SplitCells

From OpenFOAMWiki
Revision as of 09:36, 13 October 2012 by Fcollonv (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

1 Name

splitCells - Utility to split cells with flat faces.

Valid versions: OF Version 21.png

2 Synopsis

splitCells [OPTIONS] EDGEANGLE

3 Description

Utility to split cells with flat faces. EDGEANGLE is expressed in degrees and takes a value in [0..360]

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

-geometry

Use geometric cut for hexes as well

-set NAME

Split only cells of the specified cellSet NAME

-tol SCALAR

Edge snap tolerance (default 0.2)

-overwrite

Overwrite the existing mesh files

-case DIR

Execute the command on the case directory DIR. If not provided, use the current directory

-noFunctionObjects

Skip the execution of the functionObjects

-help

Display the help and exit