A topoSetPointSource to select points which are centre enclosed by a given searchableSurface.


Operand Type Location
input triSurface $FOAM_CASE/constant/triSurface/<file>
output pointSet $FOAM_CASE/constant/polyMesh/sets/<set>


Example of the searchableSurfaceToPoint topoSet by using actions sub-dictionary in system/topoSetDict file:

    // Mandatory (inherited) entries
    name        <name>;
    type        pointSet;
    action      <action>;

    // Mandatory entries
    source      searchableSurfaceToPoint;
    surfaceType <surfaceTypeName>;

    // Optional entries
    surfaceName <surfaceName>;

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: searchableSurfaceToPoint 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 pointSet from selected points
add      | Add selected points into this pointSet
subtract | Remove selected points from this pointSet

Further information


Source code:


  • Introduced in version v1812

Would you like to suggest an improvement to this page? Create an issue

Copyright © 2020 OpenCFD Ltd.

Licensed under the Creative Commons License BY-NC-ND Creative Commons License