<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
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
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
pre
{mso-style-priority:99;
mso-style-link:"HTML Vorformatiert Zchn";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
span.HTMLVorformatiertZchn
{mso-style-name:"HTML Vorformatiert Zchn";
mso-style-priority:99;
mso-style-link:"HTML Vorformatiert";
font-family:"Consolas","serif";}
span.E-MailFormatvorlage20
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="DE" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">„conformal“ means that the mesh should be unique for interfaces between touching bodies.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">In order to achieve that, you need to make sure that no interface between bodies is duplicated.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">If you have a smaller surface on top of a larger one, you have to define the larger surface with the boundary line of the smaller one as a hole
- that is what you did with surfaces 200 and 201. <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Then just define your rectangular volume using both surfaces. You don’t need to make a compound or the like.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">HTH,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Matthias<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">Von:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> I+D Magna Medic [mailto:ingenieria@magnamedic.com]
<br>
<b>Gesendet:</b> Dienstag, 6. Oktober 2015 12:23<br>
<b>An:</b> gmsh@geuz.org<br>
<b>Betreff:</b> [Gmsh] Conformal surfaces.<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p><span style="font-size:10.0pt;font-family:"Verdana","sans-serif"">Dear gMeshers,<o:p></o:p></span></p>
<p><span style="font-size:10.0pt;font-family:"Verdana","sans-serif"">I want to build three volumes as input mesh for my solver software (ELMER). In order to make the current flow I've been adviced to make the surfaces between them "conformal".<o:p></o:p></span></p>
<p><span style="font-size:10.0pt;font-family:"Verdana","sans-serif"">The structure is very simple: a rectangular parallelepiped (30cm x 30 cm x 20 cm height) and two cilinders touching that body on the top and bottom faces. The cilinders act as electrodes (3mm
height , 22 cm diameter).<o:p></o:p></span></p>
<p><span style="font-size:10.0pt;font-family:"Verdana","sans-serif"">The only thing that I need to know is how to make the coincident surfaces "conformal". I think that this means that they should be exactly equal or maybe the same surface. <o:p></o:p></span></p>
<div>
<pre style="margin-bottom:12.0pt">My geo file looks like this: (for simplicity I'll detail the bottom cilinder only)<br><br>R = 0.11;<o:p></o:p></pre>
<p><span style="font-size:10.0pt;font-family:"Verdana","sans-serif"">Point(1) = {-0.15, -0.15, -0.1, 0.1}; //Bottom face for parallelepiped<br>
Point(2) = {0.15, -0.15, -0.1, 0.1};<br>
Point(3) = {0.15, 0.15, -0.1, 0.1};<br>
Point(4) = {-0.15, 0.15, -0.1, 0.1};<br>
Line(1) = {3, 4};<br>
Line(2) = {4, 1}; <br>
Line(3) = {1, 2};<br>
Line(4) = {2, 3};<br>
Line Loop(100) = {1, 2, 3, 4};<o:p></o:p></span></p>
<p><span style="font-size:10.0pt;font-family:"Verdana","sans-serif"">Point(5) = { 0, 0, -0.10, 0.1}; //Center for the base of the cilinder<br>
Point(6) = { R, 0, -0.10, 0.1};<br>
Point(7) = { 0, -R, -0.10, 0.1};<br>
Point(8) = {-R, 0, -0.10, 0.1};<br>
Point(9) = { 0, R, -0.10, 0.1};<br>
//Arcs<br>
Circle(5) = {6, 5, 7};<br>
Circle(6) = {7, 5, 8};<br>
Circle(7) = {8, 5, 9};<br>
Circle(8) = {9, 5, 6};<br>
Line Loop(101)= {5, 6, 7, 8};<o:p></o:p></span></p>
<p><span style="font-size:10.0pt;font-family:"Verdana","sans-serif"">Now I tried several strategies without good results.<o:p></o:p></span></p>
<p><span style="font-size:10.0pt;font-family:"Verdana","sans-serif"">If I make a compound surface, the new one is different than the base of the cilinder, let me explain:<o:p></o:p></span></p>
<p><span style="font-size:10.0pt;font-family:"Verdana","sans-serif"">Plane Surface (200) = {100, 101};<br>
Plane Surface (201) = {101}; <br>
Compound Surface (203) = {200, 201}; <o:p></o:p></span></p>
<p><span style="font-size:10.0pt;font-family:"Verdana","sans-serif"">The mesh generated by the surface 203 is quite different from those generated by 200 or 201. Then I tried: <o:p></o:p></span></p>
<p><span style="font-size:10.0pt;font-family:"Verdana","sans-serif"">boundMaster[] = Boundary{Surface{203};};<br>
boundSlave[] = Boundary{Surface{201};};<br>
Periodic Surface 201 {boundSlave[]} = 203 {boundMaster[]};<o:p></o:p></span></p>
<p><span style="font-size:10.0pt;font-family:"Verdana","sans-serif"">But this throws an error because boundMaster is empty, this surprised me. And if I try to select boundaries by hand gMSH throws "Impossible to take boundaries of entity 203 (of type 307)".<o:p></o:p></span></p>
<p><span style="font-size:10.0pt;font-family:"Verdana","sans-serif"">My second trial was:<o:p></o:p></span></p>
<p><span style="font-size:10.0pt;font-family:"Verdana","sans-serif"">Plane Surface (200) = {100}; //Base of the parallelepiped<br>
Plane Surface (201) = {101}; //Base of the cilinder<o:p></o:p></span></p>
<p><span style="font-size:10.0pt;font-family:"Verdana","sans-serif"">boundMaster[] = Boundary{Surface{200};};<br>
boundSlave[] = Boundary{Surface{201};};<br>
Periodic Surface 201 {boundSlave[]} = 200 {boundMaster[]};<o:p></o:p></span></p>
<p><span style="font-size:10.0pt;font-family:"Verdana","sans-serif"">This trows: (even if create circles "In Surface 200")<o:p></o:p></span></p>
<p><span style="font-size:10.0pt;font-family:"Verdana","sans-serif"">Error : parallel planes do not intersect<br>
Error : parallel planes do not intersect<br>
Error : Only rotations or translations can currently be computed automatically for periodic faces: face 201 not meshed.<o:p></o:p></span></p>
<p><span style="font-size:10.0pt;font-family:"Verdana","sans-serif"">What would you do?<o:p></o:p></span></p>
<p><span style="font-size:10.0pt;font-family:"Verdana","sans-serif"">Thanks in advance, this is halting my work and any help would be appreciated.<o:p></o:p></span></p>
<p><span style="font-size:9.0pt;font-family:"Verdana","sans-serif""> </span><span style="font-size:10.0pt;font-family:"Verdana","sans-serif""><o:p></o:p></span></p>
</div>
</div>
</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>