Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gmsh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Larry Price
gmsh
Commits
74633268
Commit
74633268
authored
20 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
typos
parent
fecb8f6d
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/FAQ
+48
-44
48 additions, 44 deletions
doc/FAQ
with
48 additions
and
44 deletions
doc/FAQ
+
48
−
44
View file @
74633268
$Id: FAQ,v 1.5
7
2005-03-24
18:59:18
geuzaine Exp $
$Id: FAQ,v 1.5
8
2005-03-24
20:35:44
geuzaine Exp $
This is the Gmsh FAQ
This is the Gmsh FAQ
...
@@ -17,7 +17,7 @@ capabilities.
...
@@ -17,7 +17,7 @@ capabilities.
* 1.2 What are the terms and conditions of use?
* 1.2 What are the terms and conditions of use?
Gmsh is distributed under the terms of the GNU General Public
Gmsh is distributed under the terms of the GNU General Public
License. See the file doc/LICENSE for more information, or go to the
License. See the file
'
doc/LICENSE
'
for more information, or go to the
GNU foundation's web site at http://www.gnu.org.
GNU foundation's web site at http://www.gnu.org.
* 1.3 What does 'Gmsh' mean?
* 1.3 What does 'Gmsh' mean?
...
@@ -29,10 +29,10 @@ Nothing ;-)
...
@@ -29,10 +29,10 @@ Nothing ;-)
* 1.4 Where can I find more information?
* 1.4 Where can I find more information?
<
http://www.geuz.org/gmsh/
>
is the primary location to obtain
http://www.geuz.org/gmsh/ is the primary location to obtain
information about Gmsh. You will for example find a complete reference
information about Gmsh. You will for example find a complete reference
manual as well as a searchable archive of the Gmsh mailing list
manual as well as a searchable archive of the Gmsh mailing list
(
<
gmsh@geuz.org
>
) on this webpage.
(gmsh@geuz.org) on this webpage.
********************************************************************
********************************************************************
...
@@ -49,7 +49,7 @@ system, provided that you have access to a recent C and C++ compiler.
...
@@ -49,7 +49,7 @@ system, provided that you have access to a recent C and C++ compiler.
You should have the OpenGL libraries installed on your system, and in
You should have the OpenGL libraries installed on your system, and in
the path of the library loader. A free replacement for OpenGL can be
the path of the library loader. A free replacement for OpenGL can be
found at
<
http://www.mesa3d.org
>
.
found at http://www.mesa3d.org.
* 2.3 What do I need to compile Gmsh from the sources?
* 2.3 What do I need to compile Gmsh from the sources?
...
@@ -62,24 +62,21 @@ the libpng and zlib libraries if you want to save png images.
...
@@ -62,24 +62,21 @@ the libpng and zlib libraries if you want to save png images.
Under Windows, you will need the Cygwin tools and compilers (freely
Under Windows, you will need the Cygwin tools and compilers (freely
available from http://www.cygwin.com), as well as "cygwin-enabled"
available from http://www.cygwin.com), as well as "cygwin-enabled"
version of FLTK (i.e., you have to configure FLTK with
"
./configure
version of FLTK (i.e., you have to configure FLTK with
'
./configure
--enable-cygwin
"
).
--enable-cygwin
'
).
* 2.4 How to I compile Gmsh?
* 2.4 How to I compile Gmsh?
Just type
Just type './configure; make; make install'. If you change some
configuration options (type './configure --help' to get the list of
./configure; make; make install
all available choices), don't forget to do 'make clean' before
rebuilding Gmsh.
If you change some configuration options (type ./configure --help to
get the list of all available choices), don't forget to do 'make
clean' before rebuilding Gmsh.
********************************************************************
********************************************************************
Section 3: General problems
Section 3: General problems
* 3.1 Gmsh
[
from a binary distribution
]
complains about missing
* 3.1 Gmsh
(
from a binary distribution
)
complains about missing
libraries.
libraries.
Try 'ldd gmsh' (or 'otool -L gmsh' on Mac OS X) to check if all the
Try 'ldd gmsh' (or 'otool -L gmsh' on Mac OS X) to check if all the
...
@@ -95,18 +92,25 @@ Disable opaque move in your window manager.
...
@@ -95,18 +92,25 @@ Disable opaque move in your window manager.
* 3.3 The graphics display very slowly.
* 3.3 The graphics display very slowly.
Are you are executing Gmsh from a remote host (via the network)
Are you are executing Gmsh from a remote host (via the network)
without GLX? You should turn double buffering off (with the -nodb
without GLX? You should turn double buffering off (with the
'
-nodb
'
command line option).
command line option).
* 3.4 Why is there an ugly "ghost" triangulation in the vector
* 3.4 There is an ugly "ghost triangulation" in the vector
PostScript/PDF files generated by Gmsh?
PostScript/PDF files generated by Gmsh!
No, there isn't. This "ghost triangulation" is due to the fact that
most PostScript previewers nowadays antialias the graphic primitives
when they display the page on screen. (For example, in gv, you can
disable antialising with the 'State->Antialias' menu.) You should not
see this ghost triangulation in the printed output (on paper).
* 3.5 How can I save GIF, JPEG, ..., images?
Just choose the appropriate format in 'File->Save As'.
* 3.6 How can I save MPEG, AVI, ..., animations?
Actually, there isn't. This "ghost triangulation" is due to the fact
See question 7.9.
that most PostScript previewers nowadays antialias the graphic
primitives when they display the page on screen. (For example, in gv,
you can disable antialising with the 'State->Antialias' menu.) You
should not see this ghost triangulation in the printed output (on
paper).
********************************************************************
********************************************************************
...
@@ -140,9 +144,9 @@ Section 5: Mesh module
...
@@ -140,9 +144,9 @@ Section 5: Mesh module
* 5.1 What should I do when the 2D unstructured algorithm fails?
* 5.1 What should I do when the 2D unstructured algorithm fails?
Try one of the other 2D algorithms, e.g.:
Try one of the other 2D algorithms, e.g.:
- on the command line: gmsh -algo tri
- on the command line:
'
gmsh -algo tri
'
- in the interface: Tools->Options->Mesh->2D->Isotropic algorithm (Triangle)
- in the interface:
'
Tools->Options->Mesh->2D->Isotropic algorithm (Triangle)
'
- in input files: Mesh.Algorithm = 3
- in input files:
'
Mesh.Algorithm = 3
'
The old 2D algorithm may disappear once all its features are
The old 2D algorithm may disappear once all its features are
integrated in the new ones, so please don't send bug reports on the
integrated in the new ones, so please don't send bug reports on the
old algorithm anymore.
old algorithm anymore.
...
@@ -180,7 +184,7 @@ very big meshes, see the answer to the previous question...
...
@@ -180,7 +184,7 @@ very big meshes, see the answer to the previous question...
* 5.6 The quality of the elements generated by the 3D algorithm is
* 5.6 The quality of the elements generated by the 3D algorithm is
very bad.
very bad.
Upgrade to Gmsh >= 1.54 and use
"
Optimize quality
"
. If badly shaped
Upgrade to Gmsh >= 1.54 and use
'
Optimize quality
'
. If badly shaped
elements still exist due to the surface recovery step, you can try to
elements still exist due to the surface recovery step, you can try to
use Netgen instead of the default algorithm for the 3D mesh. Note that
use Netgen instead of the default algorithm for the 3D mesh. Note that
all surface meshes have to be oriented with exterior normals in this
all surface meshes have to be oriented with exterior normals in this
...
@@ -196,10 +200,10 @@ hexahedra instead of tetrahedra.
...
@@ -196,10 +200,10 @@ hexahedra instead of tetrahedra.
This is fixed in Gmsh >= 1.54. However, when region numbers are
This is fixed in Gmsh >= 1.54. However, when region numbers are
explicitly assigned to mesh entities in the extrude commands (which
explicitly assigned to mesh entities in the extrude commands (which
partially destroys the geometry/mesh relationship), the Visibility
partially destroys the geometry/mesh relationship), the
'
Visibility
'
tool will only work as expected when displaying
E
lementary
tool will only work as expected when displaying
e
lementary
entities. In this particular case, the only solution to visualize
entities. In this particular case, the only solution to visualize
extruded
P
hysical entities is to save the mesh, and to read it again.
extruded
p
hysical entities is to save the mesh, and to read it again.
* 5.9 Does Gmsh support curved elements?
* 5.9 Does Gmsh support curved elements?
...
@@ -213,7 +217,7 @@ option panel. From the command line, you can also use '-order 2'.
...
@@ -213,7 +217,7 @@ option panel. From the command line, you can also use '-order 2'.
build a 3D mesh?
build a 3D mesh?
Yes, either in the form of a STL triangulation, or by using the
Yes, either in the form of a STL triangulation, or by using the
"
Discrete Surface
"
commands. Note that Gmsh cannot currently modify
'
Discrete Surface
'
commands. Note that Gmsh cannot currently modify
the surface mesh you provide in this way, so the surface mesh has to
the surface mesh you provide in this way, so the surface mesh has to
be conform (without gaps, hanging nodes, etc.) and must contain
be conform (without gaps, hanging nodes, etc.) and must contain
surface elements having the (final) desired sizes.
surface elements having the (final) desired sizes.
...
@@ -228,8 +232,8 @@ of elements, and it is up to the solver to interpret these tags as
...
@@ -228,8 +232,8 @@ of elements, and it is up to the solver to interpret these tags as
boundary conditions, materials, etc. Associating tags with elements in
boundary conditions, materials, etc. Associating tags with elements in
Gmsh is done by defining Physical entities (Physical Points, Physical
Gmsh is done by defining Physical entities (Physical Points, Physical
Lines, Physical Surfaces and Physical Volumes): see the reference
Lines, Physical Surfaces and Physical Volumes): see the reference
manual as well as the tutorials (in particular tutorial/t1.geo) for
a
manual as well as the tutorials (in particular
'
tutorial/t1.geo
'
) for
detailed description and some examples.
a
detailed description and some examples.
********************************************************************
********************************************************************
...
@@ -249,14 +253,14 @@ calls inside your program. You will of course also need to define your
...
@@ -249,14 +253,14 @@ calls inside your program. You will of course also need to define your
solver commands in an option file, but this time you should set the
solver commands in an option file, but this time you should set the
ClientServer variable to 1 (e.g. Solver.ClientServer = 1). C, C++,
ClientServer variable to 1 (e.g. Solver.ClientServer = 1). C, C++,
Perl and Python solver examples are available in the source
Perl and Python solver examples are available in the source
distribution in the utils/solvers directory.
distribution in the
'
utils/solvers
'
directory.
* 6.2 On Windows, Gmsh does not seem to find the solver
* 6.2 On Windows, Gmsh does not seem to find the solver
executable. What's wrong?
executable. What's wrong?
The solver executable (for example, 'getdp.exe') has to be in your
The solver executable (for example, 'getdp.exe') has to be in your
path. If not, simply go to the solver options (for example,
path. If not, simply go to the solver options (for example,
Solver->GetDP->Options->Executable) to specify its location.
'
Solver->GetDP->Options->Executable
'
) to specify its location.
On recent versions of Microsoft Windows (XP SP2), it seems that you
On recent versions of Microsoft Windows (XP SP2), it seems that you
need to execute the solver (e.g. launch 'getdp.exe') at least once
need to execute the solver (e.g. launch 'getdp.exe') at least once
...
@@ -276,10 +280,10 @@ Section 7: Post-processing module
...
@@ -276,10 +280,10 @@ Section 7: Post-processing module
Use 'View->Plugins->Cut Plane'.
Use 'View->Plugins->Cut Plane'.
* 7.2 Can I save isosurface
s
to a file
s
?
* 7.2 Can I save
an
isosurface to a file?
Yes: first run
the
CutMap
plugin
to extract the isosurface,
then use
Yes: first run
'View->Plugins->
Cut
Map
'
to extract the isosurface,
'View->Save As' to save the new view.
then use
'View->Save As' to save the new view.
* 7.3 Can Gmsh generate isovolumes?
* 7.3 Can Gmsh generate isovolumes?
...
@@ -323,9 +327,9 @@ point to the second view. (You might want to make the second view
...
@@ -323,9 +327,9 @@ point to the second view. (You might want to make the second view
invisible, too. If you want to amplify or decrease the amount of
invisible, too. If you want to amplify or decrease the amount of
deformation, just modify the 'Displacement factor' option.)
deformation, just modify the 'Displacement factor' option.)
Another solution is to use the
"g
eneral transformation expressions
"
Another solution is to use the
'G
eneral transformation expressions
'
(in View->Options->Offset) on the field you want to display, with
the
(in
'
View->Options->Offset
'
) on the field you want to display, with
displacement map selected as the transformation data source.
the
displacement map selected as the transformation data source.
And yet another solution is to use the DiplacementRaise plugin.
And yet another solution is to use the DiplacementRaise plugin.
...
@@ -343,8 +347,8 @@ Yes, using the CutMap plugin.
...
@@ -343,8 +347,8 @@ Yes, using the CutMap plugin.
* 7.9 Is there a way to save animations?
* 7.9 Is there a way to save animations?
Yes
. For example, h
ave a look at tutorial/t8.geo or
Yes
, using scripts. H
ave a look at
'
tutorial/t8.geo
'
or
demos/anim.script.
'
demos/anim.script
' for an example
.
* 7.10 Is there a way to visualize only certain components of
* 7.10 Is there a way to visualize only certain components of
vector/tensor fields?
vector/tensor fields?
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment