summaryrefslogtreecommitdiff
path: root/1358/CH2/EX2.9/Example29.sce
blob: 0e95022ee867e70b22ae89343dd59361b363c1e3 (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
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Turbomachinery Design and Theory,Rama S. R. Gorla and Aijaz A. Khan, Chapter 2, Example 9")
disp("The Given Data")
disp("The Following Data D2 is diameter in m, U2 and Cr2 in m/s, alpha1 and beta2 in degrees, Q is i9n m3/s")
D2 = 1
U2 = 11
alpha1 = 90
Cr2 = 2.5
beta2 = 32
Q = 5.5
rho = 1000;
disp("Outlet Velocity Cw2 in m/s is :")
Cw2 = U2 - (Cr2/tan(32*%pi/180))
disp("Power in pump in kilowatts is :")
P = rho*Q*Cw2*U2/(1000*60)
//H.P. = 2*pi*N*T/60
disp("Rpm and Torque T in Nm/s are :")
N = 60*U2/(%pi * D2)
T= P*1000*60/(2*%pi*N)