A topoSetSource
to select all faces in a given faceSet
, which are oriented in slave cells of a given cellSet
.
Operand | Type | Location |
---|---|---|
input 1 | faceSet | $FOAM_CASE/constant/polyMesh/sets/<set> |
input 2 | cellSet | $FOAM_CASE/constant/polyMesh/sets/<set> |
output | faceZone | $FOAM_CASE/constant/polyMesh/faceZones |
Example of the setsToFaceZone
topoSet by using actions
sub-dictionary in system/topoSetDict
file:
{ // Mandatory (inherited) entries name <name>; type faceZoneSet; action <action>; // Mandatory entries source setsToFaceZone; faceSet <faceSetName>; cellSet <cellSetName>; // Optional entries flip false; }
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: setsToFaceZone | word | yes | - |
faceSet | Name of input faceSet | word | yes | - |
cellSet | Name of input cellSet containing the slave cells | word | yes | - |
flip | Flag to select master/slave cells | bool | no | false |
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.