Hi, I’m using mesh.Curve(3) for a sphere. However, when I add a boundary layer in the mesh the Curve function does not improve the mesh. Can you see if I’m using it correctly? I attached images of the mesh with and without the line mesh.BoundaryLayer(“.*”, [0.01, 0.02], material=“mat”, domains=“mat”)
In this case adding disable_curving=False to the boundarylayer parameters should do the trick. But note that the curvature is not propagated into the layer so on convex surfaces this could lead to push through elements on not fine enough meshes (thats why we disable it by default)
It upgraded to NGSolve-6.2.2405 with the --pre option, but the disable_curving option is still not available. I noticed that the latest release in git is NGSolve-6.2.2406 so perhaps that version contains the disable_curving?
It works now. Thanks!
For some reason the latest NGSolve version was not available in my python 3.8 installation. I installed python 3.12 and then I could get the latest version with pip install --upgrade --pre ngsolve.