SetsToZones

From OpenFOAMWiki

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.


-noFlipMap

Ignore orientation of faceSet

-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

-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

-noFunctionObjects

Skip the execution of the functionObjects

-help

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