A topoSetSource to select all faces whose cell-cell centre vector intersects with a given searchableSurface.


Operand Type Location
input triSurface $FOAM_CASE/constant/triSurface/<file>
output 1 faceSet $FOAM_CASE/constant/polyMesh/sets/<set>
output 2 faceZone $FOAM_CASE/constant/polyMesh/faceZones


Example of the searchableSurfaceToFaceZone topoSet by using actions sub-dictionary in system/topoSetDict file:

    // Mandatory (inherited) entries
    name        <name>;
    type        faceZoneSet;
    action      <action>;

    // Mandatory entries
    source      searchableSurfaceToFaceZone;
    surfaceType <surfaceTypeName>;

    // Optional entries
    surfaceName <surfaceName>;

where the entries mean:

Property Description Type Required Default
name Name of faceZone word yes -
type Type name: faceZone word yes -
action Action applied on faces - see below word yes -
source Source name: searchableSurfaceToFaceZone word yes -
surfaceType The searchable surface type word yes -
surfaceName Name for the IOobject word no mesh-name

Options for the action entry:

new      | Create a new faceZone from selected faces of a faceZone
add      | Add selected faces of a faceZone into this faceZone
subtract | Remove selected faces of a faceZone from this faceZone

Further information


Source code:


  • Introduced in version 2.2.0

Would you like to suggest an improvement to this page? Create an issue

Copyright © 2020 OpenCFD Ltd.

Licensed under the Creative Commons License BY-NC-ND Creative Commons License