<div dir="ltr">Dear Guillaume,<div><br></div><div>thanks for your fast reply.</div><div><br></div><div>I've tried, but for some reason, it seems not working with the cylinder surface.</div><div>I used the same process with a plane surface and all it was good.</div><div><br></div><div>Let me know if you find a solution. This is crucial to me because I have to model</div><div>a 2D cylinder full of stiffeners :-)</div><div><br></div><div>I attached the GMSH .geo file I'm using, maybe there is a bug that I cannot see.</div><div><br></div><div>Best regards</div><div><br></div><div>Giampiero Nobile</div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><br></div><div><br></div>Ing. Giampiero Nobile, PhD | OAC Ingegneria</div><div dir="ltr"><br></div><div>Mobile: +39 3494632155 </div><div dir="ltr">Office: +39 0108698603</div><div dir="ltr"><br></div><div dir="ltr"><a href="http://www.oacingegneria.com" target="_blank">www.oacingegneria.com</a><br><div><br></div><div><a href="http://it.linkedin.com/in/giampieronobile" style="color:rgb(17,85,204);font-size:12.8px" target="_blank"><img src="http://www.linkedin.com/img/webpromo/btn_viewmy_160x33.png" width="96" height="19" alt=""></a><span style="color:rgb(136,136,136);font-size:12.8px"> </span><a href="http://www.linkedin.com/company/oac-ingegneria" style="color:rgb(17,85,204);font-size:12.8px" target="_blank"><img src="cid:3__=4EBBF1AEDFC75C448f9e8a93df93869@rina.org" alt="Immagine in linea 1" border="0" width="96" height="19"></a></div><div><br></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">2017-09-26 16:17 GMT+02:00 DILASSER Guillaume <span dir="ltr"><<a href="mailto:Guillaume.DILASSER@cea.fr" target="_blank">Guillaume.DILASSER@cea.fr</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="FR" link="blue" vlink="purple">
<div class="m_4186702392653513555WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Hello,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">I guess the easiest way to achieve what you are trying to do would be to use the
<i>Line {} In Surface {} ;</i> command referenced in the documentation <a href="http://gmsh.info/doc/texinfo/gmsh.html#Miscellaneous-mesh-commands" target="_blank">
here</a>. To be more precise, assuming that the elementary IDs of the cylinder surface id is
<i><cyl_id></i> and that of the common line is <i><line_id></i>, you would declare
<i>Line {<line_id>} In Surface {<cyl_id>} ;</i>. Let me know if it worked,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Sincerely Yours,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Tahoma",sans-serif;color:#000099">Guillaume DILASSER</span><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:#000099"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:#000099">Doctorant DACM / LEAS<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:#000099">CEA - Centre de Saclay - Bât.123 - PC 319c</span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#000099"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:#000099">91191 Gif sur Yvette Cedex - France -</span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#000099"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:#000099"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:#000099"><a href="mailto:guillaume.dilasser@cea.fr" target="_blank">guillaume.dilasser@cea.fr</a><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">De :</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> gmsh [mailto:<a href="mailto:gmsh-bounces@ace20.montefiore.ulg.ac.be" target="_blank">gmsh-bounces@ace20.<wbr>montefiore.ulg.ac.be</a>]
<b>De la part de</b> ing. Nobile - OAC Ingegneria<br>
<b>Envoyé :</b> mardi 26 septembre 2017 14:36<br>
<b>À :</b> <a href="mailto:gmsh@onelab.info" target="_blank">gmsh@onelab.info</a><br>
<b>Objet :</b> [Gmsh] Intersection between cylinder surface and plane surface<u></u><u></u></span></p><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">Dear all, <u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">sorry for the trivial question but I'm a beginner of GMSH.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">I'm trying to create a 2D mesh as result of the intersection of a cylinder surface and a rectangle <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">surface. <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Is not clear to me how is the correct procedure to do this keeping the intersection line as belonging<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">to both the surfaces<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I attach an image of what I mean. Sorry I dont know if it is possible to attach figure in the forum, please tell me if not.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><img border="0" width="390" height="544" id="m_4186702392653513555_x0000_i1025" src="cid:image005.png@01D336E3.03F39ED0" alt="Immagine incorporata 1"><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><br clear="all">
<u></u><u></u></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p class="MsoNormal">Ing. Giampiero Nobile, PhD | OAC Ingegneria<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Mobile: <a href="tel:349%20463%202155" target="_blank">+39 3494632155</a> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Office: <a href="tel:010%20869%208603" target="_blank">+39 0108698603</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><a href="http://www.oacingegneria.com" target="_blank">www.oacingegneria.com</a><u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><a href="http://it.linkedin.com/in/giampieronobile" target="_blank"><span style="font-size:9.5pt;color:#1155cc;text-decoration:none"><img border="0" width="96" height="19" id="m_4186702392653513555_x0000_i1026" src="http://www.linkedin.com/img/webpromo/btn_viewmy_160x33.png"></span></a><span style="font-size:9.5pt;color:#888888"> </span><a href="http://www.linkedin.com/company/oac-ingegneria" target="_blank"><span style="font-size:9.5pt;color:#1155cc;text-decoration:none"><img border="0" width="96" height="19" id="m_4186702392653513555_x0000_i1027" src="cid:image006.jpg@01D336E3.03F39ED0" alt="Immagine in linea 1"></span></a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="m_4186702392653513555m_5290299021908527256DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2">
<p class="MsoNormal"><u></u> <u></u></p>
<table class="m_4186702392653513555MsoNormalTable" border="1" cellpadding="0" style="border:none;border-top:solid #d3d4de 1.0pt">
<tbody>
<tr>
<td width="58" style="width:41.25pt;border:none;padding:13.5pt .75pt .75pt .75pt">
<p class="MsoNormal"><a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail" target="_blank"><span style="text-decoration:none"><img border="0" width="46" height="29" id="m_4186702392653513555_x0000_i1028" src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif"></span></a><u></u><u></u></p>
</td>
<td width="473" style="width:352.5pt;border:none;padding:12.75pt .75pt .75pt .75pt">
<p class="MsoNormal" style="line-height:13.5pt"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#41424e">Mail priva di virus.
<a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail" target="_blank">
<span style="color:#4453ea">www.avast.com</span></a> <u></u><u></u></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div></div></div>
</div>
</blockquote></div><br></div></div>