[Gmsh] Identifying nodes on boundaries and their order

Oliver oliver.willekens at gmail.com
Sat Sep 20 16:55:13 CEST 2014


Actually, that solution does solve your problem. Gmsh by itself does not
have that functionality, but it does provide the facilities with which you
could extract those things easily (post-processing the generated mesh).

Just label the boundaries as 'Physical Line' (in your case, for others it
might be Physical Surfaces). Then, when the mesh is generated, extract all
lines that have the id you assigned to this collection of physical lines.
You'll end up with a list of all the boundary nodes.

Not sure what the program you're using means by "list in order", so I can't
help you there.

Kind regards,
Oliver.
Op 20 sep. 2014 11:31 schreef "Melanie Roberts" <melanie.roberts at au1.ibm.com>
het volgende:

> Hi,
>
> In order to use my gMSh generated mesh in another program I need to list,
> in order, the nodes that make up the various boundaries of the domain - is
> there a way to do this in gMSh?
>
> as an example, I have the mesh
>
> and want to be able to extract that one boundary segment is 1 - 8 - 2 -3,
> a second is 3-4-5, a third 5 - 6 - 7 and the final 7 - 9 - 1.  If I were to
> have a single list that loops around the entire shape I can manually split
> into the various segments without any problem.
>
>
>
> I found this http://www.geuz.org/pipermail/gmsh/2014/009188.html in the
> archive - but I do not think this answer my problem
>
> Thanks
>
> Melanie
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20140920/2d1066e6/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 15453 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20140920/2d1066e6/attachment.gif>