[Gmsh] Gmsh: Find elements attached to a line and then treat it as new surface or volume

Sathyanarayan Rao sathyanarayan.rao at uclouvain.be
Sun Nov 18 13:12:20 CET 2018


Dear gmsh users,


Is it possible within gmsh .geo file to find the elements that are touching a line and then define those

elements as new surface ? I can do this externally after creating a mesh file, but would be interested

if this is achievable before mesh generation.


Something like


Surface{1} =  Elementsof{Line{1}}; or

Volume{1} =  Elementsof{Line{1}};


________________________________
Best Regards,

Sathyanarayan Rao, PhD student
Earth and Life Institute/Environmental Sciences (ELI-e)
Université catholique de Louvain
c.037, Croix du Sud 2, Louvain-la-Neuve, Belgium
Phone: 010473827 ( intercom 73827)

________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20181118/f1a4643a/attachment.html>


More information about the gmsh mailing list