Graphical User Interface
Accessing the option is done through the menu
shift + ctrl + N). This menu is decomposed into numerous categories:
- Plus eventually the post processing views:
View , …
In GMSH, a
View corresponds to a function visualized on a mesh.
Please use the bottom buttons
Z to reset the camera along an axis. The
1:1 button reset the scale (zoom).
They are divided into different tabs.
General (yes, again)
The options that can be usefull for this tutorial are:
Use dark interface: better for our eyes (at least, mine)
Show bounding box: draw corners (and coordinates) of the bounding box of the geometry
File->Save options as default.
You can here delete the small axis displayed on bottom right. This is particularly usefull when doing screen shot or saving nice figures.
It’s here possible to move the light source (on top right). This lighting effect can also be deleted in the tab of each
The most usefull option in the tab
Visibility is to display normal and tangeant vectors of surfaces, and the checkbox to display (or not) surfaces and volumes.
Visibility tab propose to display:
- 1D element (segment) which are not displayed by default. This can be sometimes confusing when reading a 1D mesh.
- The face of the element to make then opaque
- Normal and Tangent vectors (bottom)
View options (Post-Processing)
View categorie contains different tabs:
It’s possible to save the option associated to particular
File->Save Model Option. A
.opt file is then created and the next time GMSH open the post-processing file, the chosen options are again loaded (camera position, …).
(Most) Interesting are:
Interval type: Never chose “numeric values”, otherwise GMSH will probably crash due to too many number to display.
filled isovaluesare really interesting for visualisation.
Per Time Step
Step: In GMSH,
Stepare time step, but also real part (
Step 0) and imaginary part (
You can try it.
Draw element outlinesis used to superimposed (or not) the mesh onto the
Time Display: for complex time-independent function, select
Harmonic Datato display “real part” and “imaginary part” in the title of
This is where the
View (not the function!) can be transformed:
- Translation, Rotation, … according to the matrix (rotation) and vector (translation)
Normal Raise: plot a 2D solution in 3D (example below)
You can here desactivate the lighting effect with
Some pre-defined colormaps are available by typing 0,1,2,3…,9.
These plugins are accessible in
Tools->Plugins menu. They can modify the data and make some simple operations on them.
Compute the modulus and the phase of a
View is here override.
It can be launched with the default parameter as long as the
View to work on is selected (-1= current
Compute a mathematical operation on the component (if vector data or tensor data) of the
View from memory, reload it, …
Viewcan be set to visible or not using the checkbox close to its name
- Deleting a
Viewfrom the memory: click on the arrow on the right of the name of the view. Then in the dropdown menu select
Viewcan be removed at once, too.
- Reloading a
Viewcan be done by typing
ror in its dropdown menu by selecting
Image exportation (png, jpg, …)
In the menu, select
Files->Export and then chose the desired output format, or type the full name of the output file and GMSH will guess its format from the extension you provide (png, jpg, …).