Documente Academic
Documente Profesional
Documente Cultură
% HW 6 Solution
% Use Thwaites' method to perform boundary layer calculation
% for flow past a circular cylinder
% Hiemenz Experiment
% ===================
U = U_inf*(1.814*x./R - 0.271*(x./R).^3-0.0471*(x./R).^5); % fit to
measurements
dU_dx0 = U_inf*1.814/R;
[m,n] = size(x);
dx = diff(x);
dI = 1.0/6*diff(U.^6).*diff(x)./diff(U);
du_dx = [dU_dx0 diff(U)./diff(x)];
I = cumsum(dI);
figure(1)
xlabel('\theta','fontsize',18);
ylabel('U','fontsize',18);
legend('Potential Flow','Hiemenz Experiment');
figure(2)
xlabel('\theta','fontsize',18);
ylabel('Cfbar','fontsize',18);
legend('Potential Flow','Hiemenz Experiment');
Velocity Profile as a function of angle for potential flow and actual
edge velocity as measured by Hiemenz
Skin friction coefficient Cfbar as a function of angle for the potential
flow solution and the actual velocity as measured by Hiemenz. The
skin friction coefficient is plotted only till the separation point.