<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>Thanks Dr. Matthias and Jean Pierre. </p>
<p>I built the cubic body as you told me, extruding both surfaces. After that I've built a physical body for the cubic one with those two bodies created by the extrusion, <em> </em>I expect that this will fuse them as only one for the solver.</p>
<p>Thank you for your advices.</p>
<p> </p>
<div>
<pre> </pre>
<pre><span style="color: #333399;"><small><span style="font-size: small;">Félix Navarro Guirado | Fí</span></small></span><span style="color: #333399;"><small><span style="font-size: small;">sico Médico - Ingeniero</span><br />ingenieria@magnamedic.com <br />+34 655 641 421|<span style="font-size: x-small;"> </span></small></span><span style="color: #333399; font-size: x-small;">+34 952 92 97 22</span></pre>
<pre><span style="color: #333399;"><small>Avda Calderón de la Barca s/n, Urb. Magna Marbella, <br />Edificio Sorolla, bajo, 29660 Marbella<br /><a class="moz-txt-link-abbreviated" href="http://www.magnamedic.com/" rel="noreferrer">www.magna</a></small></span><span style="color: #333399;"><small><a class="moz-txt-link-abbreviated" href="http://www.magnamedic.com/" rel="noreferrer">medic.com</a></small></span></pre>
<pre><span style="color: #333399;"><small>Fax: +34 952.90.64.56</small></span></pre>
<pre> </pre>
</div>
<p>El 2015-10-07 12:57, Zenker, Dr. Matthias escribió:</p>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px"><!-- html ignored --><!-- head ignored --><!-- meta ignored --><!-- meta ignored --><!-- node type 8 --><!-- node type 8 -->
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;">Hi,<!-- o ignored --></span></p>
<p class="MsoNormal"><span style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"><!-- o ignored --> </span></p>
<p class="MsoNormal"><span 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 ignored --></span></p>
<p class="MsoNormal"><span 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 ignored --></span></p>
<p class="MsoNormal"><span 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 ignored --></span></p>
<p class="MsoNormal"><span 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 ignored --></span></p>
<p class="MsoNormal"><span style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"><!-- o ignored --> </span></p>
<p class="MsoNormal"><span style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;">HTH,<!-- o ignored --></span></p>
<p class="MsoNormal"><span style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"><!-- o ignored --> </span></p>
<p class="MsoNormal"><span style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;">Matthias<!-- o ignored --></span></p>
<p class="MsoNormal"><span><!-- o ignored --> </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"><strong><span style="font-size: 10.0pt; font-family: 'Tahoma','sans-serif';">Von:</span></strong><span style="font-size: 10.0pt; font-family: 'Tahoma','sans-serif';"> I+D Magna Medic [mailto:ingenieria@magnamedic.com] <br /><strong>Gesendet:</strong> Dienstag, 6. Oktober 2015 12:23<br /><strong>An:</strong> gmsh@geuz.org<br /><strong>Betreff:</strong> [Gmsh] Conformal surfaces.<!-- o ignored --></span></p>
</div>
</div>
<p class="MsoNormal"><!-- o ignored --> </p>
<p><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif';">Dear gMeshers,<!-- o ignored --></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 ignored --></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 ignored --></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 ignored --></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 ignored --></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 ignored --></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 ignored --></span></p>
<p><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif';">Now I tried several strategies without good results.<!-- o ignored --></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 ignored --></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 ignored --></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 ignored --></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 ignored --></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 ignored --></span></p>
<p><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif';">My second trial was:<!-- o ignored --></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 ignored --></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 ignored --></span></p>
<p><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif';">This trows: (even if create circles "In Surface 200")<!-- o ignored --></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 ignored --></span></p>
<p><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif';">What would you do?<!-- o ignored --></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 ignored --></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 ignored --></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 /></blockquote>
</body></html>