summaryrefslogtreecommitdiff
path: root/2223/CH18/EX18.1
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2223/CH18/EX18.1
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2223/CH18/EX18.1')
-rwxr-xr-x2223/CH18/EX18.1/Ex18_1.savbin0 -> 29008 bytes
-rwxr-xr-x2223/CH18/EX18.1/Ex18_1.sce43
2 files changed, 43 insertions, 0 deletions
diff --git a/2223/CH18/EX18.1/Ex18_1.sav b/2223/CH18/EX18.1/Ex18_1.sav
new file mode 100755
index 000000000..9bd7e8796
--- /dev/null
+++ b/2223/CH18/EX18.1/Ex18_1.sav
Binary files differ
diff --git a/2223/CH18/EX18.1/Ex18_1.sce b/2223/CH18/EX18.1/Ex18_1.sce
new file mode 100755
index 000000000..6019def92
--- /dev/null
+++ b/2223/CH18/EX18.1/Ex18_1.sce
@@ -0,0 +1,43 @@
+// scilab Code Exa 18.1 Gas Turbine nozzle row
+
+T1=600; // Entry Temperature of the gas in Kelvin
+p1=10; // Inlet Pressure in bar
+gamma_g=1.3;
+delT=32; // Temperature drop of the gas(T1-T2) in K
+cp_g=1.23*1e3; // Specific Heat of gas at Constant Pressure in kJ/(kgK)
+pr1_2=1.3; // pressure ratio(p1/p2)
+T2s=T1/(pr1_2^((gamma_g-1)/gamma_g));
+delTs=T1-T2s;
+
+// part(a) nozzle efficiency
+n_N=delT/delTs;
+disp("%",n_N*100,"(a) nozzle efficiency is")
+
+// part(b)
+disp("(b)(i)for ideal flow:")
+p2=p1/pr1_2;
+h_01=cp_g*T1;
+h2s=cp_g*T2s;
+c_2s=sqrt((h_01-h2s)/0.5);
+disp("m/s",c_2s,"the nozzle exit velocity is")
+R_g=cp_g*((gamma_g-1)/gamma_g);
+M_2s=c_2s/(sqrt(gamma_g*R_g*T2s));
+disp(M_2s,"and the Mach number is")
+disp("(b)(ii)for actual flow:")
+T2=T1-delT;
+a2=sqrt(gamma_g*R_g*T2);
+c_2=sqrt((cp_g*delT)/0.5);
+disp("m/s",c_2,"the nozzle exit velocity is")
+M2=c_2/a2;
+disp(M2,"and the Mach number is")
+
+// part(c) stagnation pressure loss across the nozzle
+p01=p1;
+p02=p2/0.79; // from isentropic gas tables p2/p02=0.79 at gamma=1.3 and M2=0.613
+delp0=p01-p02;
+disp("bar",delp0,"(c)the stagnation pressure loss across the nozzle is")
+
+// part(d) nozzle efficiency based on stagnation pressure loss
+delp=p1-p2;
+n_N_a=1-(delp0/delp);
+disp("%",n_N_a*100,"(d)the nozzle efficiency based on stagnation pressure loss is")