d=500;
Point(1) = {0.0000, -5000, 0, d};
Point(2) = {0.0000, 0, 0, d};
Line(1) = {1, 2};
Point(3) = {8000, 0, 0, d};
Line(2) = {2, 3};

//Point(100) = {8050, -49.7917,0,  d};
//Line(100) = {3, 100};

Point(4) = {9000,-916.6667 , 0, d};
Line(3) = {3, 4};
Point(5) = {10000,-1666.7 , 0,  d};
Line(4) = {4, 5};
Point(6) = {11000,-2250 , 0,  d};
Line(5) = {5, 6};
Point(7) = {12000, -2666.7,0,  d};
Line(6) = {6, 7};
Point(8) = {13000,-2916.7, 0,  d};
Line(7) = {7, 8};
Point(9) = {14000, -3000,0,  d};
Line(8) = {8, 9};
Point(10) = {24000, -3000, 0, d};
Line(9) = {9, 10};
Point(11) = {24000, -5000, 0, d};
Line(10) = {10, 11};
Line(11) = {11, 1};
Line Loop(12) = {1, 2, 3, 4, 5, 6, 7, 8,9,10,11};

Plane Surface(1) = {12};


Point(12) = {7500,512.8333, 0, d};
//Point(101)={7550,466.875, 0, d};
//Line(101)={12,101};

Point(13) = {8000, 0, 0, d};
Line(13) = {12, 13};

Point(14) = {9000, -916.6667 ,0, d};
Line(14) = {13,14};

Point(15) = {10000,-1666.7 , 0,  d};
Line(15) = {14, 15};

Point(16) = {11000, -2250 , 0, d};
Line(16) = {15, 16};

Point(17) = {12000,-2666.7, 0,  d};
Line(17) = {16, 17};

Point(18) = {13000,-2916.7, 0,  d};
Line(18) = {17, 18};

Point(19) = {14000,-3000, 0,  d};
Line(19) = {18, 19};

Point(20) = {20000, -3000, 0, d};
Line(20) = {19, 20};

Point(21) = {20000, 200, 0, d};
Line(21) = {20, 21};

Point(22) = {19000,142.4168, 0,  d};
Line(22) = {21, 22};

Point(23) = {18000,207.6205, 0,  d};
Line(23) = {22, 23};

Point(24) = {17000,364.634, 0,  d};
Line(24) = {23, 24};

Point(25) = {16000,582.48, 0,  d};
Line(25) = {24, 25};

Point(26) = {15000,830.1815, 0,  d};
Line(26) = {25, 26};

Point(27) = {14000,1076.8, 0,  d};
Line(27) = {26, 27};

Point(28) = {13000,1291.2, 0,  d};
Line(28) = {27, 28};

Point(29) = {12000,1442.6, 0,  d};
Line(29) = {28, 29};
Point(30) = {11000, 1500,0,  d};
Line(30) = {29, 30};
Point(31) = {10000, 1432.3,0,  d};
Line(31) = {30, 31};

Point(32) = {9000, 1208.6,0,  d};
Line(32) = {31, 32};
Point(33) = {8000, 797.9673, 0, d};
Line(33) = {32, 33};

Line(34) = {33, 12};
Line Loop(35) = {13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34};
Plane Surface(2) = {35};



Point(34) = {-2000,0,0.0,10*d};
Point(35) = {26000,0,0.0,10*d};
Point(36) = {26000,2000,0.0,10*d};
Point(37) = {-2000,2000,0.0,10*d};

Line(213) = {34,35};
Line(214) = {35,36};
Line(215) = {36,37};
Line(216) = {37,34};
Line Loop(217) = {215,216,213,214};
Ruled Surface(218) = {217};

Extrude Surface {218, {0.0,0.0,-10000}};
Extrude Surface {2, {0.0,0.0,-10000}};
Extrude Surface {1, {0.0,0.0,-10000}};

Physical Volume(500)={1};
Physical Volume(501)={2};
Physical Volume(502)={3};
Physical Surface(503) = {235};
Physical Surface(504) = {303,307,311,315,319,323,327,331,335,339,343,347,351};
Physical Surface(505) = {295,291,287,283,279,275,271};
Physical Line(506) = {265};
Physical Surface(507) = {400,291,287,283,279,275,271,372};
Physical Surface(508) = {368};
Physical Line(509) = {266};
