Hello!
I am trying to use mmg3d to extract the zero level set of a 3D extruded wing. The background mesh I am using is not very coarse, but at the trailing edge, there are no grid points inside the wing. When calculating the signed distance function, I’m unable to obtain correct negative values inside the wing near the trailing edge. This prevents mmg from accurately extracting the surface in that region. This is the command I use. I don’t use -nr
to avoid ignoring the sharp edges.
mmg3d_O3 domain -ls -hausd 0.005
Now, I’m trying to use the mshmet library to obtain adaptation metrics based on the initial level set values:
mshmet domain.mesh -ls -eps 0.00001 -hmin 0.01 -iso
And to refine my volume mesh around the zero level set:
mmg3d_o3 domain.mesh -sol domain.new.sol -hgrad -1 -hgradreq -1 nosizereq -1
And finally to run mmg3d again for a more accurate surface extraction. Is my approach valid?