<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body style="font-size: 10pt; font-family: Verdana,Geneva,sans-serif">
<p>El 2017-07-28 16:33, Christophe Geuzaine escribió:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"><br><blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">On 24 Jul 2017, at 13:59, Javier Sánchez Buezas <<a href="mailto:javier.sanchez@sidisel.com">javier.sanchez@sidisel.com</a>> wrote:<br><br>Hello all.<br><br><br><br>I'm trying to simulate the ElectroMagnetic behaviour of a Microstrip antenna on a PCB board. In order to make a simple start I tried to simulate a simple strip of cooper, and placing it inside an spherical box of air.<br><br>The problem is that the mesh doesn't generates correctlly. If I try with the Delauny algorithm I get the "Self intersecting surface mesh" error. If I use the Frontal algorithm no 3d mesh is generated for the air.<br><br><br><br>I created the model by defining the outter surface and a surface loop of all the outter surfaces of the board and then making a volume with thos 2 arguments ( Volume(n) = {Spherical surface, surface loop};)<br><br>Attached is the .geo file.<br><br><br><br>Any idea of how can I make this right?<br><br></blockquote>
<div> </div>
<div>Your surface mesh is not conformal; there is a zero volume area between the top green and orange volumes.</div>
<div> </div>
<div><img id="04290D8E-098D-4ACE-A734-253E87D126B9" src="cid:1501486191597edc6f93c44727008206@sidisel.com"></div>
<div> </div>
<br><blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">Greetings.<br><br>Javier.<br><br><span id="cid:0C06C958-D44C-4F78-9CE2-D109C3B3C45A@home"><mStrip.geo></span>_______________________________________________<br>gmsh mailing list<br><a href="mailto:gmsh@onelab.info">gmsh@onelab.info</a><br>http://onelab.info/mailman/listinfo/gmsh</blockquote>
<br><div>-- <br>Prof. Christophe Geuzaine<br>University of Liege, Electrical Engineering and Computer Science <br><a href="http://www.montefiore.ulg.ac.be/~geuzaine">http://www.montefiore.ulg.ac.be/~geuzaine</a><br><br>Free software: http://gmsh.info | http://getdp.info | http://onelab.info</div>
</blockquote>
<p>I solved it.</p>
<p>I defined each layer with its surfaces and then defined a new surface for the external frontier of the board, for what I had to define again some parts of the upper surface of the middle layer. This causes the error.</p>
<p>The correct way of doing it is defining the upper surface of the middle layer as 3 surfaces (boths sides and the shared surface with the upper volume) and then use those surfaces to define the volumes.</p>
<p>Thanks for your help.</p>

</body></html>