[Gmsh] Volume meshing an enclosure defined by STL mesh and an elementary surface defined by the GEO format

CEM ALBUKREK calbukrek at gmail.com
Tue Apr 15 17:32:13 CEST 2008


Hello,

I am trying to mesh a volume enclosed by two surface groups consisting of an
STL mesh and a surface defined using elementary entities. An example is a
box sketched as the below:

The top in red is an STL or NAS mesh surface, the bottom and sides are built
using points, lines and surface loops.
 ______
|______|


After the bottom is meshed, I am able to obtain edge nodes that match the
edge nodes of the STL surface perfectly. Hence at the seam of the red and
black surfaces there are duplicated nodes. Because of these,  during the
volume meshing GMSH/Tetgen rightfully complains about self intersections.
Can I somehow force GMSH to paste the duplicated nodes across the STL facets
and the elementary surface facets before volume meshing?  If I need to edit
the code for this, what data would you recommend me to modify?

Thank you for your help.

Best,

-- 
Cem Albukrek, Ph.D.
Senior Aerodynamics Consultant,
Tel: (857) 234-1035
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20080415/f1e45b82/attachment.html>