Hello everyone,
I am trying to define an adaptative 3d mesh by using mmg3d based on a level set function phi. The results obtained are smoother compared with tetgenreconstruction.
length = max(hmin, min(hmax,abs(phi)));
Tht = mmg3d(Tht, metric = length);
However i ended up obtaining a mesh with too many elements to handle it locally on my computer, and i want that this not surpasses a predefined amount of elements. For this reason, is it possible to define a restriction in the resulting mesh similar to nbvx in adaptmesh?
Thank you very much in advance.
Regards
Jacob
The number of node are proportional the length ,
so multiyply length by a constant, to get the correcte number!.
Dear Professor Hecht,
Thank you very much for your prompt and helpful response. The suggestion to adjust the length by multiplying it with a constant is exactly what I was looking for. Now, I can scale the mesh size to fit the computational capabilities of my PC. I appreciate your guidance on this matter.
Best regards, Jacob
The number of node is proportional to (metric)^-1/2 to the so if you multi
multi metric by c the number of vertices are of order 1/c^2 , this this rule you can build a mesh with the good number of node.
1 Like