<div dir="ltr"><div class="gmail_default" style="font-size:small">hi,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Thank you for the response. The file I submitted was a small one and the problem was not so obvious. I am attaching a 'real' file that I use on my simulations. It has 3000 cuts in it. This takes 2 hours on a quad core and 1+ hour on a i7 @4ghz. I am using the version 2.13.1.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Kind regards</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Andrew Tsiantis</div><div class="gmail_default" style="font-size:small"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-08-21 17:50 GMT+03:00 Christophe Geuzaine <span dir="ltr"><<a href="mailto:cgeuzaine@ulg.ac.be" target="_blank">cgeuzaine@ulg.ac.be</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span><br>
> On 19 Aug 2016, at 21:34, andrew <<a href="mailto:armitatz@gmail.com">armitatz@gmail.com</a>> wrote:<br>
><br>
> Hi,<br>
><br>
> I try to create a 3d mesh from an extruded 2d mesh. The mesh is a simple box but with cuts in it of zero width. The geometry is created ok and the meshing even when I have 2000-3000 cuts is done in less than a few minutes. However when I convert the mesh for use with openfoam I was getting errors. By adding the command 'Coherence mesh;' after the creation of the mesh, the mesh is converted correctly for use with openfoam by using the ultility 'gmshToFoam'.<br>
<br>
</span>Indeed, it's a limitation of our extrusion algorithm with embedded curves ("Line In Surface"): it currently creates duplicate vertices. The real fix is thus for us to enhance extrusion of embedded curves, but it's not trivial due to the way extruded meshes are generated.<br>
<span><br>
> The problem is in the use of the 'Coherence Mesh'. It takes almost two hours to execute while the meshing takes a few minutes. Is there a way to improve the Coherence command or to make the same geometry without the duplicate nodes that need so much time to be removed?<br>
><br>
> I attached a file that needs 2.5 minutes on a quad core for meshing and more than ten minutes to remove 1600 duplicates.<br>
> I have to create thousands of these meshes so a speedup would be welcomed.<br>
><br>
<br>
</span>That seems a bit slow: on my laptop meshing and duplicate removal take about the same time (2 minutes each). Which version of Gmsh do you use?<br>
<br>
> kind regards<br>
><br>
> Andrew tsiantis<br>
><br>
> <se.geo>______________________<wbr>_________________________<br>
> gmsh mailing list<br>
> <a href="mailto:gmsh@onelab.info">gmsh@onelab.info</a><br>
> <a href="http://onelab.info/mailman/listinfo/gmsh" target="_blank" rel="noreferrer">http://onelab.info/mailman/<wbr>listinfo/gmsh</a><br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Prof. Christophe Geuzaine<br>
University of Liege, Electrical Engineering and Computer Science<br>
<a href="http://www.montefiore.ulg.ac.be/~geuzaine" target="_blank" rel="noreferrer">http://www.montefiore.ulg.ac.<wbr>be/~geuzaine</a><br>
<br>
Tetrahedron V, July 4-5 2016: <a href="http://tetrahedron.montefiore.ulg.ac.be" target="_blank" rel="noreferrer">http://tetrahedron.montefiore.<wbr>ulg.ac.be</a><br>
Free software: <a href="http://gmsh.info" target="_blank" rel="noreferrer">http://gmsh.info</a> | <a href="http://getdp.info" target="_blank" rel="noreferrer">http://getdp.info</a> | <a href="http://onelab.info" target="_blank" rel="noreferrer">http://onelab.info</a><br>
<br>
</font></span></blockquote></div><br></div>