SingleCellMesh

From OpenFOAMWiki
Revision as of 20:20, 3 September 2012 by Fcollonv (Talk | contribs)

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

1 Name

singleCellMesh - Removes all but one cells of the mesh. Used to generate mesh and fields that can be used for boundary-only data. Might easily result in illegal mesh though so only look at boundaries in paraview.

Valid versions: OF Version 21.png

2 Synopsis

singleCellMesh [OPTIONS]

3 Description

Reads all fields and maps them to a mesh with all internal faces removed (singleCellFvMesh) which gets written to region "singleCell".

Used to generate mesh and fields that can be used for boundary-only data.

Might easily result in illegal mesh though so only look at boundaries in paraview.

Remarks:

  • All external faces are kept. So there are more than 6 external faces.
  • The reduced mesh is written in the time folders TimeFolder/singleCell

-noZero

Exclude the 0 directory from the times list

-time RANGES

Select time steps. RANGES follows the time selection rules

-latestTime

Apply only on the latest time available

-constant

Include the constant directory in the times list

-parallel

Run the utility in parallel

-roots "(DIR1 [...DIRN])"

Directories through which the data are distributed

-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