[Gmsh] Structured tet mesh

OSHIMA Takuya oshima at eng.niigata-u.ac.jp
Wed Nov 28 08:26:44 CET 2007


Hello Srinath,

I'm not sure if I'm getting what "structured tet mesh" means
correctly, but if the geometry is really a cube, would this be of some
help?

----------
lc = 0.099;
Point(1) = {-0.5, -0.5, -0.5, lc};
Point(2) = {0.5, -0.5, -0.5, lc};
Line(3) = {1, 2};
e1[] = Extrude{0, 1, 0}{Line{3}; Layers{10};};
e2[] = Extrude{0, 0, 1}{Surface{e1[1]}; Layers{10};};
Physical Volume("internalField") = {e2[1]};
----------

Regards,
Takuya OSHIMA

From: Srinath Madhavan <msrinath80 at yahoo.com>
Subject: [Gmsh] Structured tet mesh
Date: Tue, 27 Nov 2007 16:00:02 -0800 (PST)

> Hi,
> 
> I want to create a structured tet mesh with second order elements. The
> geometry is a simple cube. When I use the transfinite surface option
> and create a 3D mesh, it creates a structured Hex mesh. I need a tet
> mesh. I would appreciate if someone could kindly point out what I am
> missing here.
> 
> Thanks and Best Regards,
> Srinath