A topoSetPointSource
to select all points which are inside a given bounding cylinder or cylinder annulus.
Operand | Type | Location |
---|---|---|
output | pointSet | $FOAM_CASE/constant/polyMesh/sets/<set> |
Example of the cylinderToPoint
topoSet by using actions
sub-dictionary in system/topoSetDict
file:
{ // Mandatory (inherited) entries name <name>; type pointSet; action <action>; // Mandatory entries source cylinderToPoint; p1 (<p1X> <p1Y> <p1Z>); p2 (<p2X> <p2Y> <p2Z>); radius <radius1>; // Optional entries innerRadius <radius2>; }
where the entries mean:
Property | Description | Type | Required | Default |
---|---|---|---|---|
name | Name of pointSet | word | yes | - |
type | Type name: pointSet | word | yes | - |
action | Action applied on points - see below | word | yes | - |
source | Source name: cylinderToPoint | word | yes | - |
p1 | Coordinate of one of the endpoints | vector | yes | - |
p2 | Coordinate of the other endpoint | vector | yes | - |
radius | Cylinder outer radius | scalar | yes | - |
innerRadius | Cylinder inner radius | scalar | no | 0 |
Options for the action
entry:
new | Create a new pointSet from selected points add | Add selected points into this pointSet subtract | Remove selected points from this pointSet
Tutorial:
Source code:
History
Would you like to suggest an improvement to this page? | Create an issue |
Copyright © 2020 OpenCFD Ltd.