Hello, I have a tetrahedral mesh that, after being loaded into MMG3D, showed one element with a quality of <0.1.
I aim to improve it by using MMG3D to remesh in hopes of enhancing the worst quality.
However, after running it, I found that my mesh did not change at all. Could you advise if I need to add any specific constraints?
This is my mesh.temp.mesh (2.4 MB)
This is my code, i only set limits for hmax and hmin:
if (MMG3D_Set_iparameter(mmgMesh, mmgSol, MMG3D_IPARAM_debug, 1) != 1)
exit(EXIT_FAILURE);
if (MMG3D_Set_iparameter(mmgMesh, mmgSol, MMG3D_IPARAM_verbose,2) != 1)
exit(EXIT_FAILURE);
if (MMG3D_Set_dparameter(mmgMesh, mmgSol, MMG3D_DPARAM_hmax, 0.1) != 1)
exit(EXIT_FAILURE);
if (MMG3D_Set_dparameter(mmgMesh, mmgSol, MMG3D_DPARAM_hmin, 0.001) != 1)
exit(EXIT_FAILURE);
int ier;
ier = MMG3D_mmg3dlib(mmgMesh, mmgSol);
This is the output after I ran it.
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
MODULE MMG3D: 5.7.0 (Dec. 13, 2022)
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&– MMG3DLIB: INPUT DATA
– INPUT DATA COMPLETED. 0.000s– PHASE 1 : ANALYSIS
After truncature computation: hmin 0.001000 (user setted 1)
hmax 0.100000 (user setted 1)– MESH QUALITY 32747
BEST 0.996596 AVRG. 0.637645 WRST. 0.097760 (7530)
** SETTING STRUCTURE
h- stage 1: init
h- stage 2: adjacencies
h- stage 1: init
h- completed.
** SETTING TOPOLOGY
a- ridges: 215 found.
a- nm : 0 found.
a- requir: 23868 found.
a- connex: 1 connected component(s)
a- orient: 0 flipped
** DEFINING GEOMETRY
** UPDATING TOPOLOGY AT NON-MANIFOLD POINTS
0 required edges added
0 corner and 0 required vertices added
– PHASE 1 COMPLETED. 1.000s– PHASE 2 : ISOTROPIC MESHING
** GEOMETRIC MESH
** SETTING STRUCTURE
h- stage 1: init
h- stage 2: adjacencies
** SETTING STRUCTURE
h- stage 1: init
h- stage 2: adjacencies
** SETTING STRUCTURE
h- stage 1: init
h- stage 2: adjacencies
** SETTING STRUCTURE
h- stage 1: init
h- stage 2: adjacencies
** SETTING STRUCTURE
h- stage 1: init
h- stage 2: adjacencies
** SETTING STRUCTURE
h- stage 1: init
h- stage 2: adjacencies
** COMPUTATIONAL MESH
** Defining isotropic map– SIZEMAP CORRECTION : overwritten of sizes at required vertices
– GRADATION : 1.300000 (2.300000)
** Grading mesh
** Grading required points.
** SETTING STRUCTURE
h- stage 1: init
h- stage 2: adjacencies
** SETTING STRUCTURE
h- stage 1: init
h- stage 2: adjacencies
** SETTING STRUCTURE
h- stage 1: init
h- stage 2: adjacencies
** SETTING STRUCTURE
h- stage 1: init
h- stage 2: adjacencies
** SETTING STRUCTURE
h- stage 1: init
h- stage 2: adjacencies
** SETTING STRUCTURE
h- stage 1: init
h- stage 2: adjacencies
------------- Delaunay: INITIAL SWAP 0– MESH QUALITY 32747
BEST 0.996596 AVRG. 0.637645 WRST. 0.097760 (7530)
** OPTIMIZING MESH
0 moved, 0 geometry
** OPTIMIZING MESH
0 moved, 0 geometry
** OPTIMIZING MESH
0 moved, 0 geometry
** OPTIMIZING MESH
0 moved, 0 geometry
** OPTIMIZING MESH
0 moved, 0 geometry
** OPTIMIZING MESH
0 moved, 0 geometry
** OPTIMIZING MESH
0 moved, 0 geometry
** OPTIMIZING MESH
0 moved, 0 geometry
** OPTIMIZING MESH
0 moved, 0 geometry
** OPTIMIZING MESH
0 moved, 0 geometry
– PHASE 2 COMPLETED. 0.000s– MESH QUALITY 32747
BEST 0.996596 AVRG. 0.637645 WRST. 0.097760 (7530)– MESH PACKED UP
NUMBER OF VERTICES 10016 CORNERS 7960
NUMBER OF TETRAHEDRA 32747
NUMBER OF EDGES 23872 RIDGES 215
NUMBER OF TRIANGLES 15920MMG3DLIB: ELAPSED TIME 1.000s
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
END OF MODULE MMG3D
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
Thanks for any help!
Mint.