summaryrefslogtreecommitdiff
path: root/2510/CH16/EX16.5
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2510/CH16/EX16.5
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/CH16/EX16.5')
-rwxr-xr-x2510/CH16/EX16.5/Ex16_5.sce25
1 files changed, 25 insertions, 0 deletions
diff --git a/2510/CH16/EX16.5/Ex16_5.sce b/2510/CH16/EX16.5/Ex16_5.sce
new file mode 100755
index 000000000..cdda6437e
--- /dev/null
+++ b/2510/CH16/EX16.5/Ex16_5.sce
@@ -0,0 +1,25 @@
+//Variable declaration:
+//From figure 16.13, for ideal countercurrent heat exchanger:
+T1 = 150.0 //Inlet temperature of hot fluid ( F)
+T2 = 100.0 //Outet temperature of hot fluid ( F)
+t1 = 50.0 //Inlet temperature of cold fluid ( F)
+t2 = 80.0 //Outet temperature of hot fluid ( F)
+//From figure 16.14, for shell and tube exchanger:
+T_1 = 50.0 //Inlet temperature of cold fluid ( F)
+T_2 = 80.0 //Outet temperature of hot fluid ( F)
+t_1 = 150.0 //Inlet temperature of hot fluid ( F)
+t_2 = 100.0 //Outet temperature of hot fluid ( F)
+
+//Calculation:
+DT1 = T1 - t2 //Temperature driving force 1 ( F)
+DT2 = T2 - t1 //Temperature driving force 1 ( F)
+DTlm1 = ((DT1-DT2)/log(DT1/DT2)) //Log mean temperature driving force for ideal countercurrent heat exchanger ( F)
+P = (t2-t1)/(T1 - t1) //Dimensionless ratio P
+R = (T1-T2)/(t2-t1) //Dimensionless ratio R
+//From figure 16.7:
+F = 0.925 //Correction Factor
+DTlm2 = F*DTlm1 //Log mean temperature driving force for shell and tube exchanger ( F)
+
+//Result:
+printf("The log mean temperature difference for ideal system is : %.1f F.",DTlm1)
+printf("The log mean temperature difference for real system is : %.2f F.",DTlm2)