TopoSet

From OpenFOAMWiki
Revision as of 20:54, 19 July 2012 by Rudolf.hellmuth (Talk | contribs)

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

Valid versions: OF Version 21.png

topoSet is a utility that collects points, faces and cells in sets, based on different criteria, for later usage with different other utilities like subSetMesh and setSet.

1 Dictionary

The default dictionary is located in

/system/topoSetDict

Usually dictionaries created elsewhere have the extension .topoSet (i.e. myTopoSet.topoSet).


The dictionary looks like:

actions
(
  {
    name    selectedCells;
    type    cellSet;
    action  new;
    source  boxToCell;
    sourceInfo
    {
      box (x0 y0 z0) (x1 y1 z1);
    }
  }
  {
    name    selectedFaces;
    type    faceSet;
    action  new;
    source  patchToFace;
    sourceInfo
    {
      name bottomWall;
    }
  }
);

1.1 List of sources

  • pointToCell
  • boxToCell
  • zoneToPoint
  • surfaceToCell
  • nearestToCell
  • zoneToCell
  • cellToFace
  • pointToFace
  • normalToFace
  • boxToFace
  • rotatedBoxToCell
  • fieldToCell
  • cellToPoint
  • zoneToFace
  • nbrToCell
  • patchToFace
  • labelToCell
  • pointToPoint
  • faceToCell
  • boxToPoint
  • labelToPoint
  • boundaryToFace
  • faceToPoint
  • labelToFace
  • shapeToCell
  • faceToFace
  • cellToCell
  • surfaceToPoint

2 Usage

topoSet

or

topoSet myTopoSet.topoSet

results in sets stored in

/constants/polyMesh/sets