// Gmsh project created on Mon Dec 18 13:01:03 2017
// Gmsh project created on Thu Dec 14 16:36:21 2017
// Gmsh project created on Wed Dec 13 11:08:40 2017
//Nozzle diameter D
D=2;
//Nozzle Length LN
LN=1;
//DOmain length L
L=30*D;
//Domain Width W
W=10*D;
//Magnification h
h=1;

//+
Point(1) = {0, 0, 0, h};
//+
Point(2) = {0, 0.5*D, 0, h};
//+
Point(3) = {0, -0.5*D, 0, h};
//+
Point(4) = {-1*LN, -0.5*D, 0, h};
//+
Point(5) = {-1*LN, 0.5*D, 0, h};
//+
Point(6) = {0, W/2, 0, 1.0};
//+
Point(7) = {0, -W/2, 0, 1.0};
//+
Point(8) = {L, -W/2, 0, 1.0};
//+
Point(9) = {L, W/2, 0, 1.0};
//+
Point(10) = {L, 0, 0, 1.0};
//+
Point(20) = {L, 0.5*D, 0, 1.0};
//+
Point(21) = {L, -0.5*D, 0, 1.0};
//+
Line(1) = {7, 3};
//+
Line(2) = {6, 9};
//+
Line(3) = {9, 8};
//+
Line(4) = {8, 7};

//+
Line(6) = {3, 4};

//+
Line(8) = {5, 2};
//+
Line(9) = {4, 5};


//+
Line(14) = {6, 2};



//+

//+
Line Loop(1) = {2, 3, 4, 1, 6, 9, 8, -14};
//+
Plane Surface(1) = {1};
//+
Recombine Surface {1};
//+
Physical Line("1") = {9};
//+
Physical Line("2") = {8, 6};
//+
Physical Line("3") = {14, 2, 3, 4, 1};
//+
Physical Surface("4") = {1};
