[Gmsh] Unstructured hexahedra mesh from STL geometry

Jean-Francois Remacle jean-francois.remacle at uclouvain.be
Tue Nov 23 18:18:49 CET 2010

Le 23-nov.-10 à 17:25, Meiner Auchmeiner a écrit :

> Hi gmsh group,


> I was wondering if anybody here succeeded to mesh a STL geometry with
> an unstructured mesh consisting of hexahedra elements. I'm trying to
> mesh following file(s) using standard settings, except for the
> subdivision algorithm "All hexas": 500.stl & 500.geo (see attachment).
> I'm always getting the error messages "Error: Cannot evaluate point on
> discrete face" and "Error: Cannot compute parametric coordinates on
> discrete face".  Whereas meshing the STL geometry with tetrahedron
> elements work like a charm. Is there any intermediate step necessary
> to optimize (maybe with e.g. MeshLab) the input STL geometry? Or is
> there any gmsh preprocessing option/conversion I overlooked ?

There is actually NO automatic hexaedral mesher in GMSH.

For doing a better STL, you can use the reparametrization tools, see

https://geuz.org/trac/gmsh/wiki/STLRemeshing (username wiki, password  


> Thanks
> Uwe
> P.S.: The skeleton data have been obtained by courtesy of S. Van Sint
> Jan, Laboratory of Anatomy, Biomechanics and Organogenesis, Université
> Libre de Bruxelles.
> <500.stl><500.geo>_______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh

Prof. Jean-Francois Remacle
Universite catholique de Louvain (UCL)
Ecole Polytechnique de Louvain (EPL) - Louvain School of Engineering
Institute of Mechanics, Materials and Civil Engineering (iMMC)
Center for Systems Engineering and Applied Mechanics (CESAME)
Tel : +32-10-472352 -- Mobile : +32-473-909930

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20101123/24850ff8/attachment.html>