summaryrefslogtreecommitdiff
path: root/2510/CH9/EX9.1/Ex9_1.sce
blob: 7f44e52adf13bda48eb8519be599d27579060b0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//Variable declaration:
D = 1.0                     //Diamete of vessel (ft)
L = 1.5                     //Length of vessel (ft)
T1 = 390.0                  //Surface temperature of vessel (°F)
T2 = 50.0                   //Surrounding temperature of vessel (°F)
h = 4.0                     //Convective heat transfer coefficient (Btu/h.ft.°F)
pi = %pi

//Calculation:
A = pi*D*L+2*pi*(D/2)**2    //Total heat transfer area (ft^2)
Q = h*A*(T1-T2)             //Rate of heat transfer (Btu/h)
R = 1/(h*A)                 //Thermal resistance (°F.h/Btu)

//Result:
printf("The thermal resistance of vessel wal is : %.4f  °F.h/Btu.",R)