A topoSetPointSource to select all points based on usage in given faceSet(s).
| Operand | Type | Location |
|---|---|---|
| input | faceSet(s) | $FOAM_CASE/constant/polyMesh/sets/<set> |
| output | pointSet | $FOAM_CASE/constant/polyMesh/sets/<set> |
Example of the faceToPoint topoSet by using actions sub-dictionary in system/topoSetDict file:
{
// Mandatory (inherited) entries
name <name>;
type pointSet;
action <action>;
// Mandatory entries
source faceToPoint;
option <option>;
// Conditional mandatory entries
// Select either of the below
// Option-1
sets
(
<faceSetName0>
<faceSetName1>
...
);
// Option-2
set <faceSetName>;
}
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: faceToPoint | word | yes | - |
| option | Selection type - see below | word | 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
Options for the option entry:
all | Select all points of faces in the faceSet
Options for the conditional mandatory entries:
Entry | Description | Type | Required | Default sets | Names of input faceSets | wordList | conditional | - set | Name of input faceSet | word | conditional | -
The order of precedence among the conditional mandatory entries from the highest to the lowest is sets, and set.
Tutorial:
Source code:
History
| Would you like to suggest an improvement to this page? | Create an issue |
Copyright © 2020 OpenCFD Ltd.