[Gmsh] Gmsh how to extract the node ID's on a given 3D Mesh Boundary Surface
Christophe Geuzaine
cgeuzaine at uliege.be
Mon Jun 18 10:25:59 CEST 2018
> On 17 Jun 2018, at 11:12, Zuheyr Alsalihi <zuheyr at gmail.com> wrote:
>
>
> Hello,
> Is there a way to get the node ID's of the elements that lie on a boundary surface in a 3d solid mesh where I mark the
> surface by creating a physical surface.
Load the mesh and retrieve the elements tagged with the physical group; then loop over the elements and get the nodes.
(The gmsh::model::mesh::getNodesForPhysicalGroup function in the Gmsh API does just that.)
>
> Thank you for reading!
>
> Best,
> --
> Zuheyr Alsalihi
> _______________________________________________
> gmsh mailing list
> gmsh at onelab.info
> http://onelab.info/mailman/listinfo/gmsh
—
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science
http://www.montefiore.ulg.ac.be/~geuzaine
Free software: http://gmsh.info | http://getdp.info | http://onelab.info
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20180618/59f8ec6e/attachment.html>
More information about the gmsh
mailing list