// Gmsh project created on Sun May 14 19:45:42 2006
//
//-----------------------PARAMETRES-----------------------------
//
h=0.12;
a=0.055;
b=0.0175;
c=0.2;
msh=0.004;
//
//-----------------------SURFACE DE BASE------------------------
// 
Point(1) = {0,0,0,msh};
Point(2) = {b,0,0,msh};
Point(3) = {a,0,0,msh};
Point(4) = {c,0,0,msh};
//
//------------------------
Line(1) = {2,3};
Line(2) = {3,4};
surf[]=Extrude {{0,0,1}, {0,0,0}, Pi/2} {
  Line{1,2}; Layers{30,1}; Recombine;
};
//
surf[]=Extrude {{0,0,1}, {0,0,0}, Pi/2} {
  Line{3,7}; Layers{30,1}; Recombine;
};
//
surf[]=Extrude {{0,0,1}, {0,0,0}, Pi/2} {
  Line{15,11}; Layers{30,1}; Recombine;
};
//
surf[]=Extrude {{0,0,1}, {0,0,0}, Pi/2} {
  Line{19,23}; Layers{30,1}; Recombine;
};
Line Loop(35) = {4,12,24,32};
Plane Surface(36) = {35};
Recombine Surface {36};
Elliptic Surface {36} = {5,2,15,9};
//
Vol[]=Extrude {0,0,h} {
  Surface{34,6,14,26}; Layers{75,1}; Recombine;
};
//
Line Loop(125) = {41,107,85,63};
Plane Surface(126) = {125};
Recombine Surface {126};
Elliptic Surface {126} = {26,16,48,37};
//

Point(49) = {0,0,c,msh};
Circle(127) = {14,1,49};
//
surf[]=Extrude {{0,0,1}, {0,0,0}, Pi/2} {
  Line{127}; Layers{30,1}; Recombine;
};
surf[]=Extrude {{0,0,1}, {0,0,0}, Pi/2} {
  Line{128}; Layers{30,1}; Recombine;
};
surf[]=Extrude {{0,0,1}, {0,0,0}, Pi/2} {
  Line{131}; Layers{30,1}; Recombine;
};
surf[]=Extrude {{0,0,1}, {0,0,0}, Pi/2} {
  Line{134}; Layers{30,1}; Recombine;
};
Surface Loop(140) = {139,130,133,136,18,10,30,22,115,49,71,93,102,80,58,124,-126};
Volume(5) = {140};
//
Physical Surface(141) = {130,133,136,139};
Physical Surface(142) = {30,10,22,18};
Physical Surface(143) = {26,14,34,6};
Physical Surface(144) = {36};
Physical Surface(145) = {80,58,124,102};
Physical Surface(146) = {126};
Physical Surface(147) = {115,93,49,71};
Physical Surface(148) = {123,79,57,101};
//
Physical Volume(100) = {1,2,3,4};
Physical Volume(101) = {5};