summaryrefslogtreecommitdiff
path: root/3720/CH6/EX6.9/Ex6_9.sce
blob: bcff837b5c0d98b7a51ef6e89f022fd3c0941036 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//Example 6_9
clc;clear;
// Given values
rho=1;//The density of water in kg/L
n=300;//rpm
D=0.01;// Diameter of each jet in m
V_t=20;// L/s
V_n=V_t/4;// L/s
r=0.6;//m

// Calculation
A_j=(%pi*D^2)/4;//Area of jet in m^2
V_j=(V_n)/(A_j*1000);//Average jet exit velocity in m/s
w=(2*(%pi)*n)/60;// The angular momentum of the nozzle in rad/s
v_n=r*w;//The tangential velocities of the nozzle in m/s
v_r=V_j-v_n;//The average velocity of the water jet relative to the control volume in m/s
m_t=rho*V_t;// Mass flow rate in kg/s
T_shaft=r*m_t*v_r;// The torque transmitted through the shaft in Nm
W=(w*T_shaft)/1000;
printf("The electric power generated=%0.1f kW\n",W);