Gmsh
Gmsh Reference Manual
The documentation for Gmsh 4.0
A finite element mesh generator with built-in pre- and post-processing facilities
25 November 2018
Christophe Geuzaine
Jean-Fran¸cois Remacle
Copyright
c
1997-2018 Christophe Geuzaine, Jean-Fran¸cois Remacle
Permission is granted to make and distribute verbatim copies of this manual provided the
copyright notice and this permission notice are preserved on all copies.
i
Short Contents
Obtaining Gmsh. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Copying conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2 How to read this reference manual?. . . . . . . . . . . . . . . . . . . . . . . 9
3 Running Gmsh on your system . . . . . . . . . . . . . . . . . . . . . . . . . 11
4 General tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
5 Geometry module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
6 Mesh module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
7 Solver module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
8 Post-processing module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
9 File formats . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
A Tutorial . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127
B Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155
C Compiling the source code . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235
D Gmsh API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239
E Information for developers . . . . . . . . . . . . . . . . . . . . . . . . . . . . 277
F Frequently asked questions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 279
G Version history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 287
H Copyright and credits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 303
I License . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 307
Concept index. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 315
Syntax index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 317
评论2