[Gmsh] Bad element after background mesh refinement

Juan Sanchez juan.e.sanchez at gmail.com
Mon Aug 19 02:16:25 CEST 2019


I am trying to use a background mesh for refinement of my 2d structure.
The 2 bad triangles have a gamma of zero.

in this figure:

[image: image.png]
They are formed by nodes:
element: 44333 nodes: 425 426 424
element: 44334 nodes: 426 427 424

which results in two overlapping flat triangles.

Would someone know how to fix these bad elements?  My solver is unable to
work with this mesh because it cannot calculate the control volume for
these triangles.

I am using the latest Gmsh on macOS:
4.4.1

The command used is:

gmsh -2 -format 'msh2' -bgm ./bgmesh.pos  gmsh_mos2d.geo

The files are here:
https://github.com/devsim/devsim_misc/blob/master/refinement/gmsh_mos2d.geo
https://github.com/devsim/devsim_misc/blob/master/refinement/bgmesh.pos

and the output is here:
https://github.com/devsim/devsim_misc/blob/master/refinement/gmsh_mos2d.msh

Regards,

Juan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20190818/e86516de/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 16650 bytes
Desc: not available
URL: <http://onelab.info/pipermail/gmsh/attachments/20190818/e86516de/attachment-0001.png>


More information about the gmsh mailing list