summaryrefslogtreecommitdiff
path: root/1358/CH1/EX1.7/Example17.sce
blob: 10006b7ed0254464b523ec21e8806c8453d2d0dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// 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 1, Example 7")
// Using isentropic P-T Relation T02' = T01 * (P02/P01) ^ (gamm - 1 / 2)
//Total to total Efficiency etta tt implies T01 - T02 = (T01 - T02") * ettatt
//Power input W1 = cp * delta To
//Power output W2 = W1 * N2 ^ 2 * D2 ^ 2 / (N1 * D2)^2 
ettatt = 0.85;
T01 = 1050;
gamm = 1.4;
T02 = T01 * (1/4)^((1.4-1)/2);
disp("Power input in KJ/Kg and Power output in KJ/Kg are :")
W1 = 1.005 * 292.13
W2 = 293.59 * 1000 * 12500 ^ 2 * .2 ^ 2 / (15500^2 * 0.3^2)
disp("Therefore power output = ")
Power = W2/1000