[Gmsh] Gmsh 2.5.x generates bad structured meshes?

Christophe Geuzaine cgeuzaine at ulg.ac.be
Sun Oct 16 23:18:23 CEST 2011


Hi César,

Can you try to regenerate the mesh after lowering the geometrical tolerance (default is 1e-06) ?

Try e.g. "gmsh yourfile.geo -3 -tol 1e-12"

Thanks,

Christophe




On 16 Oct 2011, at 22:38, VeTArg wrote:

> Hello everybody,
> 
> I think I found a bug in newer 2.5.x Gmsh versions when it comes to generating structured meshes. It apparently generates faces not connected (or badly conected) to the volumes they define. Creating a mesh in the same way using Gmsh 2.4 works well though.
> I found this mistake when reading the mesh with the preprocessor of Code_Saturne, a CFD solver developed by Electricité de France. I'm giving you now the link to the discussion at Saturne's forum where the issue was discussed (it includes the .geo file):
> 
> https://code-saturne.info/products/code-saturne/forums/general-usage/953642757
> 
> The .geo file was generated by an octave script I made, which I can provide on request. I hope you find this info useful to keep improving this wonderful mesher.
> Regards,
> 
> César Vecchio
> 
> PD: I say the error appears on structured meshes just because I found it with this kind of meshes. I don't know if it's present or not on unstructured meshes.
> 
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh

-- 
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science 
http://www.montefiore.ulg.ac.be/~geuzaine