[Gmsh] Fwd: qgis-gmsh

Emilio Politti emilio.politti at unitn.it
Wed Feb 14 17:41:44 CET 2018


Hi,
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.
It represents the topography of a river, I've tried to built it following
your video-tutorials on github (https://github.com/ccorail/qgis-gmsh/wiki)
but I always got an error (actually several ones that just look the same):

Wrong mesh element size lc = 0 (lcmin = 0, lcmax = 1e+22)

The error arises when I try to feed the geometry file generated by the
plugin to gmsh.
 It appears that gmsh is able to create line 1, 3 and 4 but not line 2.

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
Thank you in advance


IP = newp;
IL = newl;
IS = news;
ILL = newll;
Point(IP+0) = {680729.3412662309, 5195104.097819135, 0};
Point(IP+1) = {680771.133954529, 5195276.492658365, 0};
Line(IL+0) = {IP+0, IP+1};
Point(IP+2) = {683000.3751949827, 5195225.007915708, 0};
Point(IP+3) = {680822.7561731343, 5195264.600988834, 0};
Point(IP+4) = {680892.5939548956, 5195253.053009173, 0};
Point(IP+5) = {681125.2032595022, 5195253.053009173, 0};
Point(IP+6) = {681201.0899829909, 5195266.800604007, 0};
Point(IP+7) = {681334.1667009927, 5195270.100026768, 0};
Point(IP+8) = {681667.958303584, 5195182.665323618, 0};
Point(IP+9) = {681692.7039742868, 5195182.665323618, 0};
Point(IP+10) = {681749.8939688, 5195194.213303279, 0};
Point(IP+11) = {681794.9860798585, 5195211.260320874, 0};
Point(IP+12) = {681906.0666461245, 5195211.260320874, 0};
Point(IP+13) = {682150.7738341858, 5195080.93312184, 0};
Point(IP+14) = {682342.6902580812, 5195078.183602873, 0};
Point(IP+15) = {682360.8370832633, 5195069.935045972, 0};
Point(IP+16) = {682566.5011019934, 5195070.484949766, 0};
Point(IP+17) = {682628.0903268538, 5195089.181678741, 0};
Point(IP+18) = {682724.8733944915, 5195100.179754609, 0};
Point(IP+19) = {682753.468391748, 5195105.12888875, 0};
Point(IP+20) = {682900.2927045848, 5195176.066478098, 0};
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};
Point(IP+21) = {682997.0757722225, 5195067.735430798, 0};
Line(IL+2) = {IP+2, IP+21};
Point(IP+22) = {682708.101328793, 5194965.178373329, 0};
Point(IP+23) = {682473.8423128063, 5194895.615543463, 0};
Point(IP+24) = {682451.8461610704, 5194894.24078398, 0};
Point(IP+25) = {682395.755974144, 5194884.617467596, 0};
Point(IP+26) = {682283.5756002913, 5194885.442323286, 0};
Point(IP+27) = {682261.3044966586, 5194898.365062431, 0};
Point(IP+28) = {682210.1634438727, 5194898.090110535, 0};
Point(IP+29) = {682148.0243152189, 5194920.361214167, 0};
Point(IP+30) = {682111.1807610615, 5194928.884722964, 0};
Point(IP+31) = {681960.2321697742, 5195012.195147663, 0};
Point(IP+32) = {681936.3113547615, 5195017.969137494, 0};
Point(IP+33) = {681911.290732162, 5195015.219618527, 0};
Point(IP+34) = {681846.1271326445, 5195046.564134751, 0};
Point(IP+35) = {681785.0878115776, 5195045.739279061, 0};
Point(IP+36) = {681767.4908901888, 5195035.566058883, 0};
Point(IP+37) = {681692.4290223903, 5195035.016155088, 0};
Point(IP+38) = {681676.4818123819, 5195017.144281803, 0};
Point(IP+39) = {681584.3729269879, 5195015.219618526, 0};
Point(IP+40) = {681572.8249473264, 5195024.567983015, 0};
Point(IP+41) = {681542.0303348963, 5195024.293031119, 0};
Point(IP+42) = {681526.0831248878, 5195037.215770263, 0};
Point(IP+43) = {681478.7913986557, 5195038.040625953, 0};
Point(IP+44) = {681463.3940924406, 5195049.313653718, 0};
Point(IP+45) = {681427.6503458699, 5195049.038701821, 0};
Point(IP+46) = {681413.3528472416, 5195057.012306825, 0};
Point(IP+47) = {681368.2607361831, 5195059.211921999, 0};
Point(IP+48) = {681327.2929035751, 5195072.684564938, 0};
Point(IP+49) = {681311.8955973601, 5195074.334276318, 0};
Point(IP+50) = {681187.0674362591, 5195075.159132008, 0};
Point(IP+51) = {681173.594793321, 5195085.882255979, 0};
Point(IP+52) = {680891.4941473088, 5195086.432159771, 0};
Point(IP+53) = {680867.0234285026, 5195097.430235639, 0};
Point(IP+54) = {680809.5584820927, 5195097.43023564, 0};
Point(IP+55) = {680776.0143506955, 5195106.778600127, 0};
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};
Line Loop(ILL+0) = {IL+3, IL+0, IL+1, IL+2};

NF = newf;
Field[NF] = Structured;
Field[NF].TextFormat = 0;
Field[NF].FileName =
"D:/CLVeg/Mareta/Simulazioni/CaesarLisflood/Make_BZ_FZ/dem_mesh.dat";
Background Field = NF;

Plane Surface(IS) = {ILL:ILL+0};
Physical Surface("Domain") = {IS};
Physical Line("north_edge") = {IL + 1};
Physical Line("south_edge") = {IL + 3};
Physical Line("east_edge") = {IL + 2};
Physical Line("west_edge") = {IL + 0};




-- 

PhD Emilio Politti

University of Trento

Department of Civil, Environmental and Mechanical Engineering

Via Mesiano 77, 38123 Trento, Italy

+390461282623

emilio.politti at unitn.it

https://www.researchgate.net/profile/Emilio_Politti



-- 

PhD Emilio Politti

University of Trento

Department of Civil, Environmental and Mechanical Engineering

Via Mesiano 77, 38123 Trento, Italy

+390461282623

emilio.politti at unitn.it

https://www.researchgate.net/profile/Emilio_Politti
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20180214/c385c1c4/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gmsh_error.rar
Type: application/rar
Size: 120348 bytes
Desc: not available
URL: <http://onelab.info/pipermail/gmsh/attachments/20180214/c385c1c4/attachment-0001.rar>


More information about the gmsh mailing list