summaryrefslogtreecommitdiff
path: root/2223/CH12/EX12.2
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2223/CH12/EX12.2
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/CH12/EX12.2')
-rwxr-xr-x2223/CH12/EX12.2/Ex12_2.savbin0 -> 76760 bytes
-rwxr-xr-x2223/CH12/EX12.2/Ex12_2.sce16
2 files changed, 16 insertions, 0 deletions
diff --git a/2223/CH12/EX12.2/Ex12_2.sav b/2223/CH12/EX12.2/Ex12_2.sav
new file mode 100755
index 000000000..0c221e587
--- /dev/null
+++ b/2223/CH12/EX12.2/Ex12_2.sav
Binary files differ
diff --git a/2223/CH12/EX12.2/Ex12_2.sce b/2223/CH12/EX12.2/Ex12_2.sce
new file mode 100755
index 000000000..e4b3203a2
--- /dev/null
+++ b/2223/CH12/EX12.2/Ex12_2.sce
@@ -0,0 +1,16 @@
+// scilab Code Exa 12.2 Calculation on a centrifugal air compressor
+T01=288; // in Kelvin
+p01=1.02; // Initial Pressure in bar
+dh=0.10; // hub diameter in m
+dt=0.25; // tip diameter in m
+m=5; // in kg/s
+gamma=1.4;
+n=(gamma-1)/gamma;
+N=7.2e3; // rotor Speed in RPM
+d2=0.45; // Impeller diameter in m
+cp=1005; // Specific Heat at Constant Pressure in J/(kgK)
+u2=%pi*d2*N/60;
+pr0=((1+(u2^2/(cp*T01)))^(1/n));
+disp(pr0,"pressure ratio developed pr0=")
+w=u2^2;
+disp("kW/(kg/s)",w*1e-3,"Power required to drive the compressor P=")