[Gmsh] Layers

Jean-Francois Remacle <remacle@scorec.rpi.edu> remacle at scorec.rpi.edu
Thu Jan 31 15:56:00 CET 2002


On Thu, 31 Jan 2002, Laurent CHAMPANEY wrote:

> Can anyone explain me how the "Layers" function works?
> I don't unsderstand the meaning of the second parameter.
> Thank you

Gmsh tutorial 3 on http://www.geuz.org/gmsh/doc/tutorial.html

// But contrary to 't2.geo', not only the geometry will be extruded,
// but also the 2D mesh. This is done with the same Extrude command,
// but by specifying the number of layers (here, there will be four
// layers, of respectively 8, 4, 2 and 1 elements in depth), with
// volume numbers 9000 to 9003 and respective heights equal to h/4:

Extrude Surface { 6, {0,0,h} } { 
  Layers { {8,4,2,1}, {9000:9003}, {0.25,0.5,0.75,1} } ; 
} ;


Jean-Francois

> 
> 

-- 
--
Jean-Francois Remacle, Research Associate
Scientific Computation Research Center     (518) 276-8045
Rensselaer Polytechnic Insitute
http://www.scorec.rpi.edu/~remacle
CII
110 8th Street
Troy, New York 12180-3590