42
Aerodynamics Lecture 4: Panel methods G. Dimitriadis

Aerodynamics 04

Embed Size (px)

Citation preview

Page 1: Aerodynamics 04

Aerodynamics

Lecture 4:

Panel methods

G. Dimitriadis

Page 2: Aerodynamics 04

Introduction

• Until now we’ve seen two methods for

modelling wing sections in ideal flow:

– Conformal mapping: Can model only a few

classes of wing sections

– Thin airfoil theory: Can model any wing

section but ignores the thickness.

• Both methods are not general.

• A more general approach will be

presented here.

Page 3: Aerodynamics 04

2D Panel methods

• 2D Panel methods refers to numerical methods for calculating the flow around any wing section.

• They are based on the replacement of the wing section’s geometry by singularity panels, such as source panels, doublet panels and vortex panels.

• The usual boundary conditions are imposed: – Impermeability

– Kutta condition

Page 4: Aerodynamics 04

Panel placement

• Eight panels of length Sj• For each panel, sj=0-Sj. • Eight control

(collocation) points (xcj,ycj) located in the middle of each panel.

• Nine boundary points (xbj,ybj)

• Normal and tangential unit vector on each panel, nj, tj

• Vorticity (or source strength) on each panel

j(s) (or j(s))

Page 5: Aerodynamics 04

Problem statement

• Use linear panels

• Use constant singularity strength on each panel, j(s)= j ( j(s)= j).

• Add free stream U at angle .

• Apply boundary conditions: – Far field: automatically satisfied if using source or

vortex panels

– Impermeability: Choose Neumann or Dirichlet.

• Apply Kutta condition.

• Find vortex and/or source strength distribution that will satisfy Boundary Conditions and Kutta condition.

Page 6: Aerodynamics 04

Panel choice

• It is best to chose small panels near the leading and trailing edge and large panels in the middle:

x

c=

1

2cos +1( ), = 0 2

Notice that now x/c begins at 1, passes through 0 and then goes back to 1. The usual numbering scheme is: lower trailing edge to lower leading edge, upper leading edge to upper trailing edge.

1 2 3

9

15

16 17

29 30

Page 7: Aerodynamics 04

Panel normal and tangent • Consider a source panel on an airfoil’s

upper surface, near the trailing edge.

• In the frame x+xci,y+yci, n is a linear function:

• So that

(xci,yci)

(xbi,ybi)

(xbi+1,ybi+1)

ni

ti x+xci

y+yci

i

i

n =x

nx, n =

y

ny

x

n= cos

2 i

= sin i,

y

n= cos i

Page 8: Aerodynamics 04

NACA four digit series airfoils

• The NACA 4-digit series is defined by four digits, e.g. NACA 2412, m=2%, p=40%, t=12%

• The equations are:

• Where t is the maximum thickness as a percentage of the chord, m is the maximum camber as a percentage of the chord, p is the chordwise position of the maximum camber as a tenth of the chord.

• The complete geometry is given by y=yc+yt .

yt =t

0.20.2969 x - 0.126x - 0.35160x 2 +0.2843x 3 - 0.1015x 4( )

yc =

m

p2 2px - x 2( ) for x < p

m

1 p2( )1- 2p( ) +2px - x 2( ) for x > p

Page 9: Aerodynamics 04

NACA 4-digit trailing edge

• It should be stressed that the NACA 4-digit thickness equation specifies a trailing edge with a finite thickness:

Actual trailing edge Modified trailing edge

The equation

can be

modified so that yt(1)=0

Gap because of

finite thickness Zero thickness-

no gap

Page 10: Aerodynamics 04

NACA 4-digit with

thin airfoil theory

• Thin airfoil theory solutions for NACA four-digit series airfoils can be readily obtained.

• The camber slope is obtained by differentiating the camber line and substituting for =cos-1(1-2x/c):

dz

dx=m

p2 2p 1+ cos( ) for p

dz

dx=

m

