<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><div class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">But when I try to mesh this geometry by doing in the command line </div><div class=""><br class=""></div><div class="">#gmsh small_cell.geo -3 -order 2 </div><div class=""><br class=""></div><div class="">I get the following error </div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-size: 14px; line-height: normal; font-family: Courier; color: rgb(195, 55, 32); background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><b class="">Error   : Self intersecting surface mesh, computing intersections (this could take a while)</b></span></div></div><div style="margin: 0px; font-size: 14px; line-height: normal; font-family: Courier; color: rgb(195, 55, 32); background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><b class=""><br class=""></b></span></div><div style="margin: 0px; font-size: 14px; line-height: normal; font-family: Courier; color: rgb(195, 55, 32); background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><b class=""><br class=""></b></span></div><div style="margin: 0px; font-size: 14px; line-height: normal; font-family: Courier; color: rgb(195, 55, 32); background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><b class=""><br class=""></b></span></div><div style="margin: 0px; line-height: normal; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""><div style="color: rgb(195, 55, 32); font-family: Courier; font-size: 14px; margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><b class="">Error   : ------------------------------</b></span></div><div style="color: rgb(195, 55, 32); font-family: Courier; font-size: 14px; margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><b class="">Error   : Mesh generation error summary</b></span></div><div style="color: rgb(195, 55, 32); font-family: Courier; font-size: 14px; margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><b class="">Error   :     0 warnings</b></span></div><div style="color: rgb(195, 55, 32); font-family: Courier; font-size: 14px; margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><b class="">Error   :     1 error</b></span></div><div style="color: rgb(195, 55, 32); font-family: Courier; font-size: 14px; margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><b class="">Error   : Check the full log for details</b></span></div><div style="color: rgb(195, 55, 32); font-family: Courier; font-size: 14px; margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><b class="">Error   : ------------------------------</b></span></div><div style="color: rgb(195, 55, 32); font-family: Courier; font-size: 14px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><b class=""><br class=""></b></span></div><div style="color: rgb(195, 55, 32); font-family: Courier; font-size: 14px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><b class=""><br class=""></b></span></div><div style="color: rgb(195, 55, 32); font-family: Courier; font-size: 14px;" class=""><br class=""></div><div style="color: rgb(195, 55, 32); font-family: Courier; font-size: 14px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><span style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px;" class=""><br class=""></span></span></div><div class=""><span style="color: rgb(195, 55, 32); font-family: Courier; font-size: 14px; font-variant-ligatures: no-common-ligatures;" class=""><span style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px;" class="">If I have a look at the  </span></span><span style="color: rgb(0, 0, 0); font-family: Courier; font-size: 14px;" class="">intersect.pos</span>  file with Gmsh I see that the points where the wires touch the bounding box walls are the problems (see attached figure) </div><div class=""><br class=""></div><div class=""></div></span></div></body></html>