summaryrefslogtreecommitdiff
path: root/1244/CH8/EX8.2/Example82.sce
blob: d868408516bb3c472af94c4b8185276f822c5528 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65


// Display mode
mode(0);

// Display warning for floating point exception
ieee(1);

clc;
disp("Principles of Heat Transfer, 7th Ed. Frank Kreith et. al Chapter - 8 Example # 8.2 ")

//mass flow rate of hot fluid in kg/s
mh = 1;
//Specific heat of hot fluid n J/kgK
ch = 2100;
//Inlet temperature of hot fluid in degree C
Thin = 340;
//Outlet temperature of hot fluid in degree C
Thout = 310;
//Specific heat of cold fluid n J/kgK
cc = 4187;
//Inlet temperature of cold fluid in degree C
Tcin = 290;
//Outlet temperature of cold fluid in degree C
Tcout = 300;

//The heat capacity rate of the water in J/kgK is, from Eq. (8.14)
cc = ch*((Thin-Thout)/(Tcout-Tcin));

//Temperature ratio P and Z is, from Eq. (8.20)
P = (Thin-Thout)/(Thin-Tcin); // P Temperature ratio
Z = (Tcout-Tcin)/(Thin-Thout); // Z Temperature ratio

//From Fig. 8.14, F0.94 and the mean temperature difference in degree K is
//F Value
F = 0.94;
//Temperature difference at inlet in degree K
deltaTa = Thin-Tcout;
//Temperature difference at outlet in degree K
deltaTb = Thout-Tcin;
//LMTD in degree K
LMTD = (deltaTa-deltaTb)/log(deltaTa/deltaTb);
//Mean temperature difference in degree K
deltaTmean = F*LMTD;

//From Eq. (8.17) the overall conductance in W/K is
UA = ((mh*ch)*(Thin-Thout))/deltaTmean;

//With reference to the new conditions and Eq. 6.62
//Conductance in W/K
UA = UA*((3/4)^0.8);
//Number of transfer units(NTU) value
NTU = UA/(((3/4)*mh)*ch);
//Heat capacity ratio
K = (((3/4)*mh)*ch)/cc;

//From Fig. 8.20 the effectiveness is equal to 0.61
//Effectiveness
E = 0.61;
//New inlet temperaturre of oil in degree K
Toilin = 370;
//From eq. 8.22a
disp("Outlet temperature of oil in degree K")
//Outlet temperature of oil in degree K
Toilout = Toilin-E*(Toilin-Tcin)