HomePhysics & MechanicsPlasma Instability — Kelvin-Helmholtz

⚡ Plasma Instability — Kelvin-Helmholtz

Two plasma layers of different velocity create shear-driven Kelvin-Helmholtz instability. Watch vortex rollup, mixing layer growth and control velocity shear, density ratio, and perturbation mode k.

Physics & Mechanics2DAdvanced60 FPS⚡ Plasma
plasma-instability ↗ Open standalone

About the Simulation

The Kelvin-Helmholtz (KH) instability in plasma arises whenever two magnetised plasma layers flow past each other at different speeds. The velocity discontinuity at their boundary acts as a vortex sheet: any tiny perturbation is amplified by the Bernoulli pressure imbalance between the fast and slow sides, causing the interface to roll up into characteristic cat-eye vortices. The linear growth rate is γ = k·ΔV·√(ρ₁ρ₂)/(ρ₁+ρ₂), so higher wavenumber modes (shorter wavelengths) grow fastest — until nonlinear saturation and vortex merging transfer energy to larger scales.

This simulation models the plasma interface using a regularised vortex sheet (Birkhoff-Rott equation with blob desingularisation). N marker points distributed along the interface carry circulation proportional to the local velocity jump ΔV. Their positions evolve via the discretised Biot-Savart kernel, advanced in time with a Runge-Kutta integrator. The dispersion panel below the main canvas shows the theoretical growth rate γ(k) curve, with a marker at the currently selected mode. You can control the velocity shear, the density ratio between the two plasma layers, and the initial perturbation wavenumber k using the sliders in the HUD panel.

⚙ Under the hood

Two plasma layers of different velocity drive a shear Kelvin-Helmholtz instability with vortex rollup and mixing.

Canvas 2DPlasma PhysicsKelvin-HelmholtzShear InstabilityVortex Rollup

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)