<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="ES" link="blue" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hi Gmsh community,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">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:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">+++  Fatal Error Triangle (in SetInCoor) area of Triangle < 0<o:p></o:p></p>
<p class="MsoNormal">Triangle 0  det  (I2) = -639253481328 (R2) -94.8228; The 3  vertices<o:p></o:p></p>
<p class="MsoNormal">169275 134622 208977 : [451933,3.11284e+06][451937,3.11285e+06][451943,3.11284e+06] ; [130171368,178185907][130527479,178921019][130995575,178092203]<o:p></o:p></p>
<p class="MsoNormal">Triangle 1  det  (I2) = -254966633727 (R2) -37.8201; The 3  vertices<o:p></o:p></p>
<p class="MsoNormal">168822 113230 202445 : [454767,3.11211e+06][454759,3.11211e+06][454762,3.11212e+06] ; [362886460,118782083][362278751,118669275][362466789,119123734]<o:p></o:p></p>
<p class="MsoNormal">Triangle 2  det  (I2) = -396726476752 (R2) -58.8478; The 3  vertices<o:p></o:p></p>
<p class="MsoNormal">195273 103923 229810 : [457397,3.11345e+06][457398,3.11345e+06][457389,3.11345e+06] ; [578830144,228730000][578882656,228093908][578212484,228656914]<o:p></o:p></p>
<p class="MsoNormal">Triangle 3  det  (I2) = -556201204377 (R2) -82.5033; The 3  vertices<o:p></o:p></p>
<p class="MsoNormal">160932 57512 160934 : [455685,3.11368e+06][455677,3.11367e+06][455676,3.11368e+06] ; [438258129,246918853][437656584,246339624][437548656,247160321]<o:p></o:p></p>
<p class="MsoNormal">Triangle 4  det  (I2) = -256443846115 (R2) -38.0392; The 3  vertices<o:p></o:p></p>
<p class="MsoNormal">171137 29607 257400 : [457564,3.11365e+06][457558,3.11366e+06][457565,3.11366e+06] ; [592593010,245019504][592079820,245381339][592606493,245509703]<o:p></o:p></p>
<p class="MsoNormal">Triangle 5  det  (I2) = -947427430667 (R2) -140.535; The 3  vertices<o:p></o:p></p>
<p class="MsoNormal">183779 16663 228682 : [453167,3.11299e+06][453174,3.11297e+06][453162,3.11298e+06] ; [231523339,190464448][232067008,189282054][231138809,189558085]<o:p></o:p></p>
<p class="MsoNormal">Triangle 6  det  (I2) = -266770287655 (R2) -39.5709; The 3  vertices<o:p></o:p></p>
<p class="MsoNormal">204699 162213 209016 : [455527,3.11197e+06][455524,3.11197e+06][455532,3.11197e+06] ; [425298968,106757482][425020323,107206913][425691973,107080982]<o:p></o:p></p>
<p class="MsoNormal">Triangle 7  det  (I2) = -355886028726 (R2) -52.7899; The 3  vertices<o:p></o:p></p>
<p class="MsoNormal">45590 189362 229841 : [454765,3.11271e+06][454767,3.11272e+06][454772,3.11271e+06] ; [362706941,167843175][362911495,168417199][363289998,167739548]<o:p></o:p></p>
<p class="MsoNormal">Triangle 8  det  (I2) = -471304295406 (R2) -69.9102; The 3  vertices<o:p></o:p></p>
<p class="MsoNormal">86869 86867 263954 : [455938,3.11275e+06][455932,3.11274e+06][455929,3.11275e+06] ; [459033206,170583101][458520014,170049330][458299388,170738235]<o:p></o:p></p>
<p class="MsoNormal">Triangle 9  det  (I2) = -567897537702 (R2) -84.2382; The 3  vertices<o:p></o:p></p>
<p class="MsoNormal">80992 207310 207311 : [456541,3.11327e+06][456552,3.11327e+06][456545,3.11326e+06] ; [508539224,213918540][509438413,213674132][508869042,213197326]<o:p></o:p></p>
<p class="MsoNormal">Fatal error in the meshgenerator 899<o:p></o:p></p>
<p class="MsoNormal">  current line = 4<o:p></o:p></p>
<p class="MsoNormal">Meshing error: Bamg<o:p></o:p></p>
<p class="MsoNormal">number : 899,<o:p></o:p></p>
<p class="MsoNormal">Meshing error: Bamg<o:p></o:p></p>
<p class="MsoNormal">number : 899,<o:p></o:p></p>
<p class="MsoNormal">err code 5 ,  mpirank 0<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">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.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I attach you the geometry file, .geo code, the .mesh file and the .edp file to read the mesh into freefem.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I was trying to solve this problem since two days, so I would really appreciate if someone finds the cause of this problem.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thank you very much in advance<o:p></o:p></p>
<p class="MsoNormal">Best Regards<o:p></o:p></p>
<p class="MsoNormal">Jacob<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Enviado desde <a href="https://go.microsoft.com/fwlink/?LinkId=550986">
Correo</a> para Windows 10</p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>