Dear Users and developers,
I am using MMG3D to do mesh refinement for computational electromagnetics.
My logic is given as follows:
Loop
- find the vertex size by averaging the edge length surrounding each vertex
- find the bad elements
- reduce the vertex size by half for the vertices owned by bad elements
It could give a satisfactory result and refine the meshes around the important area. But unimportant areas are also refined. Is there any way to reduce the refinement for the unimportant area.
For this case, the intial mesh is given as follows,
I want to know more about MMG3D, therefore a simple test is proposed. Starting from the coarse mesh, let the code run several loops with only step 1 (no step 2 and 3). The mesh changes every loop, but luckily the variation is smaller and smaller with more loops. Which parameter is affecting this?
Thanks,