[Gmsh] Mesh 2d surface only with triangles.

DILASSER Guillaume Guillaume.DILASSER at cea.fr
Tue Jul 11 09:58:30 CEST 2017

Hi César,

Do you have defined a Gmsh option file (.opt) either directly for your .geo file or globally ? If so, check that this file does not have an option forcing Gmsh to use quads, like for example Mesh.RecombineAll = 1 ;. To me, that is the only thing that can be happening because, by default, your .geo should give you a triangular mesh…

Sincerely Yours,

Guillaume DILASSER
Doctorant DACM / LEAS
CEA - Centre de Saclay - Bât.123 - PC 319c
91191 Gif sur Yvette Cedex - France -

guillaume.dilasser at cea.fr<mailto:guillaume.dilasser at cea.fr>

De : gmsh [mailto:gmsh-bounces at ace20.montefiore.ulg.ac.be] De la part de Zenker, Dr. Matthias
Envoyé : mardi 11 juillet 2017 09:46
À : 'César Pablo Camusso' <cepasarblo at yahoo.com.ar>; gmsh at onelab.info
Objet : Re: [Gmsh] Mesh 2d surface only with triangles.


I cannot reproduce it. I open the geo with the GUI, click on Mesh->2D and get a triangular mesh.


Von: César Pablo Camusso [mailto:cepasarblo at yahoo.com.ar]
Gesendet: Dienstag, 11. Juli 2017 00:14
An: gmsh at onelab.info<mailto:gmsh at onelab.info>
Betreff: [Gmsh] Mesh 2d surface only with triangles.

Dear partners,
I want a mesh with only triangles, but I get also quads.
It is a 2d geometry.
How can I force gmsh to use only triangles?
I have attached a geo file as example.


Erbe Elektromedizin GmbH Firmensitz: 72072 Tuebingen Geschaeftsfuehrer: Christian O. Erbe, Reiner Thede Registergericht: Stuttgart HRB 380137
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20170711/82527816/attachment-0001.html>

More information about the gmsh mailing list