SubsetMesh

From OpenFOAMWiki

1 Name

subSetMesh - Selects a section of mesh based on a cellSet.

Valid versions: OF Version 21.png

2 Synopsis

subSetMesh [OPTIONS] CELLSET

3 Description

Select a sub-part of the mesh to be the mesh. The sub-part is specified by a cellSet name CELLSET. The latter can be generated using setSet or topoSet for example.

-patch NAME

Add exposed internal faces to specified patch instead of to oldInternalFaces

-overwrite

Overwrite the existing mesh files

-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:

  • incompressible/potentialFreeSurfaceFoam/oscillatingBox
  • lagrangian/reactingParcelFilmFoam/hotBoxes
  • mesh/moveDynamicMesh/simpleHarmonicMotion
  • multiphase/interDyMFoam/ras/damBreakWithObstacle
  • multiphase/interDyMFoam/ras/floatingObject