<!DOCTYPE html> 8 The Time-dependent Vorticity Equation: Kelvin-Helmholtz Instability‣ Notes on the Finite Element Method
Notes on the Finite Element Method

Chapter 8 The Time-dependent Vorticity Equation: Kelvin-Helmholtz Instability

The central feature of shear layers is that they are chronically unstable, and the instabilty lead to first the appearance of Kelvin=Helmholtz billows, followed by interactions between neighboring isolated structures that pair, resulting in new quasi two-dimensional structure that have half the wavenumber and twice the width of the original. These pairing appear to occur repeatedly, until the test section, or the computational domain is filled. Models of two dimensional shear layers are reviewed in the following.

8.1 Analytic Solutions

8.1.1 Equations and Boundary Conditions

Because Shear Layers develop away from solid boundaries, their evolution and growth can be described with the vorticity equation. From a computational perspective, this presents the great advantage that the flow is described by one rather than three dependent variables. In two dimensions the Navier-Stokes equations are:

𝒖t+(𝒖)𝒖=-1ρp+ν2𝒖 (8.1)

Since the divergence of the velocity field is zero, a streamfunction ψ can be defined as:

u=ψy,v=-ψx (8.2)

In two dimension there is one component of vorticity, which is treated as a scalar:

ω=vx-uy=-2ψ (8.3)

With these definitions, taking the curl of equation 8.1 gives an equation for vorticity:

ωt+uωx+vωy=ν(2ωx2+2ωy2) (8.4)

There are two different ways to set up the boundary conditions. The simplest is to look at a spatially periodic system where the computational domain extends from -π to almost π in both directions. The flow field develops much as in the tilted tank that Thorpe used to show the development of the KH instability. These periodic BC make dealing with the spatial discretization and operators with Fourier transforms natural. The second way to cast the problem as in an experiment. At some initial position two streams of different velocities come together, with a small but finite bell-shaped distribution of vorticity near the origin The flow evolves downstream as the shear layer thckness increases, instabilities develop and vortex pairing becomes the principal growth mechanism.

8.1.2 Steady Solutions

The steady form of equation 8.4

ωt+uωx+vωy=ν(2ωx2+2ωy@) (8.5)

The boundary layer approximation results in approximating ω=-u/y as well as ignoring the second derivative with respect to x in the parenthesis on the right side of equation 8.5. If the velocities are expressed in terms of the streamfunction, as in equation 8.2, the vorticity equation becomes:

ψy2ψxy-ψx2ψy2=ν3ψy3 (8.6)

Define similarity variables:

η=y2Uνxψ=2νUxf(η) (8.7)
x=ηxddη=-η2xddη,y=ηyddη=U4νxddη; (8.8)
u=ψy=Udfdη,v=-ψx=Uνx(ηdfdη-f) (8.9)
ψy2ψxy=-U22xηdfdηd2fdη2,-ψx2ψy2=U22x(ηdfdη-f)d2fdη2,3ψy3=U24νxd3fdη3 (8.10)

and the vorticity

ω=-2ψx2-ψy2=Uν4x3(f-ηdfdη-η2d2fdη2)-U34νxd2fdη2 (8.11)

Introducing these expression into the PDE 8.6 gives:

-U22xηdfdηd2fdη2+U22x(ηdfdη-f)d2fdη2=U24xd3fdη3 (8.12)

or after dividing by U2/(2x):

d3fdη3+2fd2fdη2=0 (8.13)

If near the origin, the velocity in the upper stream is u1=U(1+ϵ) and the velocity in the lower stream is u2=U(1-ϵ), the boundary conditions become:

dfdη1±ϵasη± (8.14)

Only two boundary conditions are needed because f(η) can have an arbitrary constant added. The BC are:

The linearized solution, valid for small ϵ, can be recovered by introducing a new independent variable:

f(η)=η+ϵg(η)org(η)=f(η)-ηϵ (8.15)

The problem for g(η) is then:

d3gdη3+2(η+ϵg)d2gdη2=0,dgdη|η±=±1 (8.16)

As ϵ becomes small, the term ϵg inside the parenthesis can be neglected. Then if we set u=dg/dη, we recover the self-similar version of the heat equation LABEL:eq:C8S1:HeatODE.

Equations 8.16 and 8.14 can be solved numerically with “shooting”, using Newton’s method. The third order ODE 8.16is replced by a sustem of three first order equations:

df1dη=f2,df2dη=f3,df3dη=-2f1f3. (8.17)

Take the η axis to range between -6,6 and consist of into n=201 equispaced points. The boundary condition at η is replaced by an initial condition at η=-6, taken from the linearized theory:

f1=η+ϵ(ηerf(η)+e-η2π),f2=1+ϵerf(η),f3=2ϵe-η2πwhereη=-6. (8.18)

This solution is integrated until η=6, and the value of f2 is compared with 1+ϵerf(+6). If the difference is small, the solution is adopted, otherwise a new guess at f3(-6) is made, based on the magnitude of the difference f2(+6)-(1+ϵerf(+6)). Convergence is achieved in less than ten iterations.

The functions f calculated with this scheme for different values of ϵ are illustrated in figure LABEL:Fi:Lock_Soln.

Need some plots here

8.1.3 Instability

Work through Michalke’s solution.

8.2 Finite Element Method

8.2.1 Weak Form

8.2.2 Time Stepping

8.2.3 Results

8.3 Sparse Matrices in Fortran

This is from Run 2 with Re=100, Volume=10-3, δ=1., ϵ=1/2, dt=0.2, write a file every 5 tight cycles, up to 2000 long cycles, so total time covered is 2000. Looks like size (xu)=165034,2, also loks like grid file is XTSHL18456.

Shear Layer at time=100.

Figure 8.1: Shear Layer at time=100.