<div dir="ltr"><div class="gmail_quote"><div dir="ltr">Hi,<div>I'm a new by to gmsh and I'm struggling from some days with gmsh qgis plugin and I really need to have this mesh done. </div><div>It represents the topography of a river, I've tried to built it following your video-tutorials on github (<a href="https://github.com/ccorail/qgis-gmsh/wiki">https://github.com/ccorail/qgis-gmsh/wiki</a>) but I always got an error (actually several ones that just look the same):</div><div><br></div><div>Wrong mesh element size lc = 0 (lcmin = 0, lcmax = 1e+22)</div><div><br></div><div>The error arises when I try to feed the geometry file generated by the plugin to gmsh.</div><div> It appears that gmsh is able to create line 1, 3 and 4 but not line 2.</div><div><br></div><div>Could you explain me what does it mean and how to avoid it? I pasted the .geo file produced by the qgis plugin down here</div><div>Thank you in advance</div><div><br></div><div><br></div><div><div>IP = newp;</div><div>IL = newl;</div><div>IS = news;</div><div>ILL = newll;</div><div>Point(IP+0) = {680729.3412662309, 5195104.097819135, 0};</div><div>Point(IP+1) = {680771.133954529, 5195276.492658365, 0};</div><div>Line(IL+0) = {IP+0, IP+1};</div><div>Point(IP+2) = {683000.3751949827, 5195225.007915708, 0};</div><div>Point(IP+3) = {680822.7561731343, 5195264.600988834, 0};</div><div>Point(IP+4) = {680892.5939548956, 5195253.053009173, 0};</div><div>Point(IP+5) = {681125.2032595022, 5195253.053009173, 0};</div><div>Point(IP+6) = {681201.0899829909, 5195266.800604007, 0};</div><div>Point(IP+7) = {681334.1667009927, 5195270.100026768, 0};</div><div>Point(IP+8) = {681667.958303584, 5195182.665323618, 0};</div><div>Point(IP+9) = {681692.7039742868, 5195182.665323618, 0};</div><div>Point(IP+10) = {681749.8939688, 5195194.213303279, 0};</div><div>Point(IP+11) = {681794.9860798585, 5195211.260320874, 0};</div><div>Point(IP+12) = {681906.0666461245, 5195211.260320874, 0};</div><div>Point(IP+13) = {682150.7738341858, 5195080.93312184, 0};</div><div>Point(IP+14) = {682342.6902580812, 5195078.183602873, 0};</div><div>Point(IP+15) = {682360.8370832633, 5195069.935045972, 0};</div><div>Point(IP+16) = {682566.5011019934, 5195070.484949766, 0};</div><div>Point(IP+17) = {682628.0903268538, 5195089.181678741, 0};</div><div>Point(IP+18) = {682724.8733944915, 5195100.179754609, 0};</div><div>Point(IP+19) = {682753.468391748, 5195105.12888875, 0};</div><div>Point(IP+20) = {682900.2927045848, 5195176.066478098, 0};</div><div>Line(IL+1) = {IP+1, IP+3, IP+4, IP+5, IP+6, IP+7, IP+8, IP+9, IP+10, IP+11, IP+12, IP+13, IP+14, IP+15, IP+16, IP+17, IP+18, IP+19, IP+20, IP+2};</div><div>Point(IP+21) = {682997.0757722225, 5195067.735430798, 0};</div><div>Line(IL+2) = {IP+2, IP+21};</div><div>Point(IP+22) = {682708.101328793, 5194965.178373329, 0};</div><div>Point(IP+23) = {682473.8423128063, 5194895.615543463, 0};</div><div>Point(IP+24) = {682451.8461610704, 5194894.24078398, 0};</div><div>Point(IP+25) = {682395.755974144, 5194884.617467596, 0};</div><div>Point(IP+26) = {682283.5756002913, 5194885.442323286, 0};</div><div>Point(IP+27) = {682261.3044966586, 5194898.365062431, 0};</div><div>Point(IP+28) = {682210.1634438727, 5194898.090110535, 0};</div><div>Point(IP+29) = {682148.0243152189, 5194920.361214167, 0};</div><div>Point(IP+30) = {682111.1807610615, 5194928.884722964, 0};</div><div>Point(IP+31) = {681960.2321697742, 5195012.195147663, 0};</div><div>Point(IP+32) = {681936.3113547615, 5195017.969137494, 0};</div><div>Point(IP+33) = {681911.290732162, 5195015.219618527, 0};</div><div>Point(IP+34) = {681846.1271326445, 5195046.564134751, 0};</div><div>Point(IP+35) = {681785.0878115776, 5195045.739279061, 0};</div><div>Point(IP+36) = {681767.4908901888, 5195035.566058883, 0};</div><div>Point(IP+37) = {681692.4290223903, 5195035.016155088, 0};</div><div>Point(IP+38) = {681676.4818123819, 5195017.144281803, 0};</div><div>Point(IP+39) = {681584.3729269879, 5195015.219618526, 0};</div><div>Point(IP+40) = {681572.8249473264, 5195024.567983015, 0};</div><div>Point(IP+41) = {681542.0303348963, 5195024.293031119, 0};</div><div>Point(IP+42) = {681526.0831248878, 5195037.215770263, 0};</div><div>Point(IP+43) = {681478.7913986557, 5195038.040625953, 0};</div><div>Point(IP+44) = {681463.3940924406, 5195049.313653718, 0};</div><div>Point(IP+45) = {681427.6503458699, 5195049.038701821, 0};</div><div>Point(IP+46) = {681413.3528472416, 5195057.012306825, 0};</div><div>Point(IP+47) = {681368.2607361831, 5195059.211921999, 0};</div><div>Point(IP+48) = {681327.2929035751, 5195072.684564938, 0};</div><div>Point(IP+49) = {681311.8955973601, 5195074.334276318, 0};</div><div>Point(IP+50) = {681187.0674362591, 5195075.159132008, 0};</div><div>Point(IP+51) = {681173.594793321, 5195085.882255979, 0};</div><div>Point(IP+52) = {680891.4941473088, 5195086.432159771, 0};</div><div>Point(IP+53) = {680867.0234285026, 5195097.430235639, 0};</div><div>Point(IP+54) = {680809.5584820927, 5195097.43023564, 0};</div><div>Point(IP+55) = {680776.0143506955, 5195106.778600127, 0};</div><div>Line(IL+3) = {IP+21, IP+22, IP+23, IP+24, IP+25, IP+26, IP+27, IP+28, IP+29, IP+30, IP+31, IP+32, IP+33, IP+34, IP+35, IP+36, IP+37, IP+38, IP+39, IP+40, IP+41, IP+42, IP+43, IP+44, IP+45, IP+46, IP+47, IP+48, IP+49, IP+50, IP+51, IP+52, IP+53, IP+54, IP+55, IP+0};</div><div>Line Loop(ILL+0) = {IL+3, IL+0, IL+1, IL+2};</div><div><br></div><div>NF = newf;</div><div>Field[NF] = Structured;</div><div>Field[NF].TextFormat = 0;</div><div>Field[NF].FileName = "D:/CLVeg/Mareta/Simulazioni/CaesarLisflood/Make_BZ_FZ/dem_mesh.dat";</div><div>Background Field = NF;</div><div><br></div><div>Plane Surface(IS) = {ILL:ILL+0};</div><div>Physical Surface("Domain") = {IS};</div><div>Physical Line("north_edge") = {IL + 1};</div><div>Physical Line("south_edge") = {IL + 3};</div><div>Physical Line("east_edge") = {IL + 2};</div><div>Physical Line("west_edge") = {IL + 0};</div></div><div><br></div><div><br></div><div><br clear="all"><div><br></div>-- <br><div class="gmail-m_3088194748941438196gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><p>PhD Emilio
Politti</p>
<p>University
of Trento</p>
<p>Department
of Civil, Environmental and Mechanical Engineering</p>
<p><span lang="IT">Via Mesiano 77, 38123 Trento, Italy</span></p>
<p><a href="tel:%2B390461282623" value="+390461282623" style="color:rgb(17,85,204);font-size:12.8px" target="_blank">+390461282623</a><br></p>
<p><span lang="IT"><a href="mailto:emilio.politti@unitn.it" target="_blank">emilio.politti@unitn.it</a></span></p>
<p><span lang="IT"><a href="https://www.researchgate.net/profile/Emilio_Politti" target="_blank">https://www.researchgate.net/<wbr>profile/Emilio_Politti</a></span></p></div></div></div></div></div></div>
</div></div>
</div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><p>PhD Emilio
Politti</p>
<p>University
of Trento</p>
<p>Department
of Civil, Environmental and Mechanical Engineering</p>
<p><span lang="IT">Via Mesiano 77, 38123 Trento, Italy</span></p>
<p><a href="tel:%2B390461282623" value="+390461282623" style="color:rgb(17,85,204);font-size:12.8px" target="_blank">+390461282623</a><br></p>
<p><span lang="IT"><a href="mailto:emilio.politti@unitn.it" target="_blank">emilio.politti@unitn.it</a></span></p>
<p><span lang="IT"><a href="https://www.researchgate.net/profile/Emilio_Politti" target="_blank">https://www.researchgate.net/profile/Emilio_Politti</a></span></p></div></div></div></div></div></div>
</div>