A topoSetFaceSource to select faces whose face centre enclosed by a given searchableSurface.
| Operand | Type | Location |
|---|---|---|
| input | triSurface | $FOAM_CASE/constant/triSurface/<file> |
| output | faceSet | $FOAM_CASE/constant/polyMesh/sets/<set> |
Example of the searchableSurfaceToFace topoSet by using actions sub-dictionary in system/topoSetDict file:
{
// Mandatory (inherited) entries
name <name>;
type faceSet;
action <action>;
// Mandatory entries
source searchableSurfaceToFace;
surfaceType <surfaceTypeName>;
// Optional entries
surfaceName <surfaceName>;
}
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: searchableSurfaceToFace | word | yes | - |
| surfaceType | The searchable surface type | word | yes | - |
| surfaceName | Name for the IOobject | word | no | mesh-name |
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.