I’m trying to generate a surface mesh that is extremely refined in a single point.
My idea was to use the RestricH
function as in the attached code, but it doesn’t seem to work.
Has anyone ever had a similar issue?
gen_mesh.py (272 Bytes)
it goes like
mp = MeshingParameters()
mp.RestrictH (x=0., y=0., z=1., h=1e-6)
ngmesh = geo.GenerateMesh(maxh=0.1, mp=mp)
Joachim
gen_mesh.py (294 Bytes)
Silly me! Yet I’m still getting the same mesh out of Netgen
did you see the changes in two lines ?
I see now, sorry for wasting time ! It is now working