Professional Documents
Culture Documents
Class PanelMethods
Class PanelMethods
Point Source
Point Vortex
W ( z) =
q
2 ( z z1 )
W ( z) =
i
2 ( z z1 )
dz in Polar Form
ix
dz =
ds
z+dz
so
or
dz
vs ivn = W ( z )e = W ( z )
ds
i
Panels
Singularity distributed along a line
Example: The Source Panel (or Sheet)
z1
z
s
ds
z1
Vortex?
1
2
panel
q( s )ds
z z1 ( s )
vn
vs
z1
So
e i
In terms of components
aligned with the panel:
ds
vs ivn = W ( z )
ei
z za
dz1
q
loge
=
ds 2
z
z
The panel is not a solid boundary. To make it behave like a solid boundary in a
flow you would have to set the strength q so that the total vn (due to the panel
and the flow) is zero
Vortex?
control
point
panel
za(3)
mth
control
point
zc =
1
2
(za + zb ) i ( zb za )
Center point
Displacement
N-1
za(2)
1
N
nth
panel
zb(2)
za(N-1)
zb
zb(N-1)
zc
za
W ( z ) = W + q
loge
(n)
2
n =1
z zb dz1
N
Velocity produced by
whole flow is
(n)
(n)
(m)
(m)
(n)
Velocity at the control point of
(m)
N
1
z
z
ds
dz
dz
1
loge c( m ) a ( n )
= W 1 + q( n )
the mth panel zc(m) in panel
2
ds
n =1
zc zb dz1 ds
aligned components is
dz1 ( m ) N ( n )
= Im
W + q Im{C ( m ,n ) }
ds
n =1
dz1 ( m ) N ( n )
= Re
W + q Re{C ( m ,n ) }
ds
n =1
C ( m ,n )
We want the normal velocity to be zero, so this is what we use to get the qs
We write
Or
dz1 ( m ) N ( n )
Im
W = q Im{C ( m ,n ) }
ds
n =1
1xN result matrix
(known)
1xN matrix
of strengths
(unknown)
NxN matrix of
ceoffs (known)
Summary
zb z a
dz
i
=
=
e
Compute the panel slopes ds
zb z a
1
2
za( n ) , zb( n )
(za + zb ) i ( zb za )
dz1 ( m)
W
Im
ds
zc( m ) za ( n ) ds
1
=
loge ( m )
(n)
2
zc zb dz1
(n)
dz1
ds
(m)
dz1 ( m)
W
Im
ds
Matlab Code
z a( n ) , zb( n ) , dz1 ds
(n)
zc(n )
C ( m ,n )
Matrix div.
dz1 ( m) Result
W matrix
Im
ds
dz1 ( m ) N ( n )
Re
W + q Re{C ( m ,n ) }
ds
n =1
Velocities
along body
surface
ConstantSourcePanel.m
W = 1 +
10
( z 5) 2
Change z vector to
contain points on
both circles.
Change a and b
vectors to make
sure they really
point to the start
and end of each
panel
Update plotting
LinearSourcePanel.m
Linear strength
panels
qc
qb
qa
qa
Influence of qa
depends only
panel ab
Influence of qb
depends on panel
ab and panel bc
LinearSourcePanel.m
W ( z) =
q
2 ( z z1 )
Specify a
circulation
i
2 ( z z1 )
insert -i*
Change last
column of cm so
that it sums total
panel strength.
Set last value of
res equal to the
circulation
insert -i*
Change last
column of cm so
that it sums total
panel strength.
Set last value of
res equal to the
circulation
LinearVortexPanel.m
(see also
ConstantVortexPanel.m)
Change last
column of cm so
that to be 1 at
the index
corresponding to
the trailing edge.
Set last value of
res equal to
zero
Circulation
given
implicitly
by Kutta
condition
k is index of
Kutta condition
point (e.g
trailing edge)
Change last
column of cm so
that to be 1 at
the index
corresponding to
the trailing edge.
Set last value of
res equal to
zero
LinearVortexPanelKutta.m
1
2
( z a + z b ) i ( z b z a )
Center point
Displacement