[Gmsh] Problem with Reading the mesh generated into freefem.
Jacob Abdelfatah Ndioubnane
jacoban90 at outlook.es
Sat May 18 20:21:56 CEST 2019
Hi Gmsh community,
I generated the mesh of a irregular geometry without problems in gmsh. When I import the mesh in a fem software, like freefem, I couldn’t obtain. I used the code of Geordie Mcbain to strip the third coordinate. However, when I import it into the Freefem the program gives me the following error:
+++ Fatal Error Triangle (in SetInCoor) area of Triangle < 0
Triangle 0 det (I2) = -639253481328 (R2) -94.8228; The 3 vertices
169275 134622 208977 : [451933,3.11284e+06][451937,3.11285e+06][451943,3.11284e+06] ; [130171368,178185907][130527479,178921019][130995575,178092203]
Triangle 1 det (I2) = -254966633727 (R2) -37.8201; The 3 vertices
168822 113230 202445 : [454767,3.11211e+06][454759,3.11211e+06][454762,3.11212e+06] ; [362886460,118782083][362278751,118669275][362466789,119123734]
Triangle 2 det (I2) = -396726476752 (R2) -58.8478; The 3 vertices
195273 103923 229810 : [457397,3.11345e+06][457398,3.11345e+06][457389,3.11345e+06] ; [578830144,228730000][578882656,228093908][578212484,228656914]
Triangle 3 det (I2) = -556201204377 (R2) -82.5033; The 3 vertices
160932 57512 160934 : [455685,3.11368e+06][455677,3.11367e+06][455676,3.11368e+06] ; [438258129,246918853][437656584,246339624][437548656,247160321]
Triangle 4 det (I2) = -256443846115 (R2) -38.0392; The 3 vertices
171137 29607 257400 : [457564,3.11365e+06][457558,3.11366e+06][457565,3.11366e+06] ; [592593010,245019504][592079820,245381339][592606493,245509703]
Triangle 5 det (I2) = -947427430667 (R2) -140.535; The 3 vertices
183779 16663 228682 : [453167,3.11299e+06][453174,3.11297e+06][453162,3.11298e+06] ; [231523339,190464448][232067008,189282054][231138809,189558085]
Triangle 6 det (I2) = -266770287655 (R2) -39.5709; The 3 vertices
204699 162213 209016 : [455527,3.11197e+06][455524,3.11197e+06][455532,3.11197e+06] ; [425298968,106757482][425020323,107206913][425691973,107080982]
Triangle 7 det (I2) = -355886028726 (R2) -52.7899; The 3 vertices
45590 189362 229841 : [454765,3.11271e+06][454767,3.11272e+06][454772,3.11271e+06] ; [362706941,167843175][362911495,168417199][363289998,167739548]
Triangle 8 det (I2) = -471304295406 (R2) -69.9102; The 3 vertices
86869 86867 263954 : [455938,3.11275e+06][455932,3.11274e+06][455929,3.11275e+06] ; [459033206,170583101][458520014,170049330][458299388,170738235]
Triangle 9 det (I2) = -567897537702 (R2) -84.2382; The 3 vertices
80992 207310 207311 : [456541,3.11327e+06][456552,3.11327e+06][456545,3.11326e+06] ; [508539224,213918540][509438413,213674132][508869042,213197326]
Fatal error in the meshgenerator 899
current line = 4
Meshing error: Bamg
number : 899,
Meshing error: Bamg
number : 899,
err code 5 , mpirank 0
I revised in the fórum if there are any thread talking about this issue, and I found that it would be related to the dupplicity of points. However, when I checked my geometry and my me mesh I didin’t find any element with colinear vertices.
I attach you the geometry file, .geo code, the .mesh file and the .edp file to read the mesh into freefem.
I was trying to solve this problem since two days, so I would really appreciate if someone finds the cause of this problem.
Thank you very much in advance
Best Regards
Jacob
Enviado desde Correo<https://go.microsoft.com/fwlink/?LinkId=550986> para Windows 10
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20190518/70cc7c29/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Dominio.brep
Type: application/octet-stream
Size: 450372 bytes
Desc: Dominio.brep
URL: <http://onelab.info/pipermail/gmsh/attachments/20190518/70cc7c29/attachment-0001.brep>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Dominio.geo
Type: application/octet-stream
Size: 13577 bytes
Desc: Dominio.geo
URL: <http://onelab.info/pipermail/gmsh/attachments/20190518/70cc7c29/attachment-0001.geo>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dominio2d.zip
Type: application/x-zip-compressed
Size: 8456878 bytes
Desc: dominio2d.zip
URL: <http://onelab.info/pipermail/gmsh/attachments/20190518/70cc7c29/attachment-0001.zip>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ensayo.edp
Type: application/octet-stream
Size: 98 bytes
Desc: ensayo.edp
URL: <http://onelab.info/pipermail/gmsh/attachments/20190518/70cc7c29/attachment-0001.edp>
More information about the gmsh
mailing list