<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Mikhail,<div>thank you for your help.</div><div>May be I'd be more clear with a little drawing. In the attached screenshot, I show two zooms of the zone where the problem occurs (intersection between two edges, but the interpenetration is very small).</div><div>I tried to tune the "Mesh.RandomFactor" parameter without success.</div><div>Best regards,</div><div>Riad</div><div><img height="577" width="769" apple-width="yes" apple-height="yes" src="cid:00BEB860-8F56-4258-AF9C-448BF3861624@wifi.unice.fr"> </div><div><div><div>Le 2 déc. 13 à 15:49, Mikhail Artemyev a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi,<br><br>I'm not sure that I understood what you wanted, but take a look at the following code. Maybe it's what you wanted.<br><br>lc = 1;<br>ld = 20;<br><br>Dt=1;<br>Db=2;<br>R1=10;<br>R2=R1+Dt;<br>R3=R1+Dt+Db;<br>XY=25;<br>Z=50;<br>Zt=20;<br>Zba=Zt+2*Dt;<br>Zb=Zt+2*Dt+Db;<br><br><br>Point(1) = {0.0,0.0,0.0,lc};<br>Point(2) = {R2,0.0,0.0,lc};<br>Point(3) = {R3,0,0.0,lc};<br>Point(4) = {XY,0,0.0,ld};<br><br>Point(5) = {0.0,(-Dt),0.0,lc};<br>Point(6) = {R1,(-Dt),0.0,lc};<br><br>Point(7) = {0.0,-(Zt+Dt),0.0,lc};<br>Point(8) = {R1,-(Zt+Dt),0.0,lc};<br><br>Point(9) = {0.0,-Zba,0.0,lc};<br>Point(10) = {R2,-Zba,0.0,lc};<br><br>Point(11) = {0.0,-Zb,0.0,lc};<br>Point(12) = {R3,-Zb,0.0,lc};<br><br>Point(13) = {0.0,-Z,0.0,ld};<br>Point(14) = {XY,-Z,0.0,ld};<br><br><br>Line(1) = {1,2};<br>Line(2) = {2,3};<br>Line(3) = {3,4};<br>Line(4) = {4,14};<br>Line(5) = {14,13};<br>Line(6) = {13,11};<br>Line(7) = {11,9};<br>Line(8) = {9,7};<br>Line(9) = {7,5};<br>Line(10) = {5,1};<br><br><br>Line(11) = {3,12};<br>Line(12) = {12,11};<br><br><br>Line(13) = {2,10};<br>Line(14) = {10,9};<br><br><br>Line(15) = {5,6};<br>Line(16) = {6,8};<br>Line(17) = {8,7};<br><br><br>Line Loop(18) = {9, 15, 16, 17};<br>Plane Surface(19) = {18};<br>Line Loop(20) = {10, 1, 13, 14, 8, -17, -16, -15};<br>Plane Surface(21) = {20};<br>Line Loop(22) = {7, -14, -13, 2, 11, 12};<br>Plane Surface(23) = {22};<br>Line Loop(24) = {12, -6, -5, -4, -3, 11};<br>Plane Surface(25) = {24};<br><br>Physical Surface(101) = { 19 };<br>Physical Surface(102) = { 21 };<br>Physical Surface(103) = { 23 };<br>Physical Surface(104) = { 25 };<br><br><br>Best regards,<br>Mikhail<br><br>_______________________________________________<br>gmsh mailing list<br><a href="mailto:gmsh@geuz.org">gmsh@geuz.org</a><br>http://www.geuz.org/mailman/listinfo/gmsh<br></div></blockquote></div><br><div apple-content-edited="true"> <div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div><div><div>-------------------------------------------------</div><div>Riad HASSANI</div><div>GéoAzur</div><div>Universite de Nice-Sophia Antipolis</div><div>250 rue Albert Einstein</div><div>Sophia Antipolis</div><div>06560 Valbonne - France</div><div>tel. : 33 (0) 4 83 61 86 71</div><div><br></div></div></div></div></div></span></span></span></span></span></span></div></span></div><br class="Apple-interchange-newline"> </div><br></div></body></html>