summaryrefslogtreecommitdiff
path: root/3751/CH2/EX2.12/Ex2_12.sce
blob: 4b8fe3e4d44a3967357ba974acac4a16357ad426 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
//Fluid system - By - Shiv Kumar
//Chapter 2 - Impact of Jet
//Example 2.12
      clc
     clear
//Given Data:-
        Vi=22;     //Absolute velocity of Jet at Inlet of Vane, m/s
        u=11;     //Velocity of Vane, m/s
        ui=u;
        uo=u;
        alpha_i=25;      //Angle made by Jet at Inlet, degrees
        alpha_l=135;     //Angle made by Jet at leaving, degrees
        alpha_o=180-alpha_l;         //degrees
        
//Data Used:-
    g=9.81;        //Acceleration due to gravity, m/s^2

//Computations:-
   //(a)
        Vwi=Vi*cosd(alpha_i);       //m/s
        Vfi=Vi*sind(alpha_i);        //m/s
        Vrwi=Vwi-ui;        //m/s
        beta_i=atand(Vfi/Vrwi);          //degrees
        Vri=Vfi/sind(beta_i);           //m/s
        Vro=Vri;
        beta_o=alpha_o-asind(uo*sind(180-alpha_o)/Vro);        //degrees
        Vwo=Vro*cosd(beta_o)-uo;         //degrees
   //(b)
        W=(Vwi+Vwo)*u/g;       //N-m/N
        
//Results:-
     printf("(a)Vane angle at Inlet, beta_i=%.2f degrees  \n", beta_i)      //The answer vary due to round off error
     printf("    Vane angle at Outlet, beta_o=%.2f degrees  \n", beta_o)      //The answer vary due to round off error
     printf("(b)Work done per second per unit weight of water striking the vane per second=%.2f N-m/N", W)      //The answer vary due to round off error