[Gmsh] Error generating simple mesh

Christophe Geuzaine cgeuzaine at uliege.be
Thu Sep 19 19:59:42 CEST 2019



> On 19 Sep 2019, at 11:28, Elisa Schenone <elisa.schenone at moxoff.com> wrote:
> 
> Dear gmsh developers,
> 
> I'm trying to use gmsh to create a cube mesh with a surface separated in multiple entities: two concentric circles are inscribed into the top surface (square).
> The external circle comes from a 1D mesh that I merge to my geo script.
> The internal circle has been created only as a workaround since gmsh could not create the 2D mesh inside the 1D line (file circleLine1.mesh or circleLine2.mesh).
> 
> Small changes in the script, i.e. characteristic length, line1 or line2, small circle dimensions, etc., give different errors but none of these combinations seems to work.
> 
> Also, in case the 2D mesh is correctly generated, the surface mesh quality is very bad in some points and the 3D mesh cannot be generated. I tried various options for the 2D and 3D mesh algorithms but none of them gives good results.
> 
> What am I doing wrong?
> 

The volume does not seem to be defined correctly. In all cases the surface mesh looks fine to me...

Why don't you define all the curves as CAD entities?

Christophe

> I send you a minimal example of my geo script and the 1D mesh I use to define the inscribed circle.
> 
> Thank you in advance,
> bests,
> Elisa
> 
> 
> <circleLine2.mesh><testGmsh.geo><circleLine1.mesh>_______________________________________________
> 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






More information about the gmsh mailing list