Rep PDF
Rep PDF
Panel methods are ideal for concept design analysis due to their rapid turnaround time and relatively
easy surface modeling, but this is countered by their inability to predict boundary layers and flow separation.Panel
methods can also model subsonic inlets and outlets relatively easily, such as engine intakes on aircraft and cooling
inlets and outlets on cars. This report discusses how to plot streamlines around an airfoil generated by using first
order vortex panel method by writing a code in MATLAB. The panel solutions were verified using Cp plots and the
code was then extended to contour plot the stream-lines. It was found that when the Kutta condition is applied the
streamlines leave the airfoil smoothly at the trailing edge while that is not the case when the condition is relaxed.
AIM Introduction
Panel method is used to model fully-attached, high-
The aim of this exercise is to develop a matlab code to Reynolds-number, subsonic (Mach number < 1) flow.
obtain the streamline pattern over NACA airfoils by us- Such conditions are found in abundance around stream-
ing constant strength vortex panel method and to study lined shapes such as aircraft, cars, submarines and yachts.
the effect of circulation on the flow field on relaxing the
Therefore, these methods are widely used to calculate
Kutta condition. properties of the flow over an airfoil/aircraft in both 3D
and 2D. These methods are adept at calculating the lift
force and form drag force (also known as pressure drag)
on a wing, wing-body and whole aircraft as long as vis-
cous effects are negligible i.e., away from stall conditions.
Nomenclature Aircraft commonly use high-lift multi-element airfoil con-
figurations during take-off and landing. Multi-element
airfoils are also used on Formula 1 racing cars as a com-
xj , zj starting point of jth panel pact method for generating downforce (lift force directed
xj+1 , zj+1 ending point of jth panel downwards). Panel methods can model such configura-
xi , zi mid-point of ith panel tions relatively easily and accurately. They are numer-
xl , zl point where lumped vortex is placed (c/4 of panel ical models based on simplifying assumptions about the
length) physics of such flow.
αj angle made by panel with horizontal But on the other hand panel method is not so
lj length of jth panel useful for predicting boundary layers and flow separation.
aij influence coefficient (tangential component of Also, we are bounded by only incompressible and irrota-
velocity of jth panel at ith collocation point) tional flow where the viscous effect of air in the flow field
γj strength of vortex of jth panel is neglected, and the net effect of viscosity on a wing is
u, v components of velocity in global coordinate frame summarized by requiring that the flow leaves the sharp
up , vp components of velocity in panel coordinate frame trailing edge of the wing smoothly (Kutta-Condition).
r1 distance of (x,z) from starting point of panel To find the potential at the surface, we dis-
r2 distance of (x,z) from panel end point tributed ”Singularities” of unknown strength over the dis-
θ1 , θ2 angles made by lines joining (x,z) and cretized portion of the surface panels. Therefore the flow-
panel end points with the horizontal field solution is found by representing the surface by a
number of panels and the integral equations are trans-
1
formed into an easily solvable set of simultaneous linear
equations to which the kutta condition is coupled. By
solving this linear set of algebraic equations we can de-
termine the unknown strengths of the singularities, in this
case, constant-strength of the vortex distribution on each
panel.
Theory
Half cosine spacing:
A semicircle is divided by the number of panels Figure 1: Constant strength vortex distribution along the
i.e. ∆β = nπ and the corresponding x stations are found x-axis
by using the following cosine spacing formula:
up (x, 0±) = ± γ2
2
wp (x, 0±) = 0 Flow of the code
Consequently, when i = j the inuence coefcient
becomes
aii = − 12
γ r2
Ψ= 2π (x ln r1 − l ln r2 + y(θ2 − θ1 )) RHSi = −(V∞ cosα, W∞ sinα).(cosαi , sinαi )
3
One of the equations is deleted (e.g., the kth Results
equation) and the Kutta condition at trailing edgee
(γ1 + γN = 0) is added in its place. The results are obtained as the Cp plots and stream-line
Thus, the gamma matrix is found by taking in- contours for given airfoil at a given angle of attack. They
verse of the influence matrix and multiplying it by the are presented in the figures of appendix for both with and
RHS matrix. without the Kutta condition.
4
Appendix
Figure 2: Cp plot for NACA2412 airfoil at 5 degrees angle of attack; Kutta condition applied.
Figure 3: Cp plot for NACA2412 airfoil at 10 degrees angle of attack; Kutta condition applied.
5
Figure 4: Stream-line contour plot for NACA2412 airfoil at 5 degrees angle of attack; Kutta condition applied.
Figure 5: Stream-line contour plot for NACA2412 airfoil at 5 degrees angle of attack; Kutta condition applied.
6
5d Cp.jpg
Figure 6: Cp plot for NACA0012 airfoil at 5 degrees angle of attack; Kutta condition applied.
Figure 7: Stream-line contour plot for NACA0012 airfoil at 5 degrees angle of attack; Kutta condition applied.
7
5d Cp wk.jpg
Figure 8: Cp plot for NACA0012 airfoil at 5 degrees angle of attack; Kutta condition relaxed.
Figure 9: Cp plot for NACA0012 airfoil at 5 degrees angle of attack; Kutta condition relaxed.
8
Figure 10: Cp plot for NACA0012 airfoil at 0 degrees angle of attack; Kutta condition relaxed.
Figure 11: Cp plot for NACA0012 airfoil at 0 degrees angle of attack; Kutta condition relaxed.
9
Figure 12: Stream-line contour plot for NACA2412 airfoil at 0 degrees angle of attack; Kutta condition relaxed.
Figure 13: Stream-line contour plot for NACA2412 airfoil at 5 degrees angle of attack; Kutta condition relaxed.
10