Hello,
I have:
- a 3D mesh called mymesh.mesh whit boundouries 1, 2, 3
- a solution on this mesh called mysol.sol;
Now I call mmg in this way:
exec("./mmg3d_O3 mymesh.mesh -sol mysol.sol -hgrad 100.0 -hausd 1.65 -hmax 5 -hmin 0.001");
were i use hausd =1.65 and hmax=5 everywere.
- I want different hausdorff in my domain; for do this i read the section on your site “Local parameters for boundaries” ( https://www.mmgtools.org/local-parameters-for-boundaries ) and i think it is good for my problem.
But i don’t understand how i can create the file parameter like this:
parameters
3
1 Triangles 0.001 5 1.65
2 Triangles 0.001 5 0.01
3 Triangles 0.001 5 1.65
So I want hausd=1.65 on label called 1 and 3; I want hausd=default on label 2.
- Then i don’t now how to call this parameter file:
exec("./mmg3d_O3 mymesh.mesh -sol mysol.sol ??? ");
Thank you
Monica