gmsh1
3d finite element mesh generator with built-in cad engine and post-processor
Usage
gmsh [file(s)]
[option(s)]
Overview
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.
Options
-
-0 -
Output model, then exit.
-
-tol float -
set geometrical tolerance.
Options
-
-1, -2, -3 -
perform 1D, 2D or 3D mesh generation, then exit.
-
-o file -
specify output file name.
-
-format string -
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)
-
-algo string -
select mesh algorithm (meshadapt, del2d, front2d, del3d, front3d, hxt, ...).
-
-parametric -
save nodes with their parametric coordinates.
-
-part int -
partition the mesh after batch mesh generation.
-
-smooth int -
set number of mesh smoothing steps.
-
-order int -
set mesh order.
-
-clscale float -
set global mesh element size scaling factor.
-
-clmin float -
set minimum mesh element size.
-
-clmax float -
set maximum mesh element size.
-
-rand float -
set random perturbation factor.
-
-bgm file -
load the post-processing view in file as the current background mesh.
-
-check -
perform various consistency checks on mesh.
Options
-
-combine -
combine input views into multi-time-step ones.
Options
-
-n -
hide all meshes and post-processing views on startup.
-
-fontsize int -
specify the font size for the GUI.
-
-display string -
specify display.
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.
-
-listen string -
always listen to incoming connection requests on the given socket (a default socket is used if not specified).
-
-v int -
set verbosity level.
-
-nopopup -
don't popup dialog windows in scripts.
-setnumber name value
|
set constant number name=value |
|---|---|
-setstring name value
|
set constant string name=value |
-
-string string -
parse option string at startup.
-
-option file -
parse option file at startup.
-
-convert files -
Convert files into latest binary formats, then exit.
-
-version -
show version number.
-
-info -
show detailed version information.
-
-help -
show help message.
Releases
10 releases since Debian 3.1 (Sarge); the text changed 9 times.
-bin since Debian 5.0 (Lenny);
-check since Debian 8 (Jessie);
-clmax since Debian 5.0 (Lenny);
-clmin since Debian 5.0 (Lenny);
-convert since Debian 5.0 (Lenny);
-listen since Debian 4.0 (Etch);
-merge since Debian 10 (Buster);
-n since Debian 10 (Buster);
-new since Debian 10 (Buster);
-open since Debian 10 (Buster);
-parametric since Debian 10 (Buster);
-part since Debian 6.0 (Squeeze);
-tol since Debian 5.0 (Lenny).
-clcurv until Debian 9 (Stretch);
-constrain until Debian 5.0 (Lenny);
-extrude until Debian 4.0 (Etch);
-histogram until Debian 4.0 (Etch);
-interactive until Debian 4.0 (Etch);
-link until Debian 9 (Stretch);
-meshscale until Debian 4.0 (Etch);
-nodb until Debian 9 (Stretch);
-noview until Debian 9 (Stretch);
-optimize until Debian 9 (Stretch);
-recombine until Debian 4.0 (Etch);
-scale until Debian 4.0 (Etch);
-scheme until Debian 4.0 (Etch);
-theme until Debian 9 (Stretch).