You are on page 1of 2

12/23/19 9:24 PM C:\Users\Morgan...\CME455Project3Part3.

m 1 of 2

clear all

%% Part 3 of Project 3
%Morgan Walli, Stephen Kietz, Amanda Holbrook, Christina Binkowski
%CME 455 Fall 2019
%December 13, 2019
%1 shell pass, 2 tube passes

%% input knowns and givens


display('*******************************************************************')
display('Please input all required parameters in the script below prior to running.')
display('Script is for a 1 shell pass, 2 tube pass heat exchanger')
format long
%1 shell pass, 2 tube passes

% hot stream
flowrateHot = 25 % kg/s
heatCapacityHot = 2470 %J/(kg*K)
temperatureHotIn = 200+273 %K

% cold stream
flowrateCold = 79.07 % kg/s
heatCapacityCold = 2050 %J/(kg*K)
temperatureColdIn = 35+273 %K

%Overall heat transfer coefficient


u = 209.7 %W/(m2*K)

%Area
a = 387.7 %m2

display('*******************************************************************')
display('Script calculates the output temperatures for the hot and cold streams.')

%find Ccold and Chot

cc = flowrateCold*heatCapacityCold;

ch = flowrateHot*heatCapacityHot;

%find Cmin
if cc < ch

cmin = cc;
cmax = ch;

else

cmin = ch;
cmax = cc;
12/23/19 9:24 PM C:\Users\Morgan...\CME455Project3Part3.m 2 of 2

end

%find NTU

ntu = u*a/cmin;

%find Cr

cr = cmin/cmax;

%calculate e

e = 2*(1+cr+(1+cr^2)^(1/2)* (1+exp(-(ntu)*(1+cr^2)^(1/2)))/(1-exp(-(ntu)*(1+cr^2)^
(1/2))))^(-1);

%determine q

q = e*cmin*(temperatureHotIn - temperatureColdIn);

%determine temperatures out

format short

temperatureColdOutK = temperatureColdIn + q/cc;

temperatureHotOutK = temperatureHotIn - q/ch;

temperatureColdOutC = temperatureColdOutK - 273 %C

temperatureHotOutC = temperatureHotOutK - 273 %C

display('*******************************************************************')
display('SCRIPT COMPLETE')
display('*******************************************************************')

You might also like