A topoSetCellSource
to convert cellZone(s)
to cellSet
.
Operand | Type | Location |
---|---|---|
input | cellZone(s) | $FOAM_CASE/constant/polyMesh/cellZones |
output | cellSet | $FOAM_CASE/constant/polyMesh/sets/<set> |
Example of the zoneToCell
topoSet by using actions
sub-dictionary in system/topoSetDict
file:
{ // Mandatory (inherited) entries name <name>; type cellSet; action <action>; // Mandatory entries source zoneToCell; // Conditional mandatory entries // Select either of the below // Option-1 zones ( <cellZoneName0> <cellZoneName1> ... ); // Option-2 zone <cellZoneName>; }
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: zoneToCell | 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 zones | Names of input cellZones | wordList | conditional | - zone | Name of input cellZone | word | conditional | -
The order of precedence among the conditional mandatory entries from the highest to the lowest is zones
, and zone
.
Tutorial:
Source code:
History
Would you like to suggest an improvement to this page? | Create an issue |
Copyright © 2020 OpenCFD Ltd.