<div dir="ltr"><div dir="ltr"><div>Hello Tony, <br></div><div><br></div><div>This looks like a case for the Coherence operation (only available using OpenCascade) <br></div><div>
After adding that line to your script, the model shares faces across the different cylinders.
</div><div><br></div><div>-----------</div><div><br></div><div>SetFactory("OpenCASCADE");<br><br>Cylinder(1) = {-50, -7.5, 0, 100, 0, 0, 7.5, 2*Pi};<br><br>Cylinder(2) = {-51, -7.5, 0, 1, 0, 0, 0.25, 2*Pi};<br><br>Cylinder(3) = {50, -7.5, 0, 1, 0, 0, 0.25, 2*Pi};<br><br>lcar1 = .1;<br>lcar2 = 1.0;<br><br><br>Characteristic Length{ PointsOf{ Volume{2:3}; } } = lcar1;<br>Characteristic Length{ PointsOf{ Volume{1}; } } = lcar2;<br><br>Show "*";<br><br>//+<br><br><b>Coherence;</b><br></div><div>---------------<br></div><div><br></div><div><div><img src="cid:ii_jt8x07be2" alt="image.png" width="473" height="349"><br></div></div><div><br></div><div>Sincerely, <br></div><div>Max <br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Mar 14, 2019 at 12:40 PM Anthony Ozzello <<a href="mailto:anthony.ozzello@entegris.com">anthony.ozzello@entegris.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div lang="EN-US">
<div class="gmail-m_-7376929495018905037WordSection1">
<p class="MsoNormal">Hi everyone,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I’m a new user, trying to set up a simple problem to start working with gmsh feeding into ElmerFEM.<u></u><u></u></p>
<p class="MsoNormal">All I want to do is generate three cylinders that touch each other and the apply positive voltage to<u></u><u></u></p>
<p class="MsoNormal">one face at one end and negative voltage at the opposite face on the other end to show that I can<u></u><u></u></p>
<p class="MsoNormal">build something simple and see that the potential in a stat current model is working. The problem<u></u><u></u></p>
<p class="MsoNormal">is that, for some reason, the three cylinders do not seem to be connecting to each other. When I<u></u><u></u></p>
<p class="MsoNormal">run the model, each of the three cylinders keeps its own potential there is no gradient in potential<u></u><u></u></p>
<p class="MsoNormal">across the cylinders when I adjust the conductivity to low values. It seems the surfaces of the three<u></u><u></u></p>
<p class="MsoNormal">cylinders do not connect electrically. I’ve turned on the ‘sew faces’ option, but still no luck.<u></u><u></u></p>
<p class="MsoNormal">Can anyone give me any ideas?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Thanks,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Tony<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">//+<u></u><u></u></p>
<p class="MsoNormal">SetFactory("OpenCASCADE");<u></u><u></u></p>
<p class="MsoNormal">Cylinder(1) = {-50, -7.5, 0, 100, 0, 0, 7.5, 2*Pi};<u></u><u></u></p>
<p class="MsoNormal">Cylinder(2) = {-51, -7.5, 0, 1, 0, 0, 0.25, 2*Pi};<u></u><u></u></p>
<p class="MsoNormal">Cylinder(3) = {50, -7.5, 0, 1, 0, 0, 0.25, 2*Pi};<u></u><u></u></p>
<p class="MsoNormal">lcar1 = .1;<u></u><u></u></p>
<p class="MsoNormal">lcar2 = 1.0;<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Characteristic Length{ PointsOf{ Volume{2:3}; } } = lcar1;<u></u><u></u></p>
<p class="MsoNormal">Characteristic Length{ PointsOf{ Volume{1}; } } = lcar2;<u></u><u></u></p>
<p class="MsoNormal">//+<u></u><u></u></p>
<p class="MsoNormal">Show "*";<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<table class="gmail-m_-7376929495018905037MsoNormalTable" style="width:525pt" width="700" cellpadding="0" border="0">
<tbody>
<tr>
<td colspan="4" style="padding:0.75pt">
<p class="MsoNormal"><span style="font-size:14pt;color:rgb(57,54,48)">Tony Ozzello</span><span style="font-size:12pt;font-family:"Times New Roman",serif"><br>
</span><span style="color:rgb(102,102,102)"> </span><span style="font-size:12pt;font-family:"Times New Roman",serif"><br>
</span><span style="color:rgb(127,119,115)">Technologist</span><span style="font-size:12pt;font-family:"Times New Roman",serif"><br>
</span><span style="color:rgb(127,119,115)">Liquid Filtration Division</span><span style="font-size:12pt;font-family:"Times New Roman",serif"><br>
</span><span style="color:rgb(102,102,102)"> </span><span style="font-size:12pt;font-family:"Times New Roman",serif"><br>
</span><b><span style="color:rgb(187,36,45)">T </span></b><span style="color:rgb(57,54,48)">+1 512 244 5205 </span><b><span style="color:rgb(187,36,45)">M
</span></b><span style="color:rgb(57,54,48)">+1 518 944 3519</span><span style="font-size:12pt;font-family:"Times New Roman",serif"><u></u><u></u></span></p>
</td>
</tr>
<tr>
<td colspan="4" style="padding:0.75pt">
<div class="MsoNormal" style="text-align:center" align="center"><span style="font-size:12pt;font-family:"Times New Roman",serif">
<hr style="color:rgb(223,218,215)" width="99%" size="1" noshade align="center">
</span></div>
</td>
</tr>
<tr>
<td style="width:283.5pt;padding:0.75pt" width="378">
<p class="MsoNormal"><a href="http://www.entegris.com/" target="_blank"><span style="font-size:12pt;font-family:"Times New Roman",serif;color:blue;border:1pt none windowtext;padding:0in;text-decoration:none"><img style="width: 3.9375in; height: 0.7083in;" id="gmail-m_-7376929495018905037Picture_x0020_2" src="cid:1697d45d6144cff311" alt="Entegris | 50 years of pure advantage" width="378" height="68" border="0"></span></a><span style="font-size:12pt;font-family:"Times New Roman",serif"><u></u><u></u></span></p>
</td>
<td style="width:157.5pt;padding:0.75pt" width="210">
<p class="MsoNormal"><span style="color:rgb(127,119,115)">700 Jeffrey Way, Suite 400<br>
Round Rock, Texas 78665 USA</span><span style="font-size:12pt;font-family:"Times New Roman",serif"><u></u><u></u></span></p>
</td>
<td style="width:7.5pt;padding:0.75pt" width="10">
<p class="MsoNormal"><span style="color:rgb(102,102,102)"> </span><span style="font-size:12pt;font-family:"Times New Roman",serif"><u></u><u></u></span></p>
</td>
<td style="width:76.5pt;padding:0.75pt" width="102">
<p class="MsoNormal"><span style="font-size:12pt;font-family:"Times New Roman",serif"><img style="width: 1.0729in; height: 0.7083in;" id="gmail-m_-7376929495018905037Picture_x0020_3" src="cid:1697d45d6155b16b22" alt="PACE | A values-driven culture" width="103" height="68" border="0"><u></u><u></u></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span style="font-size:12pt;font-family:"Times New Roman",serif;display:none"><u></u> <u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
_______________________________________________<br>
gmsh mailing list<br>
<a href="mailto:gmsh@onelab.info" target="_blank">gmsh@onelab.info</a><br>
<a href="http://onelab.info/mailman/listinfo/gmsh" rel="noreferrer" target="_blank">http://onelab.info/mailman/listinfo/gmsh</a><br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>Max Orok</div><div>Contractor<br></div></div><div dir="ltr"><a href="http://www.mevex.com" target="_blank">www.mevex.com</a><br><br><img src="https://docs.google.com/uc?export=download&id=1fHTIiW4OMUjQr1iOkspQ7wiEsxunoOs0&revid=0B6x5w-5zVaEjSkpwbm5oY29jbG1XMzJoYldXTmJpNGFtb3dVPQ" width="164" height="42"><br></div></div></div></div></div></div>