summaryrefslogtreecommitdiff
path: root/1073/CH5/EX5.4/5_4.sce
blob: 488b312d9bd031d8f1a40e937ca9ca14f6f1b411 (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
clc;
clear;
//Example 5.4
mc_dot=1000         //[kg/h]
mc_dot=mc_dot/3600      //[kg/s]
mh_dot=250          //[kg/h]
mh_dot=mh_dot/3600  //[kg/s]
Cpc=4187          //[J/(kg.K)]
Cph=3350        //[W/K]
w=mc_dot*Cpc        //[W/K]
l=mh_dot*Cph        //[W/K]
C=mh_dot*Cph/(mc_dot*Cpc)
U=1160      //[W/sq m.K]
A=0.25      //Heat transfer surface for exchanger in [sq m]
ntu=U*A/(mh_dot*Cph)    //
E=(1-%e^(-ntu*(1+C)))/(1+C)     //Effectiveness of heat exchanger
T1=393      //Inlet temperature in [K]
t1=283      //Cooling water [K]
T2=T1-E*(T1-t1)     //Outlet T of hot liquid 

t2=C*(T1-T2)+t1     //[K]
printf("\n\nEffectiveness of heat exchanger is %f\n",E);
printf("\nOutlet temperature of hot liquid is %f\n",T2);
printf("\nOutlet temperature of water is %f\n",t2)