// Gmsh project created on Sat Mar 31 07:52:25 2007

cm = 1e-02;
lc = 0.5*cm;
r = 1*cm;
R = 2*cm;
h = 2*cm;
d = 5*cm;
D = 6*cm;

Point(100) = {0,0,0,lc};
Point(101) = {d,0,0,lc};
Point(102) = {D,0,0,lc};
Point(103) = {0,d,0,lc};
Point(104) = {0,D,0,lc};
Point(105) = {0,0,d,lc};
Point(106) = {0,0,D,lc};

Point(1) = {R-r,0,0,lc};
Point(2) = {R,0,0,lc};
Point(3) = {R,r,0,lc};
Point(4) = {R,R,0,lc};
Point(5) = {R+r,0,0,lc};
Point(6) = {R+R,0,0,lc};

Point(7) = {R-r,0,h,lc};
Point(8) = {R,0,h,lc};
Point(9) = {R,r,h,lc};
Point(10) = {R,R,h,lc};
Point(11) = {R+r,0,h,lc};
Point(12) = {R+R,0,h,lc};
Point(13) = {0,0,h,lc};


Line(1) = {100,1};
Line(2) = {1,2};
Line(3) = {2,5};
Line(4) = {5,6};
Line(5) = {6,101};
Line(6) = {101,102};
Line(7) = {100,103};
Line(8) = {103,104};
Line(9) = {100,13};
Line(10) = {13,105};
Line(11) = {105,106};
Line(12) = {13,7};
Line(13) = {7,1};
Line(14) = {5,11};
Line(15) = {11,12};
Line(16) = {12,6};
Line(17) = {4,10};
Line(18) = {10,9};
Line(19) = {9,3};
Line(20) = {3,4};
Circle(21) = {1,2,3};
Circle(22) = {3,2,5};
Circle(23) = {100,2,4};
Circle(24) = {4,2,6};
Circle(25) = {7,8,9};
Circle(26) = {9,8,11};
Circle(27) = {13,8,10};
Circle(28) = {10,8,12};
Circle(29) = {103,100,101};
Circle(30) = {101,100,105};
Circle(31) = {105,100,103};
Circle(32) = {104,100,101};
Circle(33) = {102,100,106};
Circle(34) = {106,100,104};
Line Loop(35) = {12,25,-18,-27};
Plane Surface(36) = {35};
Line Loop(37) = {18,26,15,-28};
Plane Surface(38) = {37};
Line Loop(39) = {24,-4,-22,20};
Plane Surface(40) = {39};
Line Loop(41) = {23,-20,-21,-1};
Plane Surface(42) = {41};
Line Loop(43) = {22,-3,-2,21};
Plane Surface(44) = {43};
Line Loop(45) = {5,-29,-7,23,24};
Plane Surface(46) = {45};
Line Loop(47) = {32,-29,8};
Plane Surface(48) = {47};
Line Loop(49) = {7,-31,-10,-9};
Plane Surface(50) = {49};
Line Loop(51) = {8,-34,-11,31};
Plane Surface(52) = {51};
Line Loop(53) = {4,-16,-15,-14};
Plane Surface(54) = {53};
Line Loop(55) = {1,-13,-12,-9};
Plane Surface(56) = {55};
Line Loop(57) = {5,30,-10,12,13,2,3,14,15,16};
Plane Surface(58) = {57};
Line Loop(59) = {6,33,-11,-30};
Plane Surface(60) = {59};
Line Loop(61) = {13,21,-19,-25};
Ruled Surface(62) = {61};
Line Loop(63) = {19,22,14,-26};
Ruled Surface(64) = {63};
Line Loop(65) = {9,27,-17,-23};
Ruled Surface(66) = {65};
Line Loop(67) = {17,28,16,-24};
Ruled Surface(68) = {67};
Line Loop(69) = {29,30,31};
Ruled Surface(70) = {69};
Line Loop(71) = {32,6,33,34};
Ruled Surface(72) = {71};
Surface Loop(73) = {56,42,40,54,68,66,36,62,64,38};
Volume(74) = {73};
Surface Loop(75) = {58,46,50,44,70,62,64,38,36,66,68};
Volume(76) = {75};
Surface Loop(77) = {48,72,60,52,70};
Volume(78) = {77};
