Curving Mesh with assigned OCC Geometry

Hi everyone,
I’m back again with a Netgen question :sweat_smile:
I’ve created a netgen mesh and then exported it to a PETSc DMPlex.
I refined the PETSc DMPlex and converted it back again to a netgen mesh.
So far so good, in particular with linear meshes everything works well !
The issue comes when I’m trying to curve the refined mesh, in fact it seems that the new mesh is not aware of the old OCC geometry even if I’ve assigned it, via:

rngmesh.SetGeometry(ngmesh.GetGeometry())

I attach a full example here :slight_smile:
disk.py (442 Bytes)