A topoSetFaceSource to convert faceZone(s) to a faceSet.
| Operand | Type | Location |
|---|---|---|
| input | faceZone(s) | $FOAM_CASE/constant/polyMesh/faceZones |
| output | faceSet | $FOAM_CASE/constant/polyMesh/sets/<set> |
Example of the zoneToFace topoSet by using actions sub-dictionary in system/topoSetDict file:
{
// Mandatory (inherited) entries
name <name>;
type faceSet;
action <action>;
// Mandatory entries
source zoneToFace;
// Conditional mandatory entries
// Select either of the below
// Option-1
zones
(
<faceZoneName0>
<faceZoneName1>
...
);
// Option-2
zone <faceZoneName>;
}
where the entries mean:
| Property | Description | Type | Required | Default |
|---|---|---|---|---|
| name | Name of faceSet | word | yes | - |
| type | Type name: faceSet | word | yes | - |
| action | Action applied on faces - see below | word | yes | - |
| source | Source name: zoneToFace | word | yes | - |
Options for the action entry:
new | Create a new faceSet from selected faces add | Add selected faces into this faceSet subtract | Remove selected faces from this faceSet
Options for the conditional mandatory entries:
Entry | Description | Type | Required | Default zones | Names of input faceZones | wordList | conditional | - zone | Name of input faceZone | word | conditional | -
The order of precedence among the conditional mandatory entries from the highest to the lowest is zones, and zone.
Tutorial:
Source code:
History
| Would you like to suggest an improvement to this page? | Create an issue |
Copyright © 2020 OpenCFD Ltd.