<div dir="ltr"><div><div>Found it: the line loop 35 is not fully closed. Strangely, gmsh does not report an error there (bug?). It is missing Line 28.<br><br></div>I've found a difference between the two gmsh versions though upon meshing, which I'll report in another topic.<br>
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-07-07 9:57 GMT+02:00 Oliver <span dir="ltr"><<a href="mailto:oliver.willekens@gmail.com" target="_blank">oliver.willekens@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>I have a rather simple 2D mesh, for which I'm getting a segmentation fault upon meshing.<br>
<br>I have tried meshing it after starting from the unrolled geometry and I have tried meshing it with gmsh versions 2.5.1 (default under ubuntu 12.04) and 2.8.4 (installed last week, to see if I could successfully mesh it with a more modern version).<br>
<br></div>I notice one odd thing about the mesh: if I plot the surface numbers and surfaces (the "crosses"), then the surface number (35) is not at all in the center of the area. I'm not sure if it is related or if its position is merely calculated based on the density of nodes.<br>
<br></div>The segmentation fault seems to occur at the same time when it is meshing surface 35 (something that became apparent using the older gmsh version).<br><br></div>Please find below the unrolled geometry. Can you provide any insights into why I'm getting this error? It's the first time I'm getting segmentation faults from gmsh, and I've been using it for about 2 years now...<br>
</div>I can also add the actual geometry file (which uses Extrusions, Translations and For loops), but I don't think it's relevant. Let me know though...<br><div><br>cl__1 = 1;<br>Point(1) = {0, 0, 0, cl__1};<br>
Point(2) = {10, 0, 0, cl__1};<br>
Point(3) = {15, 0, 0, cl__1};<br>Point(5) = {25, 0, 0, cl__1};<br>Point(9) = {30, 0, 0, cl__1};<br>Point(11) = {40, 0, 0, cl__1};<br>Point(15) = {45, 0, 0, cl__1};<br>Point(17) = {55, 0, 0, cl__1};<br>Point(21) = {60, 0, 0, cl__1};<br>
Point(23) = {70, 0, 0, cl__1};<br>Point(27) = {75, 0, 0, cl__1};<br>Point(29) = {85, 0, 0, cl__1};<br>Point(33) = {90, 0, 0, cl__1};<br>Point(35) = {100, 0, 0, cl__1};<br>Point(39) = {105, 0, 0, cl__1};<br>Point(41) = {115, 0, 0, cl__1};<br>
Point(45) = {125, 0, 0, cl__1};<br>Point(46) = {-40, 0, -50, cl__1};<br>Point(47) = {125, 0, -50, cl__1};<br>Point(48) = {-40, 0, 0.5, cl__1};<br>Point(49) = {125, 0, 0.5, cl__1};<br>Point(50) = {-40, 0, 1.3, cl__1};<br>
Point(51) = {125, 0, 1.3, cl__1};<br>
Point(52) = {-40, 0, 11.3, cl__1};<br>Point(53) = {125, 0, 11.3, cl__1};<br>Point(54) = {-40, 0, 0, cl__1};<br>Line(1) = {1, 2};<br>Line(2) = {2, 3};<br>Line(3) = {3, 5};<br>Line(4) = {5, 9};<br>Line(5) = {9, 11};<br>Line(6) = {11, 15};<br>
Line(7) = {15, 17};<br>Line(8) = {17, 21};<br>Line(9) = {21, 23};<br>Line(10) = {23, 27};<br>Line(11) = {27, 29};<br>Line(12) = {29, 33};<br>Line(13) = {33, 35};<br>Line(14) = {35, 39};<br>Line(15) = {39, 41};<br>Line(16) = {41, 45};<br>
Line(17) = {46, 47};<br>Line(18) = {48, 49};<br>Line(19) = {50, 51};<br>Line(20) = {48, 50};<br>Line(21) = {49, 51};<br>Line(23) = {52, 53};<br>Line(24) = {50, 52};<br>Line(25) = {51, 53};<br>Line(27) = {46, 54};<br>Line(28) = {54, 1};<br>
Line(29) = {48, 54};<br>Line(30) = {45, 49};<br>Line(31) = {47, 45};<br>Line Loop(22) = {18, 21, -19, -20};<br>Ruled Surface(22) = {22};<br>Line Loop(26) = {19, 25, -23, -24};<br>Ruled Surface(26) = {26};<br>Line Loop(33) = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, -31, -17, 27, 28};<br>
Plane Surface(33) = {33};<br>Line Loop(35) = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 30, -18, 29};<br>Plane Surface(35) = {35};<br><br></div></div>
</blockquote></div><br></div>