1Gmsh(1) Gmsh Manual Pages Gmsh(1)
2
3
4
6 Gmsh - 3D finite element mesh generator with built-in CAD engine and
7 post-processor
8
10 gmsh [file(s)] [option(s)]
11
13 Gmsh is a 3D finite element mesh generator with a build-in CAD engine
14 and post-processor. Its design goal is to provide a fast, light and
15 user-friendly meshing tool with parametric input and flexible visual‐
16 ization capabilities.
17
18 Gmsh is built around four modules (geometry, mesh, solver and post-pro‐
19 cessing), which can be controlled with the graphical user interface,
20 from the command line, using text files written in Gmsh's own scripting
21 language (.geo files), or through the C++, C, Python, Julia and Fortran
22 application programming interface.
23
25 -0 Output model, then exit.
26
27 -tol float
28 set geometrical tolerance.
29
31 -1, -2, -3
32 perform 1D, 2D or 3D mesh generation, then exit.
33
34 -o file
35 specify output file name.
36
37 -format string
38 set output mesh format (auto, msh, msh1, msh2, msh4, unv, vrml,
39 stl, mesh, bdf, med, ...).
40
41 -bin
42 use binary format when available.
43
44 -saveall
45 save all elements (discard physical group definitions)
46
47 -algo string
48 select mesh algorithm (meshadapt, del2d, front2d, del3d, front3d,
49 hxt, ...).
50
51 -parametric
52 save nodes with their parametric coordinates.
53
54 -part int
55 partition the mesh after batch mesh generation.
56
57 -smooth int
58 set number of mesh smoothing steps.
59
60 -order int
61 set mesh order.
62
63 -clscale float
64 set global mesh element size scaling factor.
65
66 -clmin float
67 set minimum mesh element size.
68
69 -clmax float
70 set maximum mesh element size.
71
72 -rand float
73 set random perturbation factor.
74
75 -bgm file
76 load the post-processing view in file as the current background
77 mesh.
78
79 -check
80 perform various consistency checks on mesh.
81
83 -combine
84 combine input views into multi-time-step ones.
85
87 -n hide all meshes and post-processing views on startup.
88
89 -fontsize int
90 specify the font size for the GUI.
91
92 -display string
93 specify display.
94
96 - parse input files, then exit.
97
98 -new
99 create new model before merge next file.
100
101 -merge
102 merge next files.
103
104 -open
105 ppen next files.
106
107 -a, -g, -m, -s, -p
108 start in automatic, geometry, mesh, solver or post-processing mode.
109
110 -pid
111 print pid on stdout.
112
113 -listen string
114 always listen to incoming connection requests on the given socket
115 (a default socket is used if not specified).
116
117 -v int
118 set verbosity level.
119
120 -nopopup
121 don't popup dialog windows in scripts.
122
123 -setnumber name value
124 set constant number name=value
125
126 -setstring name value
127 set constant string name=value
128
129 -string string
130 parse option string at startup.
131
132 -option file
133 parse option file at startup.
134
135 -convert files
136 Convert files into latest binary formats, then exit.
137
138 -version
139 show version number.
140
141 -info
142 show detailed version information.
143
144 -help
145 show help message.
146
148 Christophe Geuzaine (cgeuzaine@uliege.be) and Jean-Francois Remacle
149 (jean-francois.remacle@uclouvain.be).
150
152 getdp(1),
153 Gmsh examples (/usr/share/doc/gmsh),
154 Gmsh homepage (https://gmsh.info).
155
156 The full documentation for Gmsh is maintained as a Texinfo manual. If
157 the info and gmsh programs are properly installed at your site, the
158 command
159
160 info gmsh
161
162 should give you access to the complete manual.
163
164
165
1664th Berkeley Distribution 6 November 2022 Gmsh(1)