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