blob: 4ba0b751e565b3668f89f2902241ab762621a873 (
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
|
clc;
clear all;
disp("Required tube length")
m=50/60;//kg/sec
di=2.5/100;//m inner diameter
ts=100;// degree C
ti=25;// degree C
to=55;// degree C
cp=4187;//J/kg.C
t1=100-25;
t2=100-55;
tm=(t1-t2)/log(t1/t2);
Q=m*cp*(to-ti);//W
As=%pi/4*di^2;
;tw=(ts+(ti+to)/2)/2;// degree C temperature at which the properties of water should be taken
mu=405*10^(-6);// kg.m/s
rho=977.8;//kg/m^3
k=66.72/100;//W/m.C
U=m/(As*rho);//m/s
Re=rho*U*di/mu;
Pr=mu*cp/k;
Nu=0.023*Re^0.8*Pr^0.4;
h=Nu*k/di;// W/m^2.C
L=Q/(h*%pi*di*tm);//m
disp("m",L,"Required tube length =")
|