Re: [Gmsh] Negative Jacobians in 2nd Order Mesh

2020-09-04 Thread jeremy theler
If you do not need curved elements set

Mesh.SecondOrderLinear = 1



--
jeremy theler
www.seamplex.com

On Fri, Sep 4, 2020, 11:22 Stephen Wornom  wrote:

> Tell the list if it removes the negative values.
> Thanks,
> Stephen
>
> - Original Message -
> > From: "Christophe Geuzaine" 
> > To: "Nikhil Vaidya" 
> > Cc: gmsh@onelab.info
> > Sent: Friday, September 4, 2020 2:19:36 PM
> > Subject: Re: [Gmsh] Negative Jacobians in 2nd Order Mesh
>
> >> On 4 Sep 2020, at 13:49, Nikhil Vaidya 
> wrote:
> >>
> >> Hello,
> >>
> >> I have a geometry for which 1st order tetrahedral meshing works fine
> (with no
> >> negative jacobians). For the 2nd order case, I get a few negative
> jacobians.
> >> This problem does not go away even when I try to regularize the mesh or
> reduce
> >> mesh sizes in certain regions with small geometric features.
> >>
> >> Does someone have a suggestion?
> >
> > Try the high-order mesh optimizer: "-optimize_ho" on the command line.
> >
> > Christophe
> >
> >>
> >> Best regards,
> >> Nikhil
> >> ___
> >> gmsh mailing list
> >> gmsh@onelab.info
> >> 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
> > gmsh@onelab.info
> > http://onelab.info/mailman/listinfo/gmsh
>
> ___
> gmsh mailing list
> gmsh@onelab.info
> http://onelab.info/mailman/listinfo/gmsh
>
___
gmsh mailing list
gmsh@onelab.info
http://onelab.info/mailman/listinfo/gmsh


Re: [Gmsh] Negative Jacobians in 2nd Order Mesh

2020-09-04 Thread Stephen Wornom
Tell the list if it removes the negative values.
Thanks,
Stephen

- Original Message -
> From: "Christophe Geuzaine" 
> To: "Nikhil Vaidya" 
> Cc: gmsh@onelab.info
> Sent: Friday, September 4, 2020 2:19:36 PM
> Subject: Re: [Gmsh] Negative Jacobians in 2nd Order Mesh

>> On 4 Sep 2020, at 13:49, Nikhil Vaidya  wrote:
>> 
>> Hello,
>> 
>> I have a geometry for which 1st order tetrahedral meshing works fine (with no
>> negative jacobians). For the 2nd order case, I get a few negative jacobians.
>> This problem does not go away even when I try to regularize the mesh or 
>> reduce
>> mesh sizes in certain regions with small geometric features.
>> 
>> Does someone have a suggestion?
> 
> Try the high-order mesh optimizer: "-optimize_ho" on the command line.
> 
> Christophe
> 
>> 
>> Best regards,
>> Nikhil
>> ___
>> gmsh mailing list
>> gmsh@onelab.info
>> 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
> gmsh@onelab.info
> http://onelab.info/mailman/listinfo/gmsh

___
gmsh mailing list
gmsh@onelab.info
http://onelab.info/mailman/listinfo/gmsh


Re: [Gmsh] Negative Jacobians in 2nd Order Mesh

2020-09-04 Thread Christophe Geuzaine


> On 4 Sep 2020, at 13:49, Nikhil Vaidya  wrote:
> 
> Hello,
> 
> I have a geometry for which 1st order tetrahedral meshing works fine (with no 
> negative jacobians). For the 2nd order case, I get a few negative jacobians. 
> This problem does not go away even when I try to regularize the mesh or 
> reduce mesh sizes in certain regions with small geometric features.
> 
> Does someone have a suggestion?

Try the high-order mesh optimizer: "-optimize_ho" on the command line.

Christophe

> 
> Best regards,
> Nikhil
> ___
> gmsh mailing list
> gmsh@onelab.info
> 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
gmsh@onelab.info
http://onelab.info/mailman/listinfo/gmsh


[Gmsh] Negative Jacobians in 2nd Order Mesh

2020-09-04 Thread Nikhil Vaidya
Hello,

I have a geometry for which 1st order tetrahedral meshing works fine (with
no negative jacobians). For the 2nd order case, I get a few negative
jacobians. This problem does not go away even when I try to regularize the
mesh or reduce mesh sizes in certain regions with small geometric features.

Does someone have a suggestion?

Best regards,
Nikhil
___
gmsh mailing list
gmsh@onelab.info
http://onelab.info/mailman/listinfo/gmsh