Gmsh - 3D finite element mesh generator with built-in CAD engine and post-processor
Contents
Description
Gmsh is a 3D finite element mesh generator with a build-in CAD engine and post-processor. Its design goal
is to provide a fast, light and user-friendly meshing tool with parametric input and flexible
visualization capabilities.
Gmsh is built around four modules (geometry, mesh, solver and post-processing), which can be controlled
with the graphical user interface, from the command line, using text files written in Gmsh's own
scripting language (.geo files), or through the C++, C, Python, Julia and Fortran application programming
interface.
Display Options
-n hide all meshes and post-processing views on startup.
-fontsizeint
specify the font size for the GUI.
-displaystring
specify display.
Geometry Options
-0 Output model, then exit.
-tolfloat
set geometrical tolerance.
Mesh Options
-1,-2,-3
perform 1D, 2D or 3D mesh generation, then exit.
-ofile
specify output file name.
-formatstring
set output mesh format (auto, msh, msh1, msh2, msh4, unv, vrml, stl, mesh, bdf, med, ...).
-bin
use binary format when available.
-saveall
save all elements (discard physical group definitions)
-algostring
select mesh algorithm (meshadapt, del2d, front2d, del3d, front3d, hxt, ...).
-parametric
save nodes with their parametric coordinates.
-partint
partition the mesh after batch mesh generation.
-smoothint
set number of mesh smoothing steps.
-orderint
set mesh order.
-clscalefloat
set global mesh element size scaling factor.
-clminfloat
set minimum mesh element size.
-clmaxfloat
set maximum mesh element size.
-randfloat
set random perturbation factor.
-bgmfile
load the post-processing view in file as the current background mesh.
-check
perform various consistency checks on mesh.
Name
Gmsh - 3D finite element mesh generator with built-in CAD engine and post-processor
Other Options
- parse input files, then exit.
-new
create new model before merge next file.
-merge
merge next files.
-open
ppen next files.
-a,-g,-m,-s,-p
start in automatic, geometry, mesh, solver or post-processing mode.
-pid
print pid on stdout.
-listenstring
always listen to incoming connection requests on the given socket (a default socket is used if not
specified).
-vint
set verbosity level.
-nopopup
don't popup dialog windows in scripts.
-setnumbernamevalue
set constant number name=value
-setstringnamevalue
set constant string name=value
-stringstring
parse option string at startup.
-optionfile
parse option file at startup.
-convertfiles
Convert files into latest binary formats, then exit.
-version
show version number.
-info
show detailed version information.
-help
show help message.
Post-Processing Options
-combine
combine input views into multi-time-step ones.
See Also
getdp(1), Gmsh examples (/usr/share/doc/gmsh), Gmsh homepage (https://gmsh.info). The full documentation for Gmsh is maintained as a Texinfo manual. If the info and gmsh programs are properly installed at your site, the command infogmsh should give you access to the complete manual. 4th Berkeley Distribution 7 May 2024 Gmsh(1)
Synopsis
gmsh[file(s)][option(s)]