1 p( )2 2p 1+ cos( ) for p

A0 =1 dz

dx0d

An =2 dz

dxcosn

0d

Substitute

these in:

Page 11: Aerodynamics 04

NACA 4-digit with

thin airfoil theory

• To obtain:

• Which are easily substituted into:

A0 =m

p2 2p 1( ) p + sin p( ) +m

1 p( )2 2p 1( ) p( ) sin p( )

A1 =2m

p2 2p 1( )sin p +1

4sin2 p +

p

2

2m

1 p( )2 2p 1( )sin p +

14

sin2 p

12 p( )

cl = 2 A0 + A1

Page 12: Aerodynamics 04

Source panel airfoils

• Consider an airfoil idealized as m linear

source panels with constant strength.

• The potential induced at any point (x,y) in the flowfield by the jth panel is:

• Including the free stream and summing

the contributions of all the panels, the

total potential at point (x,y) is:

j x,y( ) = j

2ln x x j s j( )( )

2

+ y y j s j( )( )2

0

S jds j

x,y( ) =U x cos + y sin( ) + j

2ln x x j s j( )( )

2

+ y y j s j( )( )2

0

S jds j

j=1

m

Page 13: Aerodynamics 04

Source panel airfoils

• As the panels are linear, then

• So that the total potential becomes:

• There is no obvious expression for this

integral…

x j s j( ) =xb j+1 xb j

S j

s j + xb j = cos j s j + xb j

y j s j( ) =yb j+1 yb j

S j

s j + yb j = sin j s j + yb j

x,y( ) =U x cos + y sin( ) + j

2ln x xb j cos j s j( )

2+ y yb j sin j s j( )

2

0

S jds j

j=1

m

Page 14: Aerodynamics 04

Boundary condition

• Try the Neumann boundary condition:

• This condition is applied on the control

point of each panel so that:

• Notice that: and then

n= 0

xci,yci( )ni

= Ux

nicos +

y

nisin

+j

2 niln xci xb j cos j s j( )

2+ yci yb j sin j s j( )

2

0

S jds j

j=1

m

x

ni= sin i,

y

ni= cos i

j

2 niln xci xb j cos j s j( )

2+ yci yb j sin j s j( )

2

0

S jds j

j=1

m

= U sin i( )

Page 15: Aerodynamics 04

Differentiation • Carrying out the differentiation in the

integral:

niln xci xb j cos j s j( )

2+ yci yb j sin j s j( )

2

=

1

2ni

xci xb j cos j s j( )2

+ yci yb j sin j s j( )2

( )xci xb j cos j s j( )

2+ yci yb j sin j s j( )

2 =

2 xci xb j cos j s j( )x

ni+ 2 yci yb j sin j s j( )

y

nixci xb j cos j s j( )

2+ yci yb j sin j s j( )

2 =

xci xb j cos j s j( )cos i yci yb j sin j s j( )sin i

xci xb j cos j s j( )2

+ yci yb j sin j s j( )2

Page 16: Aerodynamics 04

Integration

• After this differentiation, it is now

possible to evaluate the integral.

• The boundary condition becomes:

Where:

j

2

CijFij2

+ DijGij

j=1

m

= U sin i( )

Aij = xci xb j( )cos j yci yb j( )sin j

Bij = xci xb j( )2

+ yci yb j( )2

Cij = sin i j( ), Dij = cos i j( ), F = ln 1+S j

2+ 2AijS j

Bij

Eij = xci xb j( )sin j yci yb j( )cos j , Gij = tan 1 EijS j

AijS j + Bij

CiiFii2

+ DiiGii =

Page 17: Aerodynamics 04

System of equations

• Therefore, the problem of choosing the

correct source strengths to enforce

impermeability has been reduced to:

• Or, in matrix notation, Dn =Usin( - )

• Where Dn=(-CF/2+DG)/2

• Which can be solved directly for the

unknown .

j

2

CijFij2

+ DijGij

j=1

m

