A topoSetFaceSource
to select faces with any point or any edge within a given pointSet(s)
.
Operand | Type | Location |
---|---|---|
input | pointSet(s) | $FOAM_CASE/constant/polyMesh/sets/<set> |
output | faceSet | $FOAM_CASE/constant/polyMesh/sets/<set> |
Example of the pointToFace
topoSet by using actions
sub-dictionary in system/topoSetDict
file:
{ // Mandatory (inherited) entries name <name>; type faceSet; action <action>; // Mandatory entries source pointToFace; option <option>; // Conditional mandatory entries // Select either of the below // Option-1 sets ( <pointSetName1> <pointSetName2> ... ); // Option-2 set <pointSetName>; }
where the entries mean:
Property | Description | Type | Required | Default |
---|---|---|---|---|
name | Name of faceSet | word | yes | - |
type | Type name: faceSet | word | yes | - |
action | Action applied on faces - see below | word | yes | - |
source | Source name: pointToFace | word | yes | - |
option | Selection type - see below | word | yes | - |
Options for the action
entry:
new | Create a new faceSet from selected faces add | Add selected faces into this faceSet subtract | Remove selected faces from this faceSet
Options for the option
entry:
any | Any point in the pointSet edge | Two consecutive points (an edge) in the pointSet all | All points in the pointSet
Options for the conditional mandatory entries:
Entry | Description | Type | Required | Default sets | Names of input pointSets | wordList | conditional | - set | Name of input pointSet | word | conditional | -
The order of precedence among the conditional mandatory entries from the highest to the lowest is sets
, and set
.
Tutorial:
Source code:
History
Would you like to suggest an improvement to this page? | Create an issue |
Copyright © 2020 OpenCFD Ltd.