1MMG2D(1) BSD General Commands Manual MMG2D(1)
2
4 mmg2d — Adaptation and optimization of bidimensional meshes
5
7 mmg2d ⟨mesh_file⟩ [output_file] [-sol ⟨solution_file⟩]
8 [-mov ⟨moving_file⟩] [-h] [-v] [-m ⟨n⟩] [-d] [-val] [-ar ⟨x⟩] [-nr]
9 [-hmin ⟨x⟩] [-hmax ⟨x⟩] [-hsiz ⟨x⟩] [-hausd ⟨x⟩] [-hgrad ⟨x⟩]
10 [-lag ⟨n⟩] [-ls x] [-nsd ⟨n⟩] [-msh ⟨n⟩] [-degrad ⟨Qw Qdeg⟩]
11 [-optim] [-noswap] [-nomove] [-noinsert]
12
14 The mmg2d application is dedicated to bidimensional triangular mesh
15 remeshing.
16
17 By default it improve the mesh quality with respect to its initial size.
18 Providing a metric file, it adapts the mesh to the prescribed sizes at
19 nodes. -ls option allows to explicitly mesh an implicit domain.
20 Without metric file, the -optim option allow to improve the mesh quality
21 with respect to the initial mesh size.
22
24 1. Generic options:
25 -h Print help.
26 -v ⟨n⟩ Tune level of verbosity.
27 Takes values between -10 and 10.
28 -m ⟨n⟩ Set maximal memory size to n MBytes.
29 -d Turn on debug mode.
30 -val Print the default parameters values.
31
32 2. File specifications:
33 -in ⟨mesh_file⟩ Input triangulation.
34 -out ⟨output_file⟩ Output triangulation.
35 -sol ⟨solution_file⟩ Load metric file.
36 -mov ⟨moving_file⟩ Load displacement file (only with the -lag
37 option).
38
39 3. Parameters:
40 -ar ⟨x⟩ Angle detection.
41 -nr Disable detection of sharp features (ridges,
42 corners).
43 -hmin ⟨x⟩ Minimal mesh size.
44 -hmax ⟨x⟩ Maximal mesh size.
45 -hsiz ⟨x⟩ Constant mesh size.
46 -hausd ⟨x⟩ Control the Hausdorff distance to the under‐
47 lying surface geometry.
48 -hgrad ⟨x⟩ Control the gradation.
49 -lag ⟨n⟩ Lagrangian mesh displacement according to
50 mode 0 ( n=0 ), 1 ( n=1 ) or 2 ( n=2 ).
51 -ls x Create mesh of isovalue x (0.0 if x is not
52 provided).
53 -optim Mesh improvement with respect to the initial
54 mesh size.
55 -noswap No edge or face flipping.
56 -nomove No point relocation
57 -noinser. No point insertion/deletion.
58 -nsd ⟨n⟩ If the mesh don't have triangles, save the
59 subdomain number n (set n=0 to save all sub‐
60 domains).
61 -msh ⟨n⟩ Write and/or read mesh files at the gmsh
62 file format. Save the mesh at gmsh format if
63 val=1. Read and write the meshes at the gmsh
64 format if val=2.
65 -degrad ⟨Qw Qdeg⟩ Optimization thresholds for the -lag option.
66
68 mmg2d returns:
69 · the 0 value if successful;
70 · the 1 value if the process fail but can save a conform mesh;
71 · the 2 value if the process fail and can't save a comform mesh.
72
74 mmg3d(1) mmgs(1)
75
76mmg2d May 04, 2015 mmg2d