A topoSetCellSource
to select all the cells from given cellSet(s)
.
Operand | Type | Location |
---|---|---|
input | cellSet(s) | $FOAM_CASE/constant/polyMesh/sets/<set> |
output | cellSet | $FOAM_CASE/constant/polyMesh/sets/<set> |
Example of the cellToCell
topoSet by using actions
sub-dictionary in system/topoSetDict
file:
{ // Mandatory (inherited) entries name <name>; type cellSet; action <action>; // Mandatory entries source cellToCell; // Conditional mandatory entries // Select either of the below // Option-1 sets ( <cellSetName1> <cellSetName2> ... ); // Option-2 set <cellSetName>; }
where the entries mean:
Property | Description | Type | Required | Default |
---|---|---|---|---|
name | Name of cellSet | word | yes | - |
type | Type name: cellSet | word | yes | - |
action | Action applied on cells - see below | word | yes | - |
source | Source name: cellToCell | word | yes | - |
Options for the action
entry:
new | Create a new cellSet from selected cells add | Add selected cells into this cellSet subtract | Remove selected cells from this cellSet
Options for the conditional mandatory entries:
Entry | Description | Type | Required | Default sets | Names of input cellSets | wordList | conditional | - set | Name of input cellSet | 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.