summaryrefslogtreecommitdiff
path: root/2090/CH4/EX4.8
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2090/CH4/EX4.8
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 '2090/CH4/EX4.8')
-rwxr-xr-x2090/CH4/EX4.8/Chapter4_Example8.sce22
1 files changed, 22 insertions, 0 deletions
diff --git a/2090/CH4/EX4.8/Chapter4_Example8.sce b/2090/CH4/EX4.8/Chapter4_Example8.sce
new file mode 100755
index 000000000..0dea1651f
--- /dev/null
+++ b/2090/CH4/EX4.8/Chapter4_Example8.sce
@@ -0,0 +1,22 @@
+clc
+clear
+//Input data
+T=800;//The given temperature in K
+e=1;//The equivalence ratio
+
+//Calculations
+hi=154.723;//Sensible Enthalpy for isooctane at 800 K in MJ/kmol
+ho=15.841;//Sensible Enthalpy for oxygen at 800 K in MJ/kmol
+hn=15.046;//Sensible Enthalpy for nitrogen at 800 K in MJ/kmol
+nc=0.00058;//Number of kmoles of C8H18 for equivalence ratio for 1 kg of air
+no=0.00725;//Number of kmoles of oxygen for equivalence ratio for 1 kg of air
+nn=0.0273;//Number of kmoles of nitrogen for equivalence ratio for 1 kg of air
+Hs=(nc*hi)+(no*ho)+(nn*hn);//Total sensible enthalpy of reactants in MJ per kg of air
+Hs1=Hs*1000;//Total sensible enthalpy of reactants in kJ per kg of air
+R=8.314;//Gas constant in kJ/kgK
+n=nc+no+nn;//Total number of kmoles for 1 kg of air
+Us=Hs-(n*R*10^-3*(T-298));//sensible internal energy of reactants in MJ per kg of air
+Us1=Us*1000;//sensible internal energy of reactants in kJ per kg of air
+
+//Output
+printf('Total sensible enthalpy of reactants = %3.1f kJ/kg air \n Sensible internal energy of reactants = %3.1f kJ/kg air ',Hs1,Us1)