Skip to content

Latest commit

 

History

History
251 lines (188 loc) · 8.14 KB

File metadata and controls

251 lines (188 loc) · 8.14 KB

Kelvin-Helmholtz Instability

The Kelvin-Helmholtz instability occurs at the interface between two fluids moving at different velocities. This instability is characterized by the formation of characteristic spiral vortices, which can be observed in nature, for example in clouds or on the surface of oceans.

Initial Configuration

The system is initialized with two fluid layers separated by a shear layer of thickness $\delta$:

  • A central layer with negative velocity $-U$
  • An outer layer with positive velocity $U$

To initiate the shear layers, we take an initial velocity written as:

$$ \begin{aligned} \begin{cases} u(x,y,0) = U erf \left( \frac{y}{\delta} \right) + u'(x,y)\\ v(x,y,0) = v'(x,y) \end{cases} \end{aligned} $$

where $u'$ and $v'$ correspond to a perturbation to initiate the instability ($u',v'<<U$) and $erf(s)$ is the error function (an odd function) which is written as

$$ erf(s)=\frac{2}{\sqrt{\pi}} \int_0^s e^{-s^2}ds $$

With the definition of vorticity in 2D, we can find the initial vorticity:

$$ \omega(x,y,0) = - \frac{U}{\delta} \frac{2}{\sqrt{\pi}} e^{-\left( \frac{y}{\delta} \right)^2} + \omega'(x,y) $$

Demonstration

We start from the definition of vorticity in 2D:

$$ \omega = \frac{\partial v}{\partial x} - \frac{\partial u}{\partial y} $$

Since $v' << U$, we can neglect $\frac{\partial v}{\partial x}$. The derivative of the error function is:

$$ \frac{d}{ds} erf(s) = \frac{2}{\sqrt{\pi}} e^{-s^2} $$

By making the following change of variable $s=\frac{y}{\delta}$, we can find the initial vorticity field:

$$ \begin{aligned} \omega &= - \frac{\partial u}{\partial y} = - U \frac{d}{dy}erf(\frac{y}{\delta}) - \frac{\partial u'}{\partial y}\ &= -\frac{U}{\delta} \frac{d}{ds}erf(s) + \omega' \end{aligned} $$

We thus obtain:

$$ \omega(x,y,0) = -\frac{U}{\delta} \frac{2}{\sqrt{\pi}} e^{-(\frac{y}{\delta})^2} + \omega'(x,y) $$

Non-dimensionalization

We need to non-dimensionalize the initial condition. For this, we introduce the same characteristic quantities as for the non-dimensionalization of the Navier-Stokes equations:

  • $L$: characteristic length
  • $U$: characteristic velocity

The non-dimensional variables are defined by: $$ \begin{aligned} \tilde{x} &= \frac{1}{L}x \ \tilde{y} &= \frac{1}{L}y \ \tilde{\delta} &= \frac{1}{L}\delta \ \tilde{k} &= kL \ \tilde{\omega} &= \frac{L}{U}\omega \end{aligned} $$

Thus, the non-dimensional form of the initial condition is:

$$ \tilde{\omega}(\tilde{x},\tilde{y},0) = -\frac{1}{\tilde{\delta}} \frac{2}{\sqrt{\pi}} e^{-(\frac{\tilde{y}}{\tilde{\delta}})^2} + \tilde{\omega'}(\tilde{x},\tilde{y}) $$

Types of Perturbations

1. Random Perturbation

The first approach consists in introducing a random perturbation into the system. The equation for the initial vorticity becomes:

$$ \tilde{\omega}(\tilde{x},\tilde{y},0) = -\frac{1}{\tilde{\delta}} \frac{2}{\sqrt{\pi}} e^{-(\frac{\tilde{y}}{\tilde{\delta}})^2} + \epsilon \tilde{\omega'}(\ {x},\tilde{y}) $$

Simulation parameters:

  • Perturbation intensity: $\epsilon = 0.01$
  • Shear layer thickness: $\tilde{\delta} = 0.025$
  • Reynolds number: $Re = 2000$
  • Simulation duration: 30 seconds

vorticity magnitude

vorticity_mag.mp4

vorticity along z

vorticity_z.mp4
Other physical quantities

stream function

streamfunction.mp4

velocity magnitude

velocity_mag.mp4

velocity along x

velocity_x.mp4

velocity along y

velocity_y.mp4

2. Sinusoidal Perturbation

The second approach uses a controlled sinusoidal perturbation. This method allows a more systematic study of the instability.

Simulation parameters:

  • Amplitude: $A = 0.1$
  • Wavenumber: $\tilde{k} = 4$
  • Other parameters identical to the previous simulation

$$ \tilde{\omega}(\tilde{x},\tilde{y},0) = -\frac{1}{\tilde{\delta}} \frac{2}{\sqrt{\pi}} e^{-(\frac{\tilde{y}}{\tilde{\delta}})^2} + A \sin(\tilde{k} \tilde{x}) $$

vorticity magnitude

vorticity_mag.mp4

vorticity along z

vorticity_z.mp4
Other physical quantities

stream function

streamfunction.mp4

velocity magnitude

velocity_mag.mp4

velocity along x

velocity_x.mp4

velocity along y

velocity_y.mp4