summaryrefslogtreecommitdiff
path: root/2510/CH14/EX14.7/Ex14_7.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2510/CH14/EX14.7/Ex14_7.sce
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 '2510/CH14/EX14.7/Ex14_7.sce')
-rwxr-xr-x2510/CH14/EX14.7/Ex14_7.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/2510/CH14/EX14.7/Ex14_7.sce b/2510/CH14/EX14.7/Ex14_7.sce
new file mode 100755
index 000000000..e78e683a8
--- /dev/null
+++ b/2510/CH14/EX14.7/Ex14_7.sce
@@ -0,0 +1,17 @@
+//Variable declaration:
+m = 8000.0 //Rate of oil flow inside the tube (lb/h)
+Cp = 0.55 //Heat capacity of oil (Btu/lb.°F)
+T1 = 210.0 //Initial temperature of oil (°F)
+T2 = 170.0 //Final temperature of oil (°F)
+t = 60.0 //Tube surface temperature (°F)
+
+//Calculation:
+DT = T2 - T1 //Change in temperature (°F)
+Q = m*Cp*DT //Heat transferred from the heavy oil (Btu/h)
+DT1 = T1 - t //Temperature difference driving force at the pipe entrance (°F)
+DT2 = T2 - t //Temperature difference driving force at the pipe exit (°F)
+DTlm = (DT1 - DT2)/(log(DT1/DT2)) //LMTD (driving force) for the heat exchanger (°F)
+
+//Result:
+printf("The heat transfer rate is : %.0f Btu/h.",Q)
+printf("The LMTD for the heat exchanger is : %.0f °F.",DTlm)