[Gmsh] quadrilateral / hexa elements

Christophe Geuzaine geuzaine at gmail.com
Fri Jul 15 11:40:17 CEST 2005


Dima Sorkin wrote:
> Hi.
>  I want to use gmsh to create meshs for fem analysis with deal.II .
> Is there a way to make gmsh generate *only* quadrilateral (2d) and
> hexahedral (3d) elements ? I have experimented with "Recombine Surface",
> and there are anyway triangles/tetrahedras remain in the mesh.
> 
>  I do not use complex meshes.My typical mesh is a 3d/2d ball,
> or a 3d/2d shell (ball with an empty cavity ball inside).
> 
>   Do you have some template files that can be directly used by
> adjusting parameters ?
> 

Here is a .geo file defining a sphere meshed entirely with hexahedra 
using Transfinite Lines/Surfaces/Volumes. The "Transfinite" stuff is a 
bit cumbersome but you might find it useful.

Christophe

-- 
Christophe Geuzaine
Applied and Computational Mathematics, Caltech
geuzaine at acm.caltech.edu - http://geuz.org
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: sphere_hexa.geo
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20050715/bbe97ebd/attachment.geo>