A topoSetSource
to select faces based on usage in a faceSet
, where the normal vector is used to orient the faces.
Operand | Type | Location |
---|---|---|
input | faceSet | $FOAM_CASE/constant/polyMesh/sets/<set> |
output | faceZone | $FOAM_CASE/constant/polyMesh/faceZones |
Example of the setAndNormalToFaceZone
topoSet by using actions
sub-dictionary in system/topoSetDict
file:
{ // Mandatory (inherited) entries name <name>; type faceZoneSet; action <action>; // Mandatory entries source setAndNormalToFaceZone; faceSet <faceSetName>; normal (1 0 0); }
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: setAndNormalToFaceZone | word | yes | - |
faceSet | Name of input faceSet | word | yes | - |
normal | The normal vector for orientation | vector | 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
Tutorial:
Source code:
History
Would you like to suggest an improvement to this page? | Create an issue |
Copyright © 2020 OpenCFD Ltd.