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
_______________________________________________
gmsh mailing list
[email protected]
http://onelab.info/mailman/listinfo/gmsh

Reply via email to