// Gmsh project created on Tue Oct 16 14:29:44 2018
//+
Nx1 = 100; Rx1 = 1.00;
Nx2 = 40; Rx2 = 1.00;
Nx3 = 20; Rx3 = 1.00;
Nx4 = 40; Rx4 = 1.00;
Nx5 = 200; Rx5 = 1.00;
Ny1= 80; Ry1  = 1.00;
Ny2= 40; Ry2  = 1.00;
Ny3= 80; Ry3  = 1.00;

Nb  = 40; Rb  = 1.00;
Nc  = 40; Rc  = 1.00;
//+
Point(1) = {-52.5, -43.75, 0, 1.0};
//+
Point(2) = {-6.5625, -43.75, 0, 1.0};
//+
Point(3) = {6.5625, -43.75, 0, 1.0};
//+
Point(4) = {10.9375, -43.75, 0, 1.0};
//+
Point(5) = {24.065, -43.75, 0, 1.0};
//+
Point(6) = {109.375, -43.75, 0, 1.0};
//+
Point(7) = {-52.5, -6.5273, 0, 1.0};
//+
Point(8) = {-6.5625, -6.5273, 0, 1.0};
//+
Point(9) = {6.5625, -6.5273, 0, 1.0};
//+
Point(10) = {10.9375, -6.5273, 0, 1.0};
//+
Point(11) = {24.065, -6.5273, 0, 1.0};
//+
Point(12) = {109.375, -6.5273, 0, 1.0};
//+
Point(13) = {-52.5, 6.5273, 0, 1.0};
//+
Point(14) = {-6.5625, 6.5273, 0, 1.0};
//+
Point(15) = {6.5625, 6.5273, 0, 1.0};
//+
Point(16) = {10.9375, 6.5273, 0, 1.0};
//+
Point(17) = {24.065, 6.5273, 0, 1.0};
//+
Point(18) = {109.375, 6.5273, 0, 1.0};
//+
Point(19) = {-52.5, 43.75, 0, 1.0};
//+
Point(20) = {-6.5625, 43.75, 0, 1.0};
//+
Point(21) = {6.5625, 43.75, 0, 1.0};
//+
Point(22) = {10.9375, 43.75, 0, 1.0};
//+
Point(23) = {24.065, 43.75, 0, 1.0};
//+
Point(24) = {109.375, 43.75, 0, 1.0};
//+cylinder 1 points
Point(25) = {-3.0936, -3.0936, 0, 1.0};
//+
Point(26) = {3.0936, -3.0936, 0, 1.0};
//+
Point(27) = {-3.0936, 3.0936, 0, 1.0};
//+
Point(28) = {3.0936, 3.0936, 0, 1.0};
//+
Point(29) = {0, 0, 0, 1.0};
//+cylinder 2 points
Point(30) = {14.4064, -3.0936, 0, 1.0};
//+
Point(31) = {20.5936, -3.0936, 0, 1.0};
//+
Point(32) = {14.4064, 3.0936, 0, 1.0};
//+
Point(33) = {20.5936, 3.0936, 0, 1.0};
//+
Point(34) = {17.5, 0, 0, 1.0};
//+block lines
Line(1) = {1, 2};Transfinite Curve {1} = Nx1 Using Progression Rx1;
//+
Line(2) = {2, 3};Transfinite Curve {2} = Nx2 Using Progression Rx2;
//+
Line(3) = {3, 4};Transfinite Curve {3} = Nx3 Using Progression Rx3;
//+
Line(4) = {4, 5};Transfinite Curve {4} = Nx4 Using Progression Rx4;
//+
Line(5) = {5, 6};Transfinite Curve {5} = Nx5 Using Progression Rx5;
//+
Line(6) = {7, 8};Transfinite Curve {6} = Nx1 Using Progression Rx1;
//+
Line(7) = {8, 9};Transfinite Curve {7} =  Nx2 Using Progression Rx2;
//+
Line(8) = {9, 10};Transfinite Curve {8} =  Nx3 Using Progression Rx3;
//+
Line(9) = {10, 11};Transfinite Curve {9} =  Nx4 Using Progression Rx4;
//+
Line(10) = {11, 12};Transfinite Curve {10} =  Nx5 Using Progression Rx5;
//+
Line(11) = {13, 14};Transfinite Curve {11} = Nx1 Using Progression Rx1;
//+
Line(12) = {14, 15};Transfinite Curve {12} = Nx2 Using Progression Rx2;
//+
Line(13) = {15, 16};Transfinite Curve {13} = Nx3 Using Progression Rx3;
//+
Line(14) = {16, 17};Transfinite Curve {14} = Nx4 Using Progression Rx4;
//+
Line(15) = {17, 18};Transfinite Curve {15} = Nx5 Using Progression Rx5;
//+
Line(16) = {19, 20};Transfinite Curve {16} = Nx1 Using Progression Rx1;
//+
Line(17) = {20, 21};Transfinite Curve {17} = Nx2 Using Progression Rx2;
//+
Line(18) = {21, 22};Transfinite Curve {18} = Nx3 Using Progression Rx3;
//+
Line(19) = {22, 23};Transfinite Curve {19} = Nx4 Using Progression Rx4;
//+
Line(20) = {23, 24};Transfinite Curve {20} = Nx5 Using Progression Rx5;
//+
Line(21) = {1, 7};Transfinite Curve {21} = Ny1 Using Progression Ry1;
//+
Line(22) = {7, 13};Transfinite Curve {22} = Ny2 Using Progression Ry2;
//+
Line(23) = {13, 19};Transfinite Curve {23} = Ny3 Using Progression Ry3;
//+
Line(24) = {2, 8};Transfinite Curve {24} = Ny1 Using Progression Ry1;
//+
Line(25) = {8, 14};Transfinite Curve {25} = Ny2 Using Progression Ry2;
//+
Line(26) = {14, 20};Transfinite Curve {26} = Ny3 Using Progression Ry3;
//+
Line(27) = {3, 9};Transfinite Curve {27} = Ny1 Using Progression Ry1;
//+
Line(28) = {9, 15};Transfinite Curve {28} = Ny2 Using Progression Ry2;
//+
Line(29) = {15, 21};Transfinite Curve {29} = Ny3 Using Progression Ry3;
//+
Line(30) = {4, 10};Transfinite Curve {30} = Ny1 Using Progression Ry1;
//+
Line(31) = {10, 16};Transfinite Curve {31} = Ny2 Using Progression Ry2;
//+
Line(32) = {16, 22};Transfinite Curve {32} = Ny3 Using Progression Ry3;
//+
Line(33) = {5, 11};Transfinite Curve {33} = Ny1 Using Progression Ry1;
//+
Line(34) = {11, 17};Transfinite Curve {34} = Ny2 Using Progression Ry2;
//+
Line(35) = {17, 23};Transfinite Curve {35} = Ny3 Using Progression Ry3;
//+
Line(36) = {6, 12};Transfinite Curve {36} = Ny1 Using Progression Ry1;
//+
Line(37) = {12, 18};Transfinite Curve {37} = Ny2 Using Progression Ry2;
//+
Line(38) = {18, 24};Transfinite Curve {38} = Ny3 Using Progression Ry3;
//+
Circle(39) = {25, 29, 26};Transfinite Curve {39} = Nb Using Progression Rb;
//+
Circle(40) = {26, 29, 28};Transfinite Curve {40} = Nc Using Progression Rc;
//+
Circle(41) = {28, 29, 27};Transfinite Curve {41} = Nc Using Progression Rc;
//+
Circle(42) = {27, 29, 25};Transfinite Curve {42} = Nc Using Progression Rc;
//+
Circle(43) = {30, 34, 31};Transfinite Curve {43} = Nc Using Progression Rc;
//+
Circle(44) = {31, 34, 33};Transfinite Curve {44} = Nc Using Progression Rc;
//+
Circle(45) = {33, 34, 32};Transfinite Curve {45} = Nc Using Progression Rc;
//+
Circle(46) = {32, 34, 30};Transfinite Curve {46} = Nc Using Progression Rc;
//+
Line(47) = {8, 25};Transfinite Curve {47} = Nb Using Progression Rb;
//+
Line(48) = {9, 26};Transfinite Curve {48} = Nb Using Progression Rb;
//+
Line(49) = {15, 28};Transfinite Curve {49} = Nb Using Progression Rb;
//+
Line(50) = {14, 27};Transfinite Curve {50} = Nb Using Progression Rb;
//+
Line(51) = {10, 30};Transfinite Curve {51} = Nb Using Progression Rb;
//+
Line(52) = {11, 31};Transfinite Curve {52} = Nb Using Progression Rb;
//+
Line(53) = {17, 33};Transfinite Curve {53} = Nb Using Progression Rb;
//+
Line(54) = {16, 32};Transfinite Curve {54} = Nb Using Progression Rb;