= U sin i( )

Page 18: Aerodynamics 04

Tangential Velocities

• The velocities tangential to the panels

are given by:

• So that:

• As usual:

xci,yci( )ti

= Ux

ticos +

y

tisin

+j

2 tiln xci xb j cos j s j( )

2+ yci yb j sin j s j( )

2

0

S jds j

j=1

m

vti = U cos i( ) j

2

DijFij2

+ CijGij

j=1

m

cpi = 1vtiU

2

Page 19: Aerodynamics 04

Cartesian velocities

• For plotting the velocity field around the

airfoil, the cartesian velocities, u, v are

needed.

• These can be obtained from the normal

and tangential expressions:

• for i=0.

u = U cos i( ) j

2

DijFij2

+ CijGij

j=1

m

v = U sin i( ) +j

2

CijFij2

+ DijGij

j=1

m

Page 20: Aerodynamics 04

Example:

• NACA 2412 airfoil at 5o angle of attack

• 50 panels

Full flowfield Near trailing edge

Page 21: Aerodynamics 04

Discussion

• The usual problem: the Kutta condition

was not enforced. The flow separates

on the airfoil’s upper surface.

• Additionally, the lift must be equal to

zero, since there is no ciurculation in the

flow. But is it?

• Calculate cx = cpdx

cy = cpdy

Page 22: Aerodynamics 04

Lift definition

• Lift is the force perpendicular to the free

stream

Fy

Fx

L

D

Therefore: L=Fycos -Fxsin D=Fysin +Fxcos

Or: cl=cycos -cxsin cd=cysin +cxcos

Page 23: Aerodynamics 04

Pressure distribution Stagnation point

Very high velocity

at trailing edge.

Hence very low pressure.

cl=0.1072cd=-0.0082

The aerodynamic

forces are not zero.

Stagnation point

Page 24: Aerodynamics 04

Increasing number of panels

• Increasing the number of panels also increases the accuracy.

• The forces move very slowly towards 0.

• The problem is the infinite velocity at the trailing edge.

Page 25: Aerodynamics 04

Enforcing the Kutta condition

• The number of equations was equal to the number of unknowns

• Therefore, the Kutta condition could not be enforced anyway, it would have been an additional equation.

• More equations than unknowns means a least squares solution.

• Conclusion: we need an additional equation (Kutta condition) and an additional unknown.

Page 26: Aerodynamics 04

Vortex panels

• Vortex panels with exactly the same geometry as the source panels are added.

• If there are m source panels, there will now be additionally m vortex panels.

• The vorticity on all the panels is equal. Only one new unknown is introduced, .

• The potential equation becomes:

x,y( ) = U x cos + y sin( ) +j

2ln x xb j cos j s j( )

2+ y yb j sin j s j( )

2

0

S jds j

j=1

m

2

tan 1 y yb j sin j s jx xb j cos j s j

0

S jds j

j=1

m

Page 27: Aerodynamics 04

Boundary condition

• The Neumann impermeability boundary

condition is still:

• So that, now:

• The tangential velocity is:

n= 0

j

2

CijFij2

+ DijGij

j=1

m

2

DijFij2

+ CijGij

j=1

m

=U sin i a( )

vti = U cos i( ) j

2

DijFij2

+ CijGij

j=1

m

+2

CijFij2

DijGij

j=1

m

Page 28: Aerodynamics 04

Kutta condition

• The Kutta condition can be applied to

this flow by enforcing that the pressures

just above and just below the trailing

edge must be equal

Stagnation streamline cpu

cpl

If the two pressures are not equal, then the stagnation

Streamline will wrap itself around the trailing edge.

Page 29: Aerodynamics 04

Kutta condition (2)

• Therefore,

• And

• So that:

cp m( ) = cp 1( )

vt m( ) = vt 1( )

j

2j=1

m DmjFmj2

+ CmjGmj

+

D1 jF1 j2

+ C1 jG1 j

2

CmjFmj2

