[Gmsh] STL 2D to 3D with Gmsh

David Colignon David.Colignon at ulg.ac.be
Wed Oct 20 09:14:05 CEST 2010


Hi Serge,

have a look at /demos/sphere-discrete.geo


ace35:~/gmsh/demos >   more sphere-discrete.geo

// merge a surface mesh (any format will work: .msh, .unv, etc.)

Merge "sphere-surf.stl";

// add a geometrical volume

Surface Loop(1) = {1};
Volume(1) = {1};

// use this to force a coarse mesh inside
//Mesh.CharacteristicLengthExtendFromBoundary = 0;
//Mesh.CharacteristicLengthMax = 0.5;


Regards,

Dave

-- 
David Colignon, Ph.D.
Collaborateur Logistique du F.R.S.-FNRS
CÉCI - Consortium des Équipements de Calcul Intensif
ACE - Applied & Computational Electromagnetics
Sart-Tilman B28
Université de Liège
4000 Liège - BELGIQUE
Tél: +32 (0)4 366 37 32
Fax: +32 (0)4 366 29 10
WWW:    http://hpc.montefiore.ulg.ac.be/
Agenda: http://www.google.com/calendar/embed?src=david.colignon%40gmail.com


On 19/10/10 21:50, Serge-Étienne Parent wrote:
> Hi,
>
> I created a surface STL mesh (2D, triangles) using Blender. I'm trying  to
> create a hex of tet (3D) mesh out of it. How could I do this with  Gmsh? Please
> find the STL file attached.
>
>
> Regards,
>
> Serge-Étienne Parent, ing.
>
>
>
>
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh