// Definition des parametres

L=10.;
l=2.;
h=1.;


// Definition de la poutre

Point(1) = { 0.,  0.,  0., h};
Point(2) = { L,  0.,  0., h};
Point(3) = {L,l/2,0,h};
Line(1) = {1,2};

// Maillage regulier

Extrude Line { 1, {0, l, 0} }  
 { Layers { {2}, {2}, {1} }; Recombine;};
  
//Plane Surface(8) = {7};

// Definition des groupes

Physical Surface(1012) = {5};
Physical Line(1000) = {3};
Physical Point(1011) = {3};
