You are on page 1of 8

VARIOUS EQUATIONS (WE MAY NOT NEED ANY OF THESE!


MY SECTION STARTS HERE
UNCERTAINTY ANALYSIS

Skin Friction coeffecient

For Values of
U
fs
= 12.139 m/s
u
t
= 0.632

ut
= 0.02625
C
f
= .005434

*(


Therefore:




Local heat transfer coefficient


Uncertainty in h is defined as:

[(

*(

[(



Taking the partial derivatives with respect to each measured term:

)
(




For Q
in
= 207.297 W
= 5.670 x 10^-8
= 0.9
A=.6944 m^3
Ts= 305.6 K
T
far
= 293 K
K1= 0.12 W/(m K)
K2= 0.055 W(m K)
L1= 0.019 m
L2= .00953 m
Tb= 305.5 K
U
fs
= 12.05 m/s
W
ts
=W
tb
=W
tf
= +.5 degrees
W
vfs
= .00125
C
p
= 1006 J/Kg K

Where:



)

Evaluating the partials:



Plugging in the values into the W
h
equation:

[ ]

[ ]

[ ]



Stanton number


Evaluating the partials:



Therefore:








APPENDIX-I

Sample Calculations
Skin friction coefficient


Where k = 0.38 and B = 4.1 U
t
can be solved through an iterative approach: guessing values of U
t
until
both sides of the equations are equal. Once U
t
is obtained:


Rearranging this equation:


Plugging the value in for
s
:


For U=8.56m/s and y=.05in the u
t
value calculated ends up being .014 with a free stream velocity of
12.139 m/s. Therefore:


For the actual calculations the average of u
t
was used.

Stanton Number


For Q
in
= 207.297 W
= 5.670 x 10^-8
= 0.9
A=.6944 m^3
Ts= 305.6 K
T
far
= 293 K
K1= 0.12 W/(m K)
K2= 0.055 W(m K)
L1= 0.019 m
L2= .00953 m
Tb= 305.5 K
U
fs
= 12.05 m/s
W
ts
=W
tb
=W
tf
= +.5 degrees
W
vfs
= .00125
C
p
= 1006 J/Kg K




APPENDIX-II
Appendix-II-I

MatLab Code for Uncertainty analysis

%% Define an Take Derivative of Functions
syms ts tfar tb a e s tfar tb kply kbals l1 l2 q R ts wts wtfar wtb roe cp vfs
H Wvfs
h= ((q-(e*s*a.*(ts.^4-tfar^4))-((1/R).*(ts-tb)))./(a.*(ts-tfar))); %defines
h function
dhdts=diff(h, ts);
%partial diff wrt ts
dhdtfar=diff(h, tfar);
%partial diff wrt tfar
dhdtb = diff(h, tb);
%partial diff wrt tback
Wh = ((dhdts*wts)^2 + (dhdtfar*wtfar)^2+(dhdtb*wtb)^2)^(1/2);
%uncertanty calculation

Stx = H/(roe*cp*vfs); %defines Stx
function
dStxdH = diff(Stx, H); %partial diff wrt
h
dStxdvfs = diff(Stx, vfs);
dStxdvfs = subs(dStxdvfs, H, h);
Wstx = ((dStxdH*Wh)^2+(dStxdvfs*Wvfs)^2)^(1/2);
Stx=subs(Stx,H,h);
%% Defining All Constants
load('ts.mat')
load('l.mat')
a=0.6944; %2.54; %in squared meeters
e=.9;

s=5.670e-8; %in SI system
tfar=20+273; %in Kelvin
tb=32.51533+273; % degress kelvin
kply=.12; % both in w/(mK)
kbals=.055; %in meeters
q=207.297; %in Watts
roe = 1.2; % in kg/m^3
cp = 1005 ; %J/kg*k
vfs= 12.057; %Free Streem Velocity
l1= .019;
l2= .00953;
v=1.25917e-05;
R=(1/a)*(l1/kply+l2/kbals);
%%Defining all Uncertanties
wtfar=.5;
wtb=.5;
wts=.5;
Wvfs =.00125;

%% Get Data
filename = 'Thermocouple Data Reduced.xlsx'
% display('Select Range of Ts data')
% ts= xlsread(filename, -1);

%% Write data
xlRange='H20';
xlRange1='I20';
xlRange2='J20';
xlswrite(filename,eval(h),1,xlRange)
xlswrite(filename,eval(Wh),1,xlRange1)
xlswrite(filename,eval(Wstx),1,xlRange2)

mean(eval(Wh));
mean(eval(Wstx));

WhPe=(mean(eval(Wh))/mean(eval(h)));
WstxPe=(mean(eval(Wstx))/mean(eval(Stx)));

Re=(vfs/v).*(l);
Pr=.7;
Stx_emp=.453.*(Re.^-.05).*Pr^(-2/3);
close all
%% Graph Data
figure(1)
errorbar(eval(h),eval(h)*WhPe)
title('local heat transfer coeffecient')
ylabel('H value')

figure(2)
hold on
errorbar(eval(Stx),eval(Stx)*WstxPe)
%plot(Stx_emp)
title('Stranton Number')
ylabel('Stx value')

xlswrite(filename, WstxPe, 1,'J19')
xlswrite(filename, WhPe, 1, 'I19')

Appendix-II-II

0 2 4 6 8 10 12 14 16
0
2
4
6
8
10
12
14
16
18
20
local heat transfer coeffecient
H

v
a
l
u
e
Appendix-II-III


0 2 4 6 8 10 12 14 16
0
0.2
0.4
0.6
0.8
1
1.2
1.4
x 10
-3
Stanton Number
S
t
x

v
a
l
u
e

You might also like