目录
1 概述
2 运行结果
3 参考文献
4 Matlab代码
[1]王子介,G.KRAUSS,张丛智.热交换器的微元模拟法及求解[J].制冷学报,2000(01):33-39.
主函数部分代码:
rhoc = 1060; %kg/m3
rhoh = 1000; %kg/m3
Cpc = 805; %J /Kg-K
Cph = 4187;%J /Kg-K
kc = 0.38; %W/m-K
kh = 0.6408;%W/m-K
vc = 1; % m/s
vh = 2; % m/s
D0 = 0.01;
Di = 0.008;
Dhyd = D0 - Di;
Vdotc = pi*(Di^2)*0.25*vc;
Vdoth = pi*(D0^2 - Di^2)*0.25*vh;
hc = 4.36*kc/Di;
hh = 4.36*kh/Dhyd;
Uheat = 1/((1/hc)+(1/hh));
mc = rhoc*Vdotc*Cpc; %W/K
mh = rhoh*Vdoth*Cph; %W/K
eta = 1 + (mc/mh);
Uc = Uheat*pi*Di*eta; %W/m-K
M = mc;
U = Uc;
L = 20;
Num = 20;
l = L/Num ;
Tci = 293;
Tco = 353;
Thi = 373;
mt0 = mc*Tci + mh*Thi;
a = (M/(l^2)) + (U/(2*l));
b = (M/(l^2)) - (U/(2*l));
c = 2*M/(l^2) ;
T = zeros(Num+1,1);
T(1,1) = Tci;
T(end,1) = Tco;
T(2:end-1,1) = 0.5*(Tci + Tco);
N = 500 % Number of Iterations
for i = 1 : N
for j = 2:(Num)
T(j,1) = (a/c)*T(j+1,1) + (b/c)*T(j-1,1);
end
end