Thank you,

That resolves the issue.

Juan

On Tue, Aug 20, 2019 at 8:22 AM Christophe Geuzaine <[email protected]>
wrote:

>
> Hi Juan,
>
> Removing the line:
>
> Mesh.RandomFactor=1e-5; /*perturbation*/
>
> seems to fix the issue.
>
> Christophe
>
>
>
> > On 19 Aug 2019, at 02:16, Juan Sanchez <[email protected]> wrote:
> >
> > 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.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
>
> —
> Prof. Christophe Geuzaine
> University of Liege, Electrical Engineering and Computer Science
> http://www.montefiore.ulg.ac.be/~geuzaine
>
>
>
>
_______________________________________________
gmsh mailing list
[email protected]
http://onelab.info/mailman/listinfo/gmsh

Reply via email to