[Gmsh] building 3D mesh from 2D surfaces

David Colignon david.colignon at ulg.ac.be
Tue Aug 18 15:21:53 CEST 2015


On 18/08/15 08:58, RENARD Francois wrote:

> Dear all,
>
> I'm trying to use GMSH to mesh a 3D volume defined by two (irregular) surfaces (for examples the substratum of an aquifer at the
> bottom and the topographic level at the top).
>
> I'd like to know how it's possible with GMSH.
>
> I tried to mesh first the two surfaces and to ask GMSH to mesh the volume but I get always poor results with lot of warnings :
>
> Warning : Could not orient normal of surface 10
> Warning : Could not orient normal of surface 12
> Warning : Could not orient normal of surface 13 ... (see attachment.log)
>
> I've tryed the very simple joined geometry (attachment.geo) , with two plane surfaces joined by lines, but the 3D mesh result is
> awful.
>
> I don't understand what can be wrong and would be interested in having some help to resolve this problem.
> The goal is to deal with more complex (no plane) surfaces...
>
> Thank you,
>
> François

Dear François,

just add the

Coherence;

command at the end of your .geo file.

It will remove the duplicates lines you have each time triangles share a common edge.

Regards,

Dave

-- 
David Colignon, Ph.D.
1er Logisticien de Recherche
Université de Liège
ACE - Applied & Computational Electromagnetics
Quartier POLYTECH 1 - Montefiore B28
Allée de la découverte 10
4000 Liège - BELGIQUE
Tél: +32 (0)4 366 37 32
http://www.ulg.ac.be/nic4
>
>
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh
>