A topoSetSource to convert a faceSet to a faceZone (and associated faceSet).


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


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

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

    // Mandatory entries
    source      setToFaceZone;
    faceSet     <faceSetName>;

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: setToFaceZone word yes -
faceSet Name of input faceSet word yes -

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

Notes on entries

  • The use of keyword faceSet is consistent with the setsToFaceZone, but inconsistent with setToCellZone and setToPointZone. Both of which use set instead.

Further information


Source code:


  • Introduced in version 1.7.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