Professional Documents
Culture Documents
2D Vortex Methods
Vortex methods are powerful numerical methods to study the evolution of inviscid
flow fields. The idea behind the method will be developed in the following notes.
=u (21.1)
The velocity vector, for an incompressible fluid, must satisfy the continuity equa-
tion
u = 0. (21.2)
This condition is immediately satisfied by introducing a vector streamfunction
such that the velocity is its curl:
u= (21.3)
since vector identities guarantees that the divergence of a curl is always zero u =
= 0. The vorticity can now be written in terms of the streamfunction
guaranteeing that the resultant flow field is divergence-free:
= = ( ) 2 (21.4)
The above equation can be further simplified by requiring that the streamfunc-
tion vector be divergence-free. We then obtain a vector Poisson equation for the
streamfunction for a given vorticity field:
2 = (21.5)
199
200 CHAPTER 21. 2D VORTEX METHODS
2 = (21.6)
The important point about vorticity is that for two-dimensional inviscid flows,
and in the absence of vorticity sources, the equation governing the evolution of the
vorticity is simple and states that the vorticity is conserved following the flow:
d
= + u = 0 (21.7)
dt t
The idea behind vortex method is then simply to represent the vorticity fields as a
collection of vortex patches carrying an intrinsic amount of vorticity. This vorticity
has associated with it a flow field which in turn will advect these patches around
without changing their intrinsic vorticity. The flow field will of course change once
the patches change position, and one merely has to track them in order to simulate
the flow evolution.
(r)
2 = , r = x x0 , r = |x x0 | (21.8)
2r
where is now simply the strength of a concentrated vortex point. The Green
function solution is then simply
ln r ln |x x0 |
(x) = (x0 ) = (x0 ) (21.9)
2 2
21.2. FLOW DUE TO POINT VORTICES 201
(rk) r k
u = (k) = (x0 ) = (x0 ) (21.10)
2r 2r
q
Since r = (x x0 )2 + (y y0 )2 we have r = r/r. The velocity induced by a
point vortex with strength is then:
rk (x x0 ) k k (x x0 )
u(x) = (x0 ) = (x0 ) = (x0 ) (21.11)
2r 2 2|x x0 | 2 2|x x0 |2
ln |x xi |
i (x) = (xi ) (21.12)
2
k (x xi )
ui (x) = (xi ) (21.13)
2|x xi |2
where xi is the location of the i-th vortex and (xi) is its strength. The total
imparted velocity/streamfunction can be obtained by summing the individual con-
tributions:
N N
X X ln |x xi |
(x) = i (x) = (xi ) (21.14)
i=1 i=1 2
N N
X X k (x xi )
u(x) = ui (x) = (xi) (21.15)
i=1 i=1 2|x xi |2
Figure 21.1 shows the streamfunction field and the velocity induced by 1, 2, 3 and
4 point vortices of similar strengths. The streamlines are shown by contours and
the velocity field by arrows.
If an infinite number of vortex element are present, the summation becomes an
area integral:
k (x x0 )
Z
u(x) = (x0 ) dx0 (21.16)
2|x x0 |2
The integration is carried out on the location of the impulse x0 , and where dx0
represents an area element. The above equation is often written in the form u(x) =
202 CHAPTER 21. 2D VORTEX METHODS
5 5
4 4
3 3
2 2
1 1
0 0
1 1
2 2
3 3
4 4
5 5
5 4 3 2 1 0 1 2 3 4 5 5 0 5
5 5
4 4
3 3
2 2
1 1
0 0
1 1
2 2
3 3
4 4
5 5
5 0 5 5 0 5
Figure 21.1: Streamfunction contours and flow field induced by a unit-strong vortex
located on the diamond (2, 0) and (0, 2).
21.3. FROM POINTS TO BLOBS 203
K(x x0 ) (x0) where the the stands for a convolution operation and K is
called the Kernel. Equation 21.16 is the 2D version of the Biot-Savart law, and
can be seen as the continuous form of equation 21.15.
We have derived the continuous Biot-Savart law starting from discrete impulses
to continuum forcing of the form (x0 ). It is useful to reverse this trajectory and
re-derive the discrete system starting from the continuum. If the vorticity consists
of particles carrying a certain amount of vorticity distributed according to:
where i is the circulation around the ith particle. We require further that decays
fairly quickly with distance from the center.
N
k (x x0 )
X Z
u(x) = i (x0 xi ) dx0 (21.18)
i=1 2|x x0 |2
In the limiting case where the (x0 xi ) is the 2D Dirac delta function the expres-
sion simplifies to:
N
X k (x xi )
u(x) = i (21.19)
i=1 2|x xi |2
where (r) is yet an undetermined function and G its corresponding Green function.
The above equation can be integrated twice to yield:
G 1 r
Z
= s(s) ds (21.21)
r r 0
1 r
t
Z Z
G(r) = s(s) ds dt (21.22)
0 t 0
Here r and s are integration variables. Once a vortex representation (r) is chosen,
equation 21.21 can be used to compute the velocity kernel, and equation 21.22 to
compute the streamfunction kernel. It is the former that is most critical and we
have
k (x x0 ) G k (x x0 ) r
Z
K(x) = = s(s) ds (21.23)
r r r2 0
Figure 21.2: Left panels: vortex blob Gaussian decay for several values of the blob
width : 0.4 (blue), 0.2 (green) and 0.1 (red). The right panels show the velocity
Kernel amplitude as a function of r; the black line refers to the point vortex case.
Top to bottom are the Gaussian blobs of order 2, 4 and 6, respectively.
206 CHAPTER 21. 2D VORTEX METHODS
where r = r/ is a scaled radius. The radial shape functions associated with the 4
and 6-th order Gaussian blobs are shown in figures 21.2. Again, the trend is clear
in that a Dirac delta function is approached as the width parameter shrinks, and
as the order increases. The corresponding velocity kernel amplitudes are shown in
the left panels. They all mimic the behavior of the point vortex away from the blob
center but decay to zero once at the vortex center instead of behaving singularly.
Choose a shape function for the vorticity and the associated velocity Kernel.
To make the steps more concrete we assume that we have chosen the second
order Gaussian distribution and its velocity Kernel. So we have the following
approximations for the vorticity field and velocity:
N 2
X eri
(x) = i 2 (21.26)
i=1
N
X k (x xi ) r 2
u(x) = i 1 e (21.27)
i=1 2|x xi |2
r = |x xi |, ri = ri / (21.28)
Determine the width, , positions, xni and strengths, in of the vortex blobs
at an initial time; here the superscript n refers to the time step.
Determine the velocity field induced by all vortex blobs on all other blobs:
use equation 21.27 to compute u(xj ) for all particles j = 1, 2, . . . , N.
dxi
= u(xj ) (21.29)
dt
Return to step 21.4 and repeat until final time. throughtout the calculation.
21.5. THE PRESENCE OF BOUNDARIES 207