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

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

1 Name

setsToZones - Add pointZones/faceZones/cellZones to the mesh from similar named pointSets/faceSets/cellSets.

Valid versions: OF Version 21.png

2 Synopsis

setsToZones [OPTIONS]

3 Description

Convert pointSets/faceSets/cellSets in pointZones/faceZones/cellZones respectively. The sets can be generated using setSet or topoSet.

There is one catch: for faceZones you also need to specify a flip condition which basically denotes the side of the face. In this application, it reads a cellSet (xxxCells if xxx is the name of the faceSet) which is the masterCells of the zone.

There are lots of situations in which this will go wrong.

If one is not interested in sideNess specify the -noFlipMap command line option.


Ignore orientation of faceSet


Exclude the 0 directory from the times list

-time RANGES

Select time steps. RANGES follows the time selection rules


Apply only on the latest time available


Include the constant directory in the times list


Run the utility in parallel

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

Directories through which the data are distributed

-region NAME

Specify a mesh region by its NAME

-case DIR

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


Skip the execution of the functionObjects


Display the help and exit

This utility is used in the following tutorials:

  • lagrangian/porousExplicitSourceReactingParcelFoam/filter
  • multiphase/MRFInterFoam/mixerVessel2D
  • multiphase/MRFMultiphaseInterFoam/mixerVessel2D
  • multiphase/multiphaseEulerFoam/mixerVessel2D