summaryrefslogtreecommitdiff
path: root/2339/CH4/EX4.19.1
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2339/CH4/EX4.19.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 '2339/CH4/EX4.19.1')
-rwxr-xr-x2339/CH4/EX4.19.1/Ex4_19.sce27
1 files changed, 27 insertions, 0 deletions
diff --git a/2339/CH4/EX4.19.1/Ex4_19.sce b/2339/CH4/EX4.19.1/Ex4_19.sce
new file mode 100755
index 000000000..ae4ad1e86
--- /dev/null
+++ b/2339/CH4/EX4.19.1/Ex4_19.sce
@@ -0,0 +1,27 @@
+clc
+clear
+
+//Conditions at 7 bat
+P=7; //in bar
+Tsat=165+273; //in K
+Hf=697.2; //in kJ/kg
+Hfg=2066.3; //in kJ/kg
+Hg=2763.5; //in kJ/kg
+Vg=0.273; //in m^3/kg
+D=0.02; //in m
+vel=17; //in m/s
+Cps=4.187; //in kJ/kg K
+Tw1=25; //in Celcius
+Tw2=100; //in Celcius
+Vfr=(22/7)*D*D*vel*(1/4)*60; //Volume flow rate in m^3/min
+x=0.9; //Dryness Fraction
+V=x*Vg;
+
+Mfr=Vfr/V; //Mass flow rate
+printf('The mass flow rate of steam: %2.2f kg/min',Mfr);
+printf('\n');
+H1=Hf+(x*Hfg);
+H2=Cps*100;
+Mw=(Mfr*(H1-H2))/(Cps*(Tw2-Tw1));
+printf('The mass flow rate of water: %2.2f kg/min',Mw);
+printf('\n');