A topoSetCellSource
to select cells whose cell centre enclosed by a given searchableSurface
.
Operand | Type | Location |
---|---|---|
input | triSurfaceMesh | $FOAM_CASE/constant/triSurface/<file> |
output | cellSet | $FOAM_CASE/constant/polyMesh/sets/<set> |
Example of the searchableSurfaceToCell
topoSet by using actions
sub-dictionary in system/topoSetDict
file:
{ // Mandatory (inherited) entries name <name>; type cellSet; action <action>; // Mandatory entries source searchableSurfaceToCell; surfaceType <surfaceTypeName>; // Optional entries surfaceName <surfaceName>; }
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: searchableSurfaceToCell | word | yes | - |
surfaceType | The searchable surface type | word | yes | - |
surfaceName | Name for the IOobject | word | no | mesh-name |
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
Tutorial:
Source code:
History
Would you like to suggest an improvement to this page? | Create an issue |
Copyright © 2020 OpenCFD Ltd.