Академический Документы
Профессиональный Документы
Культура Документы
One of the most important aspect of Aerodynamics is the calculation of lift and drag on a certain
body. This provides engineers with the ability to create objects that could overcome the force of drag,
and work with higher efficiency. Vortex Panel Numerical Method (VPNM) has been utilized since the
1970s, to calculate the aerodynamic characteristics of bodies that have arbitrary shape, thickness and so
on. The objective of the current project is to understand VPNM and employ in calculating lift coefficient,
pressure coefficient and tangential velocity of a NACA 0012 airfoil. The project deals with developing an
iterative solving method in MATLAB that will work with VPNM, utilizing 32 segments each for the top
and bottom surface of the airfoil, to create graphs of lift coefficient, pressure coefficient, and tangential
velocity for upper and lower surface of a thick airfoil.
NACA 0012 is a symmetric airfoil, which has a maximum thickness of 12.2% at 22.5% chord
(AirfoilTools). The coordinates used for the airfoil are listed in the table below. These were obtained
from www.airfoiltools.com and provide a general idea of how the airfoil is designed. To be able to use
the MATLAB code listed in the appendix of the paper, the following values in Table 1 should be
replicated in a notepad file, and named airfoil-data.txt, which would be read by MATLAB to run the
program. A description of each value is provided in the table, and hence reader can use it as an aid to
run the program on any airfoil. The MATLAB code was developed by L. Sankar in April on 1997 (Sankar,
1997).
Table 1 A replication of the input file used for the MATLAB code by L. Sankar
10 Angel of Attack
32 number of coordinates on upper surface
32 number of coordinates on lower surface
1 symmetric airfoil
1y coordinate multiplier
Remaining are the x-y coordinates
0
0
0.005
0.01438
0.01
0.02
0.03
0.04
0.05
0.06
0.08
0.1
0.125
0.15
0.02074
0.02925
0.03522
0.03982
0.04351
0.04655
0.05121
0.05454
0.0574
0.05924
0.175
0.2
0.225
0.25
0.275
0.299
0.349
0.399
0.449
0.5
0.06033
0.06087
0.061
0.06084
0.06048
0.06002
0.05951
0.05808
0.05588
0.05294
0.55
0.6
0.65
0.7
0.75
0.8
0.85
0.9
0.95
1
0.04952
0.04563
0.04133
0.03664
0.0316
0.02623
0.02053
0.01448
0.00807
0.00126
Numerous freestream conditions and assumptions are made so as to use the VPNM. This assumptions
come from the vortex panel numerical method and the Bernoullis equation, which is eventually
responsible for providing the tangential velocity in the program. The assumptions made are:
-
incompressible flow
viscous fluid
no slipping boundary condition
dp/dx not equal to zero
freestream velocity is 10m/s
2D flow
viscous coefficient is constant
density is constant
kutta condition is satisfied
angle of attack is 10
Figure 1 Cl vs x/c
Figure 1 is a graph of the coefficient of lift plotted against the collection points, which is the x
coordinates nondimensionalized using the chord of the airfoil, c. The upper line is the coefficient of lift
on the lower surface of the airfoil, and the lower line is coefficient of lift on the upper surface of the
airfoil, both obtained by the panel method. As the plot suggests, the lift increase on the lower surface as
one moves away from the leading edge, and it decreases on the upper surface. After a certain point, the
increase and decrease balances out.
Figure 2 Cp vs x/c
Figure 2 provides a plot of the coefficient of pressure against the x coordinates nondimensionalized
using the chord of the airfoil, c. It is calculated using the help of the Bernoullis equation and gives an
insight on the stagnation point as well as the point of lowest pressure along the airfoil. Furthermore, the
plot also provides information on the severity of the pressure gradient along the upper surface of the
airfoil.
Discussion of Results:
The code calculated the coefficient of lift to be 1.1798 and the coefficient of drag to be 0.0048. The
project provides an idea of how a numerical iterative method can be utilized in solving the problem of a
steady flow on a given airfoil profile by using the vortex panel numerical method. Furthermore, it
illustrates a clear relationship between the coefficient of pressure and the tangential velocity over an
airfoil. In addition to that, it was also found that the coefficient of lift on the lower surface of airfoil
increases while it decreases on the upper surface of the airfoil.
APPENDIX:
-
for j = 1:n
a(j,n+1) = 1.0;
for i = 1:n
if i == j
a(i,i) =
ds(i)/(2.*pi)
*(log(0.5*ds(i)) - 1.0);
else
xm1 = 0.5 *
(x(j)+x(j+1));
ym1 = 0.5 *
(y(j)+y(j+1));
dx = (x(i+1)x(i))/ds(i);
dy = (y(i+1)y(i))/ds(i);
t1 = x(i) - xm1;
t2 = y(i) - ym1;
t3 = x(i+1) - xm1;
t7 = y(i+1) - ym1;
t4 = t1 * dx + t2 *
dy;
t5 = t3 * dx + t7 *
dy;
t6 = t2 * dx - t1 *
dy;
t1 = t5 *
log(t5*t5+t6*t6) - t4 *
log(t4*t4+t6*t6);
t2 = atan2(t6,t4)atan2(t6,t5);
a(j,i) = (0.5 * t1t5+t4+t6*t2)/(2.*pi);
end
end
a(n+1,1) = 1.0;
a(n+1,n) = 1.0;
end
% Assemble the Right hand
Side of the Matrix system
rhs=zeros(n+1,1);
alpha = alpha * pi /180;
xmid=zeros(n,1);
for i = 1:n
xmid(i,1) = 0.5 * (x(i)
+ x(i+1));
ymid = 0.5 * (y(i) +
y(i+1));
rhs(i,1) = ymid *
cos(alpha) - xmid(i) *
sin(alpha);
end
gamma = zeros(n+1,1);
% Solve the syetm of
equations
% In MATLAB this is easy!
gamma = a\rhs;
cp=zeros(n,1);
t1= x(i+1)-x(i);
t2 = y(i+1)-y(i);
ds(i) =
sqrt(t1*t1+t2*t2);
end
cp1=zeros(n,1);
% Open a file to write x
vs. Cp and the Loads
References:
Anderson, J. D., Fundamentals of aerodynamics, Fundamentals of aerodynamics, New York,
NY: McGraw-Hill, 2011.
NACA0012H for VAWT from Sandia report SAND80-2114 (naca0012h-sa), NACA0012H for
VAWT from Sandia report SAND80-2114 (naca0012h-sa) Available:
http://www.airfoiltools.com/airfoil/details?airfoil=naca0012h-sa.
Sankar, L., Panel Code in MATLAB, http://soliton.ae.gatech.edu/ Available:
http://soliton.ae.gatech.edu/people/lsankar/ae2020/panel.method.matlab.code.