<br>Hi,<br><br><br>Gmsh crashes when trying to mesh the following file. <br><br>Note: I know the geometry is badly defined.<br><br><br>ch_length = 0.2;<br><br>p1 = newp; Point(p1) = {0, 0, 0, ch_length} ;<br>p2 = newp; Point(p2) = {2, 0, 0, ch_length} ;<br>
p3 = newp; Point(p3) = {2, 2, 0, ch_length} ;<br>p4 = newp; Point(p4) = {0, 2, 0, ch_length} ;<br>p5 = newp; Point(p5) = {0.5, 2, 0, ch_length*0.1} ;<br>p6 = newp; Point(p6) = {1, 1.6, 0, ch_length*0.2} ;<br>p7 = newp; Point(p7) = {1.2, 2.6, 0, ch_length*0.2} ;<br>
<br>l1 = newl; Line(l1) = {p1, p2} ;<br>l2 = newl; Line(l2) = {p2, p3} ;<br>l3 = newl; Line(l3) = {p3, p4} ;<br>l4 = newl; Line(l4) = {p4, p1} ;<br>l5 = newl; Line(l5) = {p6, p7} ;<br><br>ll1 = newll; Line Loop (ll1) = {l1, l2, l3, l4} ;<br>
s1 = news; Plane Surface (s1) = {ll1} ;<br><br>Point{p5} In Surface{s1} ;<br>Line{l5} In Surface{s1} ;<br>Recombine Surface {7};<br><br>