[Gmsh] anisostropic meshing / bamg algorithm

Martin Vymazal martin.vymazal at vki.ac.be
Thu Feb 16 14:20:40 CET 2012


Hello Matthias,

 you can specify the entries of the mesh metric using a field which is called 
'MathEvalAniso'. In case you have svn sources of gmsh, you can find an example 
using MathEvalAniso in GMSH_SOURCE_ROOT/benchmarks/3d/CubeAniso.geo

The source code of this field is in Mesh/Field.[h/cpp]

Some more examples concerning background fields and their usage are also 
available in gmsh reference manual.

Best regards,

  Martin Vymazal



On Thursday 16 February 2012 13:05:33 Zenker, Dr. Matthias wrote:

Hi Martin,
 
thank you for your answer. How do I define such an anisotropic mesh size field? 
Do you have a short example, or is this described somewhere? I did not find it 
in the Reference manual.
 
Best regards,
 
Matthias
 
Von: Martin Vymazal [mailto:martin.vymazal at vki.ac.be] 
Gesendet: Donnerstag, 16. Februar 2012 12:17
An: gmsh at geuz.org
Betreff: Re: [Gmsh] anisostropic meshing / bamg algorithm
 
Hello Matthias,
 
you can use the bamg algorithm by calling 'gmsh -2 -algo bamg my_file.geo' from 
command line. For 3d anisotropic mesh, you do the same with '-3 -algo mmg3d'. 
 
You need to supply a mesh size field which will tell the anisotropic algorithm 
in which direction to refine the mesh.
 
Best regards,
 
Martin Vymazal
 
 
On Thursday 16 February 2012 10:56:06 Zenker, Dr. Matthias wrote:
Hi,
 
does anyone have an answer to the question below?
 
It was said that an anisotropic mesh can be achieved using the bamg algorithm. 
I have some questions:
 
1.                   My 3D geometry consists of several layers stacked in z 
direction. Some of these layers are rather thin. I would like to have a mesh 
which is finer in z direction than in x and y direction. Can this be achieved 
using the bamg algorithm? If so, how?
2.                   How can I access this algorithm from the GUI? I did not 
find it in Options – Mesh.
3.                   If not accessible from the GUI, how else can I use it?
4.                   Is there any documentation available concerning this 
topic? I did not find anything in the gmsh manual (which is from October 2010 
btw).
 
Thank you,
 
Matthias
 
 
----------------------------------------------------------------
ERBE Elektromedizin GmbH
Dr.rer.nat. Matthias Zenker
Dipl. Phys.
Grundlagenentwicklung / Fundamental Development
Waldhoernlestrasse 17
72072 Tuebingen
Germany
Phone + 49 (0) 7071 755 - 226
Fax + 49 (0) 7071 755 - 5226
E-Mail: <mailto:Matthias.Zenker at erbe-med.com>
URL: http://www.ERBE-med.com
----------------------------------------------------------------
 
 


_____________________________________________________________________
ERBE Elektromedizin GmbH
Firmensitz: 72072 Tuebingen
Geschaeftsfuehrer: Christian O. Erbe, Reiner Thede
Registergericht: Stuttgart HRB 380137
 


_____________________________________________________________________
ERBE Elektromedizin GmbH
Firmensitz: 72072 Tuebingen
Geschaeftsfuehrer: Christian O. Erbe, Reiner Thede
Registergericht: Stuttgart HRB 380137




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20120216/25911e2c/attachment.html>