<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style>
<!--
@font-face
        {font-family:Calibri}
@font-face
        {font-family:Tahoma}
@font-face
        {font-family:"Sans Serif"}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif"}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline}
p
        {margin-right:0cm;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif"}
span.E-MailFormatvorlage18
        {font-family:"Calibri","sans-serif";
        color:#1F497D}
.MsoChpDefault
        {font-size:10.0pt}
@page WordSection1
        {margin:70.85pt 70.85pt 2.0cm 70.85pt}
div.WordSection1
        {}
ol
        {margin-bottom:0cm}
ul
        {margin-bottom:0cm}
-->
</style>
</head>
<body lang="DE" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">Hi,</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">I still do not succeed in creating an anisotropic mesh as I would like to. My problem is as follows:</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">I have a structure consisting of several stacked layers of different thickness (see attached file for an example). In the x-y plane, the mesh
 can be rather coarse (say the same with for all geometric layers), whereas in z direction, I would like to have at least 2 layers of mesh elements per geometry layer. This means that the mesh width in z direction should be small inside a thin layer, and can
 be wider inside a wide layer (e.g. the one at the bottom). How do I achieve this? I have tried to use the MathEvalAniso field, and I have succeeded to create an anisotropic mesh for a simple cube. But I do not fully understand from the reference manual how
 to use this field the right way - my math knowledge seems not to be enough to understand from the Wikipedia article what the metric tensor does. I would need the mesh width to depend on z, resp. on the geometric layer, so I would have to declare several Aniso
 fields and attach them somehow to the layers of my structure.</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">Could someone give me some hints on how to proceed here?</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">Thank you in advance,</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">Matthias</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<div>
<div style="border:none; border-top:solid #B5C4DF 1.0pt; padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt; font-family:"Tahoma","sans-serif"">Von:</span></b><span lang="EN-US" style="font-size:10.0pt; font-family:"Tahoma","sans-serif""> Martin Vymazal [mailto:martin.vymazal@vki.ac.be]
<br>
<b>Gesendet:</b> Donne</span><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"">rstag, 16. Februar 2012 12:17<br>
<b>An:</b> gmsh@geuz.org<br>
<b>Betreff:</b> Re: [Gmsh] anisostropic meshing / bamg algorithm</span></p>
</div>
</div>
<p class="MsoNormal"> </p>
<p style="margin:0cm; margin-bottom:.0001pt"><span style="font-size:9.0pt; font-family:"Sans Serif","serif"">Hello Matthias,</span></p>
<p style="margin:0cm; margin-bottom:.0001pt"><span style="font-size:9.0pt; font-family:"Sans Serif","serif""> </span></p>
<p style="margin:0cm; margin-bottom:.0001pt"><span style="font-size:9.0pt; font-family:"Sans Serif","serif"">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'. </span></p>
<p style="margin:0cm; margin-bottom:.0001pt"><span style="font-size:9.0pt; font-family:"Sans Serif","serif""> </span></p>
<p style="margin:0cm; margin-bottom:.0001pt"><span style="font-size:9.0pt; font-family:"Sans Serif","serif"">You need to supply a mesh size field which will tell the anisotropic algorithm in which direction to refine the mesh.</span></p>
<p style="margin:0cm; margin-bottom:.0001pt"><span style="font-size:9.0pt; font-family:"Sans Serif","serif""> </span></p>
<p style="margin:0cm; margin-bottom:.0001pt"><span style="font-size:9.0pt; font-family:"Sans Serif","serif"">Best regards,</span></p>
<p style="margin:0cm; margin-bottom:.0001pt"><span style="font-size:9.0pt; font-family:"Sans Serif","serif""> </span></p>
<p style="margin:0cm; margin-bottom:.0001pt"><span style="font-size:9.0pt; font-family:"Sans Serif","serif"">Martin Vymazal</span></p>
<p style="margin:0cm; margin-bottom:.0001pt"><span style="font-size:9.0pt; font-family:"Sans Serif","serif""> </span></p>
<p style="margin:0cm; margin-bottom:.0001pt"><span style="font-size:9.0pt; font-family:"Sans Serif","serif""> </span></p>
<p style="margin:0cm; margin-bottom:.0001pt"><span style="font-size:9.0pt; font-family:"Sans Serif","serif"">On Thursday 16 February 2012 10:56:06 Zenker, Dr. Matthias wrote:</span></p>
<p style="margin-right:0cm; margin-bottom:0cm; margin-left:0cm; margin-bottom:.0001pt">
<span style="font-size:11.0pt; font-family:"Calibri","sans-serif"">Hi,</span><span style="font-size:9.0pt; font-family:"Sans Serif","serif""></span></p>
<p style="margin:0cm; margin-bottom:.0001pt"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span><span style="font-size:9.0pt; font-family:"Sans Serif","serif""></span></p>
<p style="margin:0cm; margin-bottom:.0001pt"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">does anyone have an answer to the question below?</span><span style="font-size:9.0pt; font-family:"Sans Serif","serif""></span></p>
<p style="margin:0cm; margin-bottom:.0001pt"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif""> </span><span style="font-size:9.0pt; font-family:"Sans Serif","serif""></span></p>
<p style="margin:0cm; margin-bottom:.0001pt"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"">It was said that an anisotropic mesh can be achieved using the bamg algorithm. I have some questions:</span><span style="font-size:9.0pt; font-family:"Sans Serif","serif""></span></p>
<p style="margin:0cm; margin-bottom:.0001pt"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif""> </span><span style="font-size:9.0pt; font-family:"Sans Serif","serif""></span></p>
<p class="MsoNormal" style="margin-left:36.0pt; text-indent:0cm"><span style="font-size:9.0pt; font-family:"Sans Serif","serif""><span style="">1.<span style="font:7.0pt "Times New Roman"">                  
</span></span></span><span style="font-family:"Sans Serif","serif"">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?</span><span style="font-size:9.0pt; font-family:"Sans Serif","serif""></span></p>
<p class="MsoNormal" style="margin-left:36.0pt; text-indent:0cm"><span style="font-size:9.0pt; font-family:"Sans Serif","serif""><span style="">2.<span style="font:7.0pt "Times New Roman"">                  
</span></span></span><span style="font-family:"Sans Serif","serif"">How can I access this algorithm from the GUI? I did not find it in Options – Mesh.</span><span style="font-size:9.0pt; font-family:"Sans Serif","serif""></span></p>
<p class="MsoNormal" style="margin-left:36.0pt; text-indent:0cm"><span style="font-size:9.0pt; font-family:"Sans Serif","serif""><span style="">3.<span style="font:7.0pt "Times New Roman"">                  
</span></span></span><span style="font-family:"Sans Serif","serif"">If not accessible from the GUI, how else can I use it?</span><span style="font-size:9.0pt; font-family:"Sans Serif","serif""></span></p>
<p class="MsoNormal" style="margin-left:36.0pt; text-indent:0cm"><span style="font-size:9.0pt; font-family:"Sans Serif","serif""><span style="">4.<span style="font:7.0pt "Times New Roman"">                  
</span></span></span><span style="font-family:"Sans Serif","serif"">Is there any documentation available concerning this topic? I did not find anything in the gmsh manual (which is from October 2010 btw).</span><span style="font-size:9.0pt; font-family:"Sans Serif","serif""></span></p>
<p style="margin:0cm; margin-bottom:.0001pt"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif""> </span><span style="font-size:9.0pt; font-family:"Sans Serif","serif""></span></p>
<p style="margin:0cm; margin-bottom:.0001pt"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"">Thank you,</span><span style="font-size:9.0pt; font-family:"Sans Serif","serif""></span></p>
<p style="margin:0cm; margin-bottom:.0001pt"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif""> </span><span style="font-size:9.0pt; font-family:"Sans Serif","serif""></span></p>
<p style="margin:0cm; margin-bottom:.0001pt"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"">Matthias</span><span style="font-size:9.0pt; font-family:"Sans Serif","serif""></span></p>
<p style="margin:0cm; margin-bottom:.0001pt"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif""> </span><span style="font-size:9.0pt; font-family:"Sans Serif","serif""></span></p>
<p style="margin:0cm; margin-bottom:.0001pt"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span><span style="font-size:9.0pt; font-family:"Sans Serif","serif""></span></p>
<p style="margin:0cm; margin-bottom:.0001pt"><span style="font-size:10.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">----------------------------------------------------------------</span><span style="font-size:9.0pt; font-family:"Sans Serif","serif""></span></p>
<p style="margin:0cm; margin-bottom:.0001pt"><span style="font-size:10.0pt; font-family:"Arial","sans-serif"; color:#1F497D">ERBE Elektromedizin GmbH</span><span style="font-size:9.0pt; font-family:"Sans Serif","serif""></span></p>
<p style="margin:0cm; margin-bottom:.0001pt"><span style="font-size:10.0pt; font-family:"Arial","sans-serif"; color:#1F497D">Dr.rer.nat. Matthias Zenker</span><span style="font-size:9.0pt; font-family:"Sans Serif","serif""></span></p>
<p style="margin:0cm; margin-bottom:.0001pt"><span style="font-size:10.0pt; font-family:"Arial","sans-serif"; color:#1F497D">Dipl. Phys.</span><span style="font-size:9.0pt; font-family:"Sans Serif","serif""></span></p>
<p style="margin:0cm; margin-bottom:.0001pt"><span style="font-size:10.0pt; font-family:"Arial","sans-serif"; color:#1F497D">Grundlagenentwicklung / Fundamental Development</span><span style="font-size:9.0pt; font-family:"Sans Serif","serif""></span></p>
<p style="margin:0cm; margin-bottom:.0001pt"><span style="font-size:10.0pt; font-family:"Arial","sans-serif"; color:#1F497D">Waldhoernlestrasse 17</span><span style="font-size:9.0pt; font-family:"Sans Serif","serif""></span></p>
<p style="margin:0cm; margin-bottom:.0001pt"><span style="font-size:10.0pt; font-family:"Arial","sans-serif"; color:#1F497D">72072 Tuebingen</span><span style="font-size:9.0pt; font-family:"Sans Serif","serif""></span></p>
<p style="margin:0cm; margin-bottom:.0001pt"><span style="font-size:10.0pt; font-family:"Arial","sans-serif"; color:#1F497D">Germany</span><span style="font-size:9.0pt; font-family:"Sans Serif","serif""></span></p>
<p style="margin:0cm; margin-bottom:.0001pt"><span style="font-size:10.0pt; font-family:"Arial","sans-serif"; color:#1F497D">Phone + 49 (0) 7071 755 - 226</span><span style="font-size:9.0pt; font-family:"Sans Serif","serif""></span></p>
<p style="margin:0cm; margin-bottom:.0001pt"><span style="font-size:10.0pt; font-family:"Arial","sans-serif"; color:#1F497D">Fax + 49 (0) 7071 755 - 5226</span><span style="font-size:9.0pt; font-family:"Sans Serif","serif""></span></p>
<p style="margin:0cm; margin-bottom:.0001pt"><span style="font-size:10.0pt; font-family:"Arial","sans-serif"; color:#1F497D">E-Mail: <</span><span style="font-size:9.0pt; font-family:"Sans Serif","serif""><a href="mailto:Matthias.Zenker@erbe-med.com"><span style="font-size:10.0pt; font-family:"Arial","sans-serif"; color:#0057AE">mailto:Matthias.Zenker@erbe-med.com</span></a></span><span style="font-size:10.0pt; font-family:"Arial","sans-serif"; color:#1F497D">></span><span style="font-size:9.0pt; font-family:"Sans Serif","serif""></span></p>
<p style="margin:0cm; margin-bottom:.0001pt"><span style="font-size:10.0pt; font-family:"Arial","sans-serif"; color:#1F497D">URL:
</span><span style="font-size:9.0pt; font-family:"Sans Serif","serif""><a href="http://www.ERBE-med.com"><span style="font-size:10.0pt; font-family:"Arial","sans-serif"; color:#0057AE">http://www.ERBE-med.com</span></a></span></p>
<p style="margin:0cm; margin-bottom:.0001pt"><span style="font-size:10.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">----------------------------------------------------------------</span><span style="font-size:9.0pt; font-family:"Sans Serif","serif""></span></p>
<p style="margin:0cm; margin-bottom:.0001pt"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span><span style="font-size:9.0pt; font-family:"Sans Serif","serif""></span></p>
<p style="margin:0cm; margin-bottom:.0001pt"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span><span style="font-size:9.0pt; font-family:"Sans Serif","serif""></span></p>
<p style="margin-right:0cm; margin-bottom:12.0pt; margin-left:0cm"><br>
<br>
_____________________________________________________________________<br>
ERBE Elektromedizin GmbH<br>
Firmensitz: 72072 Tuebingen<br>
Geschaeftsfuehrer: Christian O. Erbe, Reiner Thede<br>
Registergericht: Stuttgart HRB 380137<span style="font-size:9.0pt; font-family:"Sans Serif","serif""></span></p>
<p style="margin-right:0cm; margin-bottom:12.0pt; margin-left:0cm"><span style="font-size:9.0pt; font-family:"Sans Serif","serif""> </span></p>
</div>
<br>
<br>
_____________________________________________________________________<br>
ERBE Elektromedizin GmbH<br>
Firmensitz: 72072 Tuebingen<br>
Geschaeftsfuehrer: Christian O. Erbe, Reiner Thede<br>
Registergericht: Stuttgart HRB 380137<br>
<br>
</body>
</html>