A topoSetPointSource to select points based on explicitly given point labels.
| Operand | Type | Location |
|---|---|---|
| output | pointSet | $FOAM_CASE/constant/polyMesh/sets/<set> |
Example of the labelToPoint topoSet by using actions sub-dictionary in system/topoSetDict file:
{
// Mandatory (inherited) entries
name <name>;
type pointSet;
action <action>;
// Mandatory entries
source labelToPoint;
value
(
<cellLabel1>
<cellLabel2>
...
);
}
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: labelToPoint | word | yes | - |
| value | Input cell labels | labelList | yes | - |
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.