summaryrefslogtreecommitdiff
path: root/3685/CH19/EX19.17/Ex19_17.sce
diff options
context:
space:
mode:
Diffstat (limited to '3685/CH19/EX19.17/Ex19_17.sce')
-rw-r--r--3685/CH19/EX19.17/Ex19_17.sce23
1 files changed, 23 insertions, 0 deletions
diff --git a/3685/CH19/EX19.17/Ex19_17.sce b/3685/CH19/EX19.17/Ex19_17.sce
new file mode 100644
index 000000000..e82887aaa
--- /dev/null
+++ b/3685/CH19/EX19.17/Ex19_17.sce
@@ -0,0 +1,23 @@
+clc
+// Given that
+r = 2.5 // Static pressure ratio of supercharger
+p1 = 0.6 // Static inlet pressure in bar
+t1 = 5 // Static inlet temperature in degree centigrade
+A_r = 13 // Air-fuel ratio
+m = 0.04 // The rate of fuel consumed by the engine in kg/s
+gama= 1.39 // For air-fuel mixture
+cp = 1.005 // Heat capacity for air-fuel mixture in kJ/kgk
+n_iso = .84 // Isentropic efficiency of compressor
+v = 120 // Exit velocity from the compressor in m/s
+printf("\n Example 19.17\n")
+T1 = t1+273
+T2s = T1*((r)^((gama-1)/gama))
+T2 = T1 +(T2s-T1)/n_iso
+m_g = m*(A_r+1)
+P = m_g*cp*(T2-T1)
+T02 = T2 + (v^2)/(2*cp*1000)
+t02 = T02-273
+p02 = p1*r*((T02/T2)^(gama/(gama-1)))*100
+printf("\n Power required to drive the compressor = %f kW,\n Stagnatio temperature = %f degree centigrade,\n Stagnation pressure = %f kPa",P,t02,p02)
+// The answers given in the book vary due to round off error
+