A topoSetSource
to convert a cellSet
to a cellZone
(and associated cellSet
).
Operand | Type | Location |
---|---|---|
input | cellSet | $FOAM_CASE/constant/polyMesh/sets/<set> |
output 1 | cellSet | $FOAM_CASE/constant/polyMesh/sets/<set> |
output 2 | cellZone | $FOAM_CASE/constant/polyMesh/cellZones |
Example of the setToCellZone
topoSet by using actions
sub-dictionary in system/topoSetDict
file:
{ // Mandatory (inherited) entries name <name>; type cellSet; action <action>; // Mandatory entries source setToCellZone; 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: setToCellZone | word | yes | - |
set | Name of input cellSet | word | yes | - |
Options for the action
entry:
new | Create a new cellZone from selected cells of a cellSet add | Add selected cells of a cellSet into this cellZone subtract | Remove selected cells of a cellSet from this cellZone
Tutorial:
Source code:
History
Would you like to suggest an improvement to this page? | Create an issue |
Copyright © 2020 OpenCFD Ltd.