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

Andreas.Schuster at dlr.de Andreas.Schuster at dlr.de
Fri Sep 23 16:16:44 CEST 2016

Dear Mr. Geuzaine,

Thanks a lot for the advice! Without the -saveall argument, everything works fine.

With kind regards,
Andreas Schuster

-----Ursprüngliche Nachricht-----
Von: Christophe Geuzaine [mailto:cgeuzaine at ulg.ac.be] 
Gesendet: Dienstag, 20. September 2016 19:58
An: Schuster, Andreas
Cc: gmsh at onelab.info
Betreff: Re: [Gmsh] Instabilities of mesh generation in interactive and batch mode of gmsh

> 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 http://www.montefiore.ulg.ac.be/~geuzaine

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

More information about the gmsh mailing list