//+
Curve Loop(55) = {21, 6, -24, -1};
//+
Plane Surface(56) = {55};
//+
Curve Loop(57) = {22, 11, -25, -6};
//+
Plane Surface(58) = {57};
//+
Curve Loop(59) = {23, 16, -26, -11};
//+
Plane Surface(60) = {59};
//+
Curve Loop(61) = {2, 27, -7, -24};
//+
Plane Surface(62) = {61};
//+
Curve Loop(63) = {47, 39, -48, -7};
//+
Plane Surface(64) = {63};
//+
Curve Loop(65) = {48, 40, -49, -28};
//+
Plane Surface(66) = {65};
//+
Curve Loop(67) = {49, 41, -50, 12};
//+
Plane Surface(68) = {67};
//+
Curve Loop(69) = {25, 50, 42, -47};
//+
Plane Surface(70) = {69};
//+
Curve Loop(71) = {17, -29, -12, 26};
//+
Plane Surface(72) = {71};
//+
Curve Loop(73) = {3, 30, -8, -27};
//+
Plane Surface(74) = {73};
//+
Curve Loop(75) = {31, -13, -28, 8};
//+
Plane Surface(76) = {75};
//+
Curve Loop(77) = {18, -32, -13, 29};
//+
Plane Surface(78) = {77};
//+
Curve Loop(79) = {4, 33, -9, -30};
//+
Plane Surface(80) = {79};
//+
Curve Loop(81) = {51, 43, -52, -9};
//+
Plane Surface(82) = {81};
//+
Curve Loop(83) = {52, 44, -53, -34};
//+
Plane Surface(84) = {83};
//+
Curve Loop(85) = {53, 45, -54, 14};
//+
Plane Surface(86) = {85};
//+
Curve Loop(87) = {54, 46, -51, 31};
//+
Plane Surface(88) = {87};
//+
Curve Loop(89) = {35, -19, -32, 14};
//+
Plane Surface(90) = {89};
//+
Curve Loop(91) = {5, 36, -10, -33};
//+
Plane Surface(92) = {91};
//+
Curve Loop(93) = {37, -15, -34, 10};
//+
Plane Surface(94) = {93};
//+
Curve Loop(95) = {38, -20, -35, 15};
//+
Plane Surface(96) = {95};
//+
Transfinite Surface {56};
//+
Transfinite Surface {58};
//+
Transfinite Surface {60};
//+
Transfinite Surface {62};
//+
Transfinite Surface {64};
//+
Transfinite Surface {66};
//+
Transfinite Surface {68};
//+
Transfinite Surface {70};
//+
Transfinite Surface {72};
//+
Transfinite Surface {74};
//+
Transfinite Surface {76};
//+
Transfinite Surface {78};
//+
Transfinite Surface {80};
//+
Transfinite Surface {82};
//+
Transfinite Surface {84};
//+
Transfinite Surface {86};
//+
Transfinite Surface {88};
//+
Transfinite Surface {90};
//+
Transfinite Surface {92};
//+
Transfinite Surface {94};
//+
Transfinite Surface {96};
//+
Recombine Surface {56};
//+
Recombine Surface {58};
//+
Recombine Surface {60};
//+
Recombine Surface {62};
//+
Recombine Surface {64};
//+
Recombine Surface {66};
//+
Recombine Surface {68};
//+
Recombine Surface {70};
//+
Recombine Surface {72};
//+
Recombine Surface {74};
//+
Recombine Surface {76};
//+
Recombine Surface {78};
//+
Recombine Surface {80};
//+
Recombine Surface {82};
//+
Recombine Surface {84};
//+
Recombine Surface {86};
//+
Recombine Surface {88};
//+
Recombine Surface {90};
//+
Recombine Surface {92};
//+
Recombine Surface {94};
//+
Recombine Surface {96};
//+
Extrude {0, 0, 1} {
  Surface{56}; Surface{58}; Surface{60}; Surface{62}; Surface{64}; Surface{66}; Surface{68}; Surface{70}; Surface{72}; Surface{74}; Surface{76}; Surface{78}; Surface{80}; Surface{82}; Surface{84}; Surface{86}; Surface{88}; Surface{90}; Surface{92}; Surface{94}; Surface{96}; 
  Layers{1};
  Recombine;
}
//+
Physical Surface("inlet") = {105, 127, 149};
//+
Physical Surface("outlet") = {505, 523, 545};
//+
Physical Surface("top") = {153, 281, 347, 483, 549};
//+
Physical Surface("bottom") = {117, 171, 303, 369, 501};
//+
Physical Surface("cylinder1") = {197, 219, 241, 267};
//+
Physical Surface("cylinder2") = {395, 417, 439, 461};
//+
Physical Surface("front&back") = {118, 140, 162, 184, 206, 228, 250, 70, 294, 316, 338, 360, 382, 404, 426, 86, 88, 90, 92, 94, 96, 56, 58, 60, 62, 64, 66, 68, 272, 72, 74, 76, 78, 80, 82, 84, 448, 470, 492, 514, 536, 558};
