A topoSetFaceSource to select all faces whose face centre inside a given bounding cylinder annulus.
| Operand | Type | Location |
|---|---|---|
| output | faceSet | $FOAM_CASE/constant/polyMesh/sets/<set> |
Example of the cylinderAnnulusToFace topoSet by using actions sub-dictionary in system/topoSetDict file:
{
// Mandatory (inherited) entries
name <name>;
type faceSet;
action <action>;
// Mandatory entries
source cylinderAnnulusToFace;
p1 (<p1X> <p1Y> <p1Z>);
p2 (<p2X> <p2Y> <p2Z>);
outerRadius <radius1>;
// Optional entries
innerRadius <radius2>;
}
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: cylinderAnnulusToFace | word | yes | - |
| p1 | Coordinate of one of the endpoints | vector | yes | - |
| p2 | Coordinate of the other endpoint | vector | yes | - |
| outerRadius | Cylinder outer radius | scalar | yes | - |
| innerRadius | Cylinder inner radius | scalar | no | 0 |
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
Tutorial:
Source code:
History
| Would you like to suggest an improvement to this page? | Create an issue |
Copyright © 2020 OpenCFD Ltd.