[Gmsh] Errors when increasing NNodesByEdge on a small edge
Christophe Geuzaine
cgeuzaine at uliege.be
Thu Apr 11 00:09:43 CEST 2019
> On 10 Apr 2019, at 21:57, Nathan RICKS <Nathan.James.Ricks at vub.be> wrote:
>
> Hi all,
>
> I have quite a particular problem, but I'm hoping someone can help. I'm meshing an airfoil using transfinite surfaces in the boundary layer.
>
> I've just had to add a blunt trailing edge (mesh was working well with sharp trailing edge) to the airfoil, and now I have this one error stopping me, and I just can't figure it out...
>
> When I increase the NNodesByEdge on Field[11] from 6 to 15, the mesh ends up bad quality, with cell corners not matching other cells at the boundary of surfaces, and it causes SU2 to diverge instantly. It runs fine with 6, but crashes at 15. I've attached two images showing that it is a mesh issue causing this (nothing else is being changed in the setup).
>
I cannot seem to reproduce the issue on my Mac. Attached is the mesh generated on your .geo file:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: airfoil_level1.msh
Type: application/octet-stream
Size: 1171514 bytes
Desc: not available
URL: <http://onelab.info/pipermail/gmsh/attachments/20190411/e1838339/attachment-0001.msh>
-------------- next part --------------
> Other things such as reducing lcMin on Field[12] can also make it crash for example, however the above has visible errors in the mesh.
>
Idem... What OS are you running on?
PS: instead of generating the BL by hand, why not using the boundary layer field directly? Cf. e.g.
https://gitlab.onelab.info/gmsh/gmsh/blob/master/benchmarks/2d/naca12BL.geo
https://gitlab.onelab.info/gmsh/gmsh/blob/master/benchmarks/2d/naca12_2d_trailing.geo
> Does anyone have an idea on why I can't use the Distance/Threshold field as normal on this edge?
>
> If you can provide any guidance that would be greatly appreciated, it's so close...! I've already tested with the latest release with the same results.
>
> Thanks a lot,
> Kind Regards,
>
> Nathan Ricks
>
>
>
>
>
> <NNodes_15.png><NNodes_6.png><airfoil_level1.geo>_______________________________________________
> gmsh mailing list
> gmsh at 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
More information about the gmsh
mailing list