DmjGmj

+

C1 jF1 j2

D1 jG1 j

j=1

m

=U cos 1( ) + cos m( )( )

Page 30: Aerodynamics 04

System of Equations • The impermeability boundary conditions

on the panels and the Kutta condition make up m+1 equations with m+1 unknowns (m source strengths and 1 vorticity).

• The complete system of equations becomes: Anq=R

• where:

A n =1

2

CijFij2

+ DijGij

DijFij2

+ CijGij

j=1

m

DmjFmj2

+ CmjGmj

+

D1 jF1 j

2+ C1 jG1 j

CmjFmj2

DmjGmj

+

C1 jF1 j

2D1 jG1 j

j=1

m

R =U sin i( )

U cos 1( ) + cos m( )( )

, q =

i

Page 31: Aerodynamics 04

Example:

• NACA 2412 airfoil at 5o angle of attack

• 50 panels

Full flowfield Near trailing edge

Page 32: Aerodynamics 04

Pressure distribution

T.E. Stagnation point

L.E. Stagnation point

Minimum pressure point

cl =2

cUSi

i=1

m

For calculating the

lift use Kutta-

Joukowski:

cl=0.8611cd=-0.0003

Page 33: Aerodynamics 04

Discussion

• This is a typical pressure distribution for attached flow over a 2D airfoil.

• The cp values at the two stagnation points are not exactly 1.

– The leading edge stagnation point is somewhere on the bottom surface, not necessarily on a control point

– The trailing edge stagnation point is on the trailing edge, certainly not on a control point.

• The drag is still not exactly zero.

Page 34: Aerodynamics 04

Increasing number of panels

• This is a nice situation: – The lift is almost

constant with number of panels

– The drag is high for few panels but drops a lot for many panels

– It remains to decide which number of panels is acceptable

Page 35: Aerodynamics 04

Higher order accuracy

• The panel methods shown here have a

constant strength (source or vortex) on

every panel.

• Higher orders of accuracy can be obtained

if the singularity strength is allowed to

vary.

• For example, an airfoil can be modeled

using vortex panels only with linearly

varying vorticity.

Page 36: Aerodynamics 04

Linearly varying vortex panels

Now there are m+1 unknowns, i, with m

boundary conitions and one Kutta

condition.

The Kutta condition

states that the vorticity at the trailing edge

must be zero, i.e.

m+1+ 1=0.

Page 37: Aerodynamics 04

Example

Trailing edge

control points.

The pressure coefficient is

closer to 1

• NACA 2412 airfoil at 5o angle of attack

• 50 panels

Page 38: Aerodynamics 04

Observations

• Panel methods allow the modeling of any airfoil shape, as long as the coordinates of the airfoil are known.

• As they are numerical methods, their results depend on parameters, such as the number, order and choice of panels.

• Second order panels, i.e. panels with quadratically varying singularity strength are even more accurate.

• Panel methods are supposed to be fast and easy to implement: – Increasing the order and increasing the number of panels

too much will render these methods so computationally expensive that their main advantage, speed, is lost.

Page 39: Aerodynamics 04

Comparison with thin

airfoil theory – NACA 2412

• The zero-lift angles are identical

• The lift-curve slopes are different

• Thin airfoil theory cannot account for thickness effects

Page 40: Aerodynamics 04

Comparison with thin

airfoil theory – NACA 2404 • The lift-curve

slopes are much more similar

• Clearly, 12% thickness is too much for thin airfoil theory.

• At 4% thickness, the thin airfoil theory is much more representative

Page 41: Aerodynamics 04

XFOIL

• XFOIL is a free panel method software developed by Mark Drela at MIT.

• Website: http://web.mit.edu/drela/Public/web/xfoil/

• It can model the flow around any 2D airfoil using panel methods. It can also: – Perform corrections for viscosity

– Perform corrections for compressibility

– Design an airfoil given specifications

Page 42: Aerodynamics 04

NACA 2412 at 5o