22
22
* 1.3 What does 'Gmsh' mean?
24
Nothing... The name was derived from a previous version called "msh"
25
(a shortcut for "mesh"), with the "g" prefix added to differentiate
26
it. The default mesh file format used by Gmsh still uses the ".msh"
26
(Note that in the US, people tend to pronounce 'Gmsh' as
29
In English people tend to pronounce 'Gmsh' as "gee-mesh".
29
31
* 1.4 Where can I find more information?
40
42
* 2.1 Which OSes does Gmsh run on?
42
Gmsh is known to run on Windows 95/98/NT/2000/XP, Linux, Mac OS X,
43
Compaq Tru64 Unix (aka OSF1, aka Digital Unix), Sun OS, IBM AIX, SGI
44
IRIX, FreeBSD and HP-UX. It should compile on any Unix-like operating
45
system, provided that you have access to a recent C and C++ compiler.
44
Gmsh is known to run on Windows 2000/XP/Vista, Mac OS X, Linux and
47
47
* 2.2 Are there additional requirements to run Gmsh?
50
50
the path of the library loader. A free replacement for OpenGL can be
51
51
found at http://www.mesa3d.org.
53
* 2.3 What do I need to compile Gmsh from the sources?
55
You need a C and a C++ compiler (e.g. the GNU compilers gcc and g++)
56
as well as the GSL (version 1.2 or higher; freely available from
57
http://sources.redhat.com/gsl/) and FLTK (version 1.1.x, configured
58
with OpenGL support; freely available from http://www.fltk.org).
60
* 2.4 How do I compile Gmsh?
62
Just type './configure; make; make install'. (Type './configure
63
--help' to get the list of all configuration options.)
53
* 2.3 How do I compile Gmsh from the source code?
55
You need a C++ compiler. On Unix-like systems just type './configure;
56
make; make install'. (Type './configure --help' to get the list of all
57
configuration options.) To compile Gmsh on Windows with Visual C++ see
60
Compiling a bare-bones non-graphical version of Gmsh does not require
61
any extra packages. To get a usable version you will need the Blas and
62
Lapack libraries. To build the graphical version you will need FLTK >=
63
1.1.7 (freely available from http://www.fltk.org), configured with
65
66
********************************************************************
97
98
* 3.5 How can I save GIF, JPEG, ..., images?
99
Just choose the appropriate format in 'File->Save As'.
100
Just choose the appropriate format in 'File->Save As'. By default Gmsh
101
guesses the format from the file extension, so you can just choose
102
"myfile.jpg" in the dialog.
101
104
* 3.6 How can I save MPEG, AVI, ..., animations?
109
112
* 4.1 Does Gmsh support NURBS curves/surfaces?
111
Yes, but only via STEP, IGES or BREP model import (not in .geo files).
114
Yes, but only via STEP, IGES or BREP model import (not in .geo
115
files). Gmsh has to be compiled with OpenCascade support for this to
113
118
* 4.2 Gmsh is very slow when I use many transformations (Translate,
114
119
Rotate, Symmetry, Extrude, etc. ). What's wrong?
129
134
* 4.3 How can I display only selected parts of my model?
131
Use 'Tool->Visibility'.
133
There are three main modes: 'Elementary entities', in which the
134
selections will apply to elementary geometrical entities; 'Physical
135
groups', in which the selections will apply to physical entities; and
136
'Mesh partitions', in which the selections will apply to mesh
139
If the 'Recursive' option is set, selecting an entity also selects all
140
its boundaries, recursively. For example, if 'Recursive' is set,
141
selecting a surface will automatically select its boundary curves, as
142
well as the boundaries of these curves (i.e., points).
144
In the 'Browser' tab, you can select which entities to show or hide in
145
a list (several entities can be selected at once by dragging the mouse
146
or by holding the Ctrl or Shift keys while clicking). In the
147
'Numerical input' tab, you can choose which entities to show or hide
148
by explicitly specifying their identification tags. In the
149
'Interactive' tab, you can hide/show entities using the mouse.
151
4.4 When compiled with OpenCascade support, Gmsh crashes at startup
153
Try changing these environment variables, which govern how OpenCascade
159
4.5 Can I edit STEP/IGES/BRep models?
136
Use 'Tools->Visibility'. This allows you to select elementary entities
137
and physical groups, as well as mesh elements, in a variety of ways
138
(in a list or tree browser, by identification number, interactively,
141
* 4.4 Can I edit STEP/IGES/BRep models?
161
143
Not yet. At the moment you can only change characteristic lengths and
162
144
define physical groups. The easiest way to do this is to merge the
172
154
* 5.1 What should I do when the 2D unstructured algorithm fails?
174
Verify that the 1D mesh does not self-intersect. If it does, use a
175
smaller characteristic length. If it doesn't, send us a bug report
176
(including your geometry).
156
Verify that the curves in the model do not self-intersect. If the
157
model has very small features (such that the smallest characteristic
158
length times the random perturbation factor Mesh.RandomFactor
159
approaches machine accuracy), try increasing Mesh.RandomFactor.
161
If everything fails send us a bug report with the version of your
162
operating system and the full geometry.
178
164
* 5.2 What should I do when the 3D unstructured algorithm fails?
180
Try the other 3D algorithms (Tool->Options->Mesh->General->3D
181
algorithm). If none works, try to adapt the characteristic lengths in
182
your input file so that the surface mesh better matches the
183
geometrical details of the model. If nothing works, send us a bug
184
report (including your geometry).
166
Verify that the surfaces in your model do not self-intersect or
167
partially overlap. If they don't, try the other 3D algorithms
168
(Tool->Options->Mesh->General->3D algorithm) or try to adapt the
169
characteristic lengths in your input file so that the surface mesh
170
better matches the geometrical details of the model.
172
If nothing works, send us a bug report (including your geometry).
186
174
* 5.3 The quality of the elements generated by the 3D algorithm is
197
185
* 5.5 Does Gmsh automatically couple unstructured tetrahedral meshes
198
186
and structured hexahedral meshed using pyramids?
200
No. We need you help to implement this.
188
No. We need your help to implement this.
202
190
* 5.6 Can I explicitly assign region numbers to extruded layers?
252
240
of the above. The clipping planes are defined using the four
253
241
coefficients A,B,C,D of the equation A*x+B*y+C*y+D=0, which can be
254
242
adjusted interactively by dragging the mouse in the input
255
fields. There is also one additional clipping plane available for
256
"cutting" only the mesh (by keeping entire elements), in
257
'Tools->Options->Mesh->Cutting'.
259
245
* 5.13 What is the signification of Rho, Eta and Gamma in
260
246
Tools->Statistics?
266
252
Rho ~ min_edge_length / max_edge_length
268
254
For the exact definitions, see Geo/MElement.cpp. The graphs plot the
269
the number of elements vs the quality measure.
255
the number of elements vs. the quality measure.
271
257
********************************************************************
294
280
The solver executable (for example, 'getdp.exe') has to be in your
295
281
path. If it is not, simply go to the solver options (the second tab in
296
the Solver dialog) and specify its location in the 'Executable' field.
282
the Solver dialog) and specify its location in the 'Command' field.
298
284
* 6.3 Can I launch Gmsh from my solver (instead of launching my solver
299
285
from Gmsh) in order to monitor a solution?
346
332
'Displacement factor' option. (Remember that you can drag the mouse in
347
333
all numeric input fields to slide the value!)
349
Another option is to use the "general transformation expressions" (in
335
Another option is to use the 'General transformation expressions' (in
350
336
View->Options->Offset) on a scalar view, with the displacement map
351
337
selected as the data source.
419
405
'View->Remove->Empty Views' in the GUI, or with "Delete Empty Views;"
422
* 7.13 My code generates data "time step by time step", and thus
423
cannot easily output Gmsh's multi-time-step post-processing files,
424
where the values for all the time steps are given per element. How can
425
I use Gmsh's post-processor in this situation?
427
Just create one view for each time step: Gmsh can handle an arbitrary
428
number of views and it can deal with these separate views as
429
efficiently as with a single multi-time-step view. The only
430
disadvantage is that the total amount of disk space used is greater
431
(since the node data is repeated for each time step).
433
In practice, depending on the size of the data set, you may want to
434
store all the views in a single file or create one separate file for
435
each view, which you can then load selectively (and thus reduce the
436
memory required for the analysis). In any case you can use
437
'Tools->Options->Post-processing->View links' to apply options to
438
multiple views at once, and the up and down arrow keys to loop through
439
(animate) the views (instead of the left and right arrow keys for
440
multi-time-step views).
442
Also note that if all the views are based on the same grid, Gmsh can
443
combine the separate views into a multi-time-step view by using the
444
'View->Combine->Time Steps' menu, or by using the '-combine' command
447
* 7.14 How can I see "inside" a complicated post-processing view?
408
* 7.13 How can I see "inside" a complicated post-processing view?
449
410
See question 5.12.
457
418
Yet another (destructive) option is to use the ExtractVolume option in
458
419
the CutSphere or CutPlane plugins.
460
* 7.15 I am loading a valid 3D scalar view but Gmsh does not display
421
* 7.14 I am loading a valid 3D scalar view but Gmsh does not display
463
In versions < 1.61, the default drawing mode for 3D scalar views was
464
to draw iso-surfaces. If your data set was constant per element, Gmsh
465
would not draw anything (a fix for this would be to run
466
Plugin(Smooth), which would average the data on the nodes of the
467
grid)... This behavior has changed in version 1.61, and Gmsh now draws
468
the solution on the boundary of the elements by default. Iso-surfaces
469
are of course still available by setting 'Intervals type' to
470
'Iso-values' in 'Tools->Options->View->Range'.
472
Note that the most efficient way to visualize the dataset on the
473
boundary of the elements is to run Plugin(Skin) on the view: this will
474
extract the boundary of the dataset and only draw the data on this
424
If your dataset is constant per element make sure you don't use the
425
'Iso-values' interval type in 'Tools->Options->View->Range'.