From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 2510/CH14/EX14.8/Ex14_8.sce | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 2510/CH14/EX14.8/Ex14_8.sce (limited to '2510/CH14/EX14.8/Ex14_8.sce') diff --git a/2510/CH14/EX14.8/Ex14_8.sce b/2510/CH14/EX14.8/Ex14_8.sce new file mode 100755 index 000000000..fe3fcd8ab --- /dev/null +++ b/2510/CH14/EX14.8/Ex14_8.sce @@ -0,0 +1,19 @@ +//Variable declaration: +T1 = 138.0 //Temperature of oil entering the cooler (°F) +T2 = 103.0 //Temperature of oil leaving the cooler (°F) +t1 = 88.0 //Temperature of coolant entering the cooler (°F) +t2 = 98.0 //Temperature of coolant leaving the cooler (°F) + +//Calculation: +//For counter flow unit: +DT1 = T1 - t2 //Temperature difference driving force at the cooler entrance (°F) +DT2 = T2 - t1 //Temperature difference driving force at the cooler exit (°F) +DTlm1 = (DT1 - DT2)/(log(DT1/DT2)) //LMTD (driving force) for the heat exchanger (°F) +//For parallel flow unit: +DT3 = T1 - t1 //Temperature difference driving force at the cooler entrance (°F) +DT4 = T2 - t2 //Temperature difference driving force at the cooler exit (°F) +DTlm2 = (DT3 - DT4)/(log(DT3/DT4)) //LMTD (driving force) for the heat exchanger (°F) + +//Result: +printf("The LMTD for counter-current flow unit is : %.1f °F.",DTlm1) +printf("The LMTD for parallel flow unit is : %.1f °F.",DTlm2) -- cgit