<div dir="ltr"><div>Thank you Christophe,</div><div><br></div><div>Just for your records, while the limitation exists, I can confirm that it is possible:</div><div>1. Export a GMSH mesh composed of hexaedra in VTK.<div>2. Open it in ParaView and apply the filter <i>Tetrahedralize</i> to create a tetrahedral mesh.<i><br></i></div><div>3. Click on <i>Save Data</i> to save it as
VTU.<br></div><div><br></div><div>Best regards,</div><div>Fran Pena</div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El sáb., 23 nov. 2019 a las 9:50, Christophe Geuzaine (<<a href="mailto:cgeuzaine@uliege.be">cgeuzaine@uliege.be</a>>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
<br>
> On 21 Nov 2019, at 19:01, Francisco Pena <<a href="mailto:fran.pena@gmail.com" target="_blank">fran.pena@gmail.com</a>> wrote:<br>
> <br>
> Hi, <br>
> <br>
> I would like to generate a regular mesh of a cube composed only by tetrahedra.<br>
> <br>
> When I use Transfinite Volume (see attached file .geo) I end up with a tetrahedral mesh, but the physical entities that define the outer surfaces are applied in triangles that are incompatible with the tetrahedra (see attached file .png).<br>
<br>
Indeed, this is a longstanding limitation of the (non-recombined) Transfinite Volume algorithm. We need to fix this... In the meantime, you can<br>
<br>
- either use (non-recombined) Extrusion with Layers<br>
- or manually set the interpolation corners in the Transfinite Surfaces (Transfinite Surface{x} = {a,b,c,d};) that do not match, to force the orientation.<br>
<br>
Christophe<br>
<br>
<br>
> <br>
> With Recombine, I can create a hexahedral mesh but, according to <a href="http://onelab.info/pipermail/gmsh/2011/006408.html" rel="noreferrer" target="_blank">http://onelab.info/pipermail/gmsh/2011/006408.html</a>, there is no easy way to convert it into a tetrahedral mesh .<br>
> <br>
> Finally, the method TransQuadTri generates not only tetrahedra but also pyramids and prisms. <br>
> <incompatible.png><at2.geo>_______________________________________________<br>
> gmsh mailing list<br>
> <a href="mailto:gmsh@onelab.info" target="_blank">gmsh@onelab.info</a><br>
> <a href="http://onelab.info/mailman/listinfo/gmsh" rel="noreferrer" target="_blank">http://onelab.info/mailman/listinfo/gmsh</a><br>
<br>
— <br>
Prof. Christophe Geuzaine<br>
University of Liege, Electrical Engineering and Computer Science <br>
<a href="http://www.montefiore.ulg.ac.be/~geuzaine" rel="noreferrer" target="_blank">http://www.montefiore.ulg.ac.be/~geuzaine</a><br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
gmsh mailing list<br>
<a href="mailto:gmsh@onelab.info" target="_blank">gmsh@onelab.info</a><br>
<a href="http://onelab.info/mailman/listinfo/gmsh" rel="noreferrer" target="_blank">http://onelab.info/mailman/listinfo/gmsh</a><br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div><img src="https://docs.google.com/uc?id=1tBUlJDo82gLsi_PMa4cjrLe7fyRjY2sEPQ&export=download"><br></div>
<div><font style="color:rgb(102,102,102)" size="1">Francisco José Pena Brage<br>Departamento de Matemática Aplicada<br>Facultade de Matemáticas. Campus Vida<br>15782 Santiago de Compostela - Spain<br>Tel.: +34 8818 13194<br>Fax: +34 8818 13197<br><span style="color:rgb(102,102,102)">Email: fran(dot)pena(at)usc(dot)es</span><u style="color:rgb(0,0,153)"><br><a href="http://www.usc.es/ingmat" target="_blank">http://www.usc.es/ingmat</a></u></font><br></div><a href="mailto:fran.pena@usc.es" target="_blank"></a></div></div></div></div></div></div></div></div></div></div></div>