[Gmsh] Prism generation without extrusion: possible?

Christophe Geuzaine cgeuzaine at ulg.ac.be
Thu Jan 31 19:04:54 CET 2013


On 18 Oct 2012, at 06:55, Rui Maciel <rui.maciel at gmail.com> wrote:

> I have a geometry definition (sphere.geo, annexed to the email) which Gmsh uses to define a 2D mesh with the top surfaces made up of triangles and the side notes made up of quadrilaterals.  I intended to use this geometry definition to generate 3D meshes made out of triangular prisms, but when I try to generate 3D meshes from that geometry definition, Gmsh throws a a bunch of errors.
> 
> Does anyone know if Gmsh provides a way to generate, from this geometry or a similar version of it, a 3D mesh made up of triangular prisms?


Hi - Yes, with Transfinite Volumes: see attached example.

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sph.geo
Type: application/octet-stream
Size: 1172 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20130131/0366a5a4/attachment.geo>
-------------- next part --------------



> 
> 
> Thanks in advance,
> Rui Maciel
> <sphere.geo>_______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh

-- 
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science 
http://www.montefiore.ulg.ac.be/~geuzaine