[Gmsh] Instabilities of mesh generation in interactive and batch mode of gmsh

Christophe Geuzaine cgeuzaine at ulg.ac.be
Tue Sep 20 19:58:28 CEST 2016

> On 20 Sep 2016, at 17:07, Andreas.Schuster at dlr.de wrote:
> Hi,                                                                                                                               
> I’m using gmsh for creating a finite element model of a full aircraft model for structural analysis.
> For that purpose, I have written a python process which writes the input geometry of the aircraft as .geo file and pass it to gmsh via a simple batch process in Python. My problem is that when I run that process in batch mode, gmsh is running and produces some files called “before.msh” or “after.msh” again and again and seems not to converge the mesh generation.
> If I start the GUI of gmsh with the input geometry and start the mesh generation inside, gmsh finishes after around 4 seconds with a nice mesh!
> The aircraft is mainly defined by regular 4 point areas which I recombine to get quadrilateral elements. At some places due to the local aircraft structure definition, there are some areas with 5 lines which produces some small degenerated elements.
> I already tested different meshing algorithms and options directly written in the geometry input file to overcome to problem, but the batch process of gmsh doesn’t finish, though.
> Can anybody help me with this problem?

Weird... The "before.msh"/"after.msh" files are created for debugging purposes in the triangle->quad recombination algorithm, when the "-saveall" option is used. (This will be removed in a future version.)

What happens if you run Gmsh (without Python), directly from the command line, e.g.

gmsh myfile.geo -2

> Thanks in advance!
> Best regards
> Andreas
> ——————————————————————————
> Deutsches Zentrum für Luft- und Raumfahrt e.V. (DLR)
> Institut für Faserverbundleichtbau und Adaptronik |
> _______________________________________________
> gmsh mailing list
> gmsh at onelab.info
> http://onelab.info/mailman/listinfo/gmsh

Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science 

Free software: http://gmsh.info | http://getdp.info | http://onelab.info

More information about the gmsh mailing list