[Gmsh] Mesh of a disc removing the center point

DILASSER Guillaume Guillaume.DILASSER at cea.fr
Wed Nov 9 08:35:28 CET 2016


Hi Sara,

See the documentation here<http://gmsh.info/doc/texinfo/gmsh.html#Lines> : Circle is used to generate arcs strictly smaller than Pi radians. It might have cause you issues. Also, have a look at the enclosed file and let me know if it helped.

Guillaume DILASSER
Doctorant SACM / 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 Sara R. Martin
Envoyé : mercredi 9 novembre 2016 06:09
À : gmsh at onelab.info
Objet : [Gmsh] Mesh of a disc removing the center point


Hi,



I have a problem when generating the mesh of a disc of radius 0.1. I get elements which are only lines or to joined lines or triangles and i would rather like to have all triangles. I did meshes of rectangles before and I had not problem for that... Could you tell me if there is any parameter I have to set to obtain meshes with only triangles?



To generate a disc with Gmsh I use 2 Circle arc which require to define the center point of the circle (0,0,0) and 2 points: p1 = (0.1, 0, 0) and p2 = (-0,1, 0, 0). I create then the first arc from p1 to p2 and then the arc from p2 to p1.



Thank you.



Sara
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20161109/7e50e758/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MeshDisk.geo
Type: application/octet-stream
Size: 668 bytes
Desc: MeshDisk.geo
URL: <http://onelab.info/pipermail/gmsh/attachments/20161109/7e50e758/attachment.geo>


More information about the gmsh mailing list