summaryrefslogtreecommitdiff
path: root/3821/CH10/EX10.13/Example10_13.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3821/CH10/EX10.13/Example10_13.sce
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '3821/CH10/EX10.13/Example10_13.sce')
-rw-r--r--3821/CH10/EX10.13/Example10_13.sce42
1 files changed, 42 insertions, 0 deletions
diff --git a/3821/CH10/EX10.13/Example10_13.sce b/3821/CH10/EX10.13/Example10_13.sce
new file mode 100644
index 000000000..be68ec89f
--- /dev/null
+++ b/3821/CH10/EX10.13/Example10_13.sce
@@ -0,0 +1,42 @@
+/////////Chapter 10 Properties Of Steam
+////Example 10.13 Page No:196
+////Find Volume occupied by water
+///Input data
+clc;
+clear;
+V=0.04; //Volume of vessel in m^3
+x=1;
+t=250+273; //Saturated steam temp in degree celsius
+mw=9; //Mass of liquid in Kg
+//From steam table(temp basis,at t=250)
+P=39.78*10^5; //in bar
+Vf=0.001251; //In m^3/kg
+Vg=0.05004; //In m^3/Kg
+hf=1085.7; //KJ/Kg
+hfg=2800.4; //KJ/Kg
+hg=1714.7; //KJ/Kg
+
+//Calculation
+Vw=mw*Vf; //Volume occupied by water in m^3
+Vs=V-Vw; //Volume of waterin m^3
+ms=Vs/Vg; //Volume of dry and saturated steam in Kg
+m=mw+ms; //Total mass of steam in Kg
+x=ms/(ms+mw); //Dryness fraction of steam
+Vwet=(1-x)*Vf+x*Vg; //Specific volume of steam in m^3/Kg
+h=hf+x*hfg; //Enthalpy of wet steam in KJ/Kg
+EOWS=h*m; //Enthalpy of 9.574 Kg of wet steam KJ
+u=h-((P*Vwet)/10^3); //Internal Energy in KJ/Kg
+IEOS=u*m; //Internal energy of 9.574 Kg of steam in KJ
+
+
+///Output
+printf('Volume occupied by water=%f m^3 \n ',Vw);
+printf('Volume of water=%f m^3 \n ',Vs);
+printf('Volume of dry and saturated steam=%f Kg \n',ms);
+printf('Total mass of steam= %f Kg \n ',m);
+printf('Dryness fraction of steam= %f \n',x);
+printf('Specific volume of steam=%f m^3/Kg \n ',Vwet);
+printf('Enthalpy of wet steam=%f KJ/Kg \n ',h);
+printf('Enthalpy of 9.574 Kg of wet steam=%f KJ \n ',EOWS);
+printf('Internal Energy= %f KJ/Kg \n',u);
+printf('Internal energy of 9.574 Kg of steam=%f KJ \n ',IEOS);