blob: 1520e3856b9a841d6f64ecbe7ced1641e4b306ce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
clc;
clear;
//Example 5.7
mw_dot=10 //[kg/s]
Cpw=4.187 //[kJ/(kg.K)]
t2=318 //[K]
t1=295 //[K]
Q=mw_dot*Cpw*(t2-t1) //[kJ/s]
Q=Q*1000 //W
dT1=98 //[K]
dT2=75 //[K]
dTlm=(dT1-dT2)/log(dT1/dT2) //[K]
hi=850 //[W/sq m.K]
id=0.027 //Inside dia[m]
od=0.031 //Outside dia [m]
hio=hi*id/od //[W/sq m.K]
ho=6000 //Heat transfer coefficients[W/sq m.K]
Uo=1/(1/ho+1/hio) //[W/sq m.K]
Ao=Q/(Uo*dTlm) //[sq m]
L=4 //Length [m]
n=Ao/(%pi*od*L) //[No. of tubes]
printf("\n Number of tubes required = %d\n",round(n));
|