Vortex Shedding Simulator

Simulation #82 NEW Fluid Dynamics A-Level / Engineering Lattice Boltzmann D2Q9
Vorticity colour map: cyan = negative (CW)dark = zeroorange = positive (CCW) � allow ~200 ticks for shedding to develop
Preset Scenario
Reynolds Number Re200
Cylinder Diameter D28
Simulation Speed6�
Controls
Keyboard shortcuts:
P Pause   R Reset   S Save PNG
16 Switch preset
Method: D2Q9 Lattice Boltzmann (BGK)
Grid: 350 � 110 cells
BC: Bounce-back (no-slip walls/cylinder)
Inlet: Constant velocity U0 = 0.08 lu/ts
Outlet: Zero-gradient copy from x=N-2
Re range: 50�400
Strouhal number:
St = f�D / U � 0.2 (Re 200�200,000)
Shedding period:
T = D / (St�U) � 5D/U (lattice ticks)
Count vortices per unit length to estimate St.

The von K�rm�n Vortex Street

When a uniform flow encounters a bluff body (a cylinder, bridge pier, chimney, or cable), the wake behind it undergoes a dramatic instability above a critical Reynolds number. The symmetric wake breaks down into an alternating pattern of counter-rotating vortices � the von K�rm�n vortex street, first analysed mathematically by Theodore von K�rm�n in 1911.

The shedding frequency f is remarkably universal, governed by the Strouhal number:

St = f � D / U � 0.2 (Re 200 � 200,000, circular cylinder) where D = cylinder diameter, U = freestream velocity, f = shedding frequency

The key regimes for a circular cylinder:

ReFlow RegimeWake Character
< 5Creeping / Stokes flowNo separation, symmetric streamlines fore/aft
5 � 48Steady separatedSymmetric recirculation bubbles; no shedding
~47Hopf bifurcationOnset of oscillatory instability (symmetry breaking)
48 � 180Laminar sheddingPeriodic vortex street; St � 0.12�0.20
180 � 400Transitional3D instabilities (Mode A/B); St � 0.19�0.21
400 � 3�105Subcritical turbulentLaminar b.l., turbulent wake; St � 0.20
> 3�105Supercritical turbulentTurbulent b.l.; drag crisis; St � 0.27

Engineering Consequences

Vortex-induced vibration (VIV) occurs when the shedding frequency locks onto a structural natural frequency. Famous examples:

Lattice Boltzmann Method (D2Q9)

Rather than solving the incompressible Navier-Stokes equations directly, this simulator uses the Lattice Boltzmann Method (LBM) � a mesoscopic approach that tracks particle distribution functions f_i(x, t) on a lattice. Each cell stores 9 populations corresponding to particles resting or moving in 8 compass directions.

D2Q9 Lattice Velocities

Speeds (cx, cy): e0=(0,0) e1=(1,0) e2=(0,1) e3=(-1,0) e4=(0,-1) e5=(1,1) e6=(-1,1) e7=(-1,-1) e8=(1,-1) Weights: w0=4/9 w1?4=1/9 w5?8=1/36 (cs� = 1/3)

BGK Collision (Single Relaxation Time)

f_i(x, t+1) = f_i(x, t) + (f_i^eq - f_i) / t f_i^eq = w_i � ? � [1 + (e_i�u)/cs� + (e_i�u)�/(2cs4) - u�/(2cs�)] Macroscopic: ? = S f_i u = S f_i � e_i / ? Viscosity: ? = cs��(t - �) = (t - 0.5)/3 [lattice units] Reynolds: Re = U�D / ? ? t = U�D/(3�Re) + 0.5

Boundary Conditions

BoundaryTypeImplementation
Cylinder surface / wallsNo-slip (bounce-back)f_i ? f_OPP(i) at obstacle nodes � reverses momentum
Left inletConstant velocity (Dirichlet)f_i set to f_i^eq(?=1, U0, 0) each step
Right outletZero-gradient (extrapolation)f_i at x=N-1 copied from x=N-2 each step
Top/bottomNo-slip wallsBounce-back (included in obstacle mask)

Vorticity Visualisation

? = ?uy/?x - ?ux/?y � (uy[x+1,y] - uy[x-1,y] - ux[x,y+1] + ux[x,y-1]) / 2 Colour map: cyan (#22d3ee) = negative ? (clockwise rotation) dark (#001015) = zero vorticity orange (#f97316) = positive ? (counter-clockwise)

Preset Scenarios Explained

🌀 Low Re (Re = 50)

Below the critical Reynolds number (~47), the wake behind the cylinder is steady and symmetric. Two recirculation bubbles (F�ppl vortices) sit in the near wake but no shedding occurs. The drag is dominated by pressure (form) drag. Observe the stable symmetric vorticity pattern without any periodic behaviour.

🔄 Transition (Re = 120)

Just above the Hopf bifurcation (~Re 47), the symmetric wake becomes unstable and periodic shedding begins. The vortex street is laminar and very regular � nearly sinusoidal lift oscillation on the cylinder. The shedding frequency matches St � 0.16�0.18 at this Re.

🌀 Vortex Street (Re = 200)

The classic von K�rm�n vortex street at Re = 200: strong alternating vortices are shed and convect downstream, forming two staggered rows. The street persists far downstream. St � 0.20. The alternating lift force oscillates at f_shed; drag oscillates at 2�f_shed.

🔗 Tandem Cylinders (Re = 160)

Two cylinders placed in series, centre-to-centre distance ~4.5D. The downstream cylinder interacts with the wake of the upstream one � both modifying and being modified by the vortex street. Gap ratio, Re, and cylinder spacing determine whether the wakes merge immediately or whether the downstream cylinder experiences galloping or bistable gap flows.

🏛️ Near Wall (Re = 200)

A cylinder near a flat wall with gap ratio G/D � 0.7. The wall modifies the vortex street asymmetrically: wall-side vortices are suppressed and shed at lower frequency. Below G/D � 0.3, shedding ceases entirely and the cylinder is deflected toward the wall (Magnus-Bernoulli effect). Used in modelling pipelines on the seabed.

🔇 Suppressed (Re = 220, splitter plate)

A rigid splitter plate extending 3.5D downstream of the cylinder separates the shear layers and prevents the roll-up interaction that triggers shedding. This eliminates the alternating lift force and reduces drag by ~40%. The wake remains a thin, steady central jet flanked by two symmetric vorticity layers that diffuse without coalescing.

Key Equations and Analysis

Reynolds Number and Length Scale

Re = ? � U � D / � = U � D / ? ? = kinematic viscosity (m�/s) D = cylinder diameter (m) U = freestream speed (m/s)

Strouhal Number and Shedding Frequency

St = f_s � D / U � 0.198 (1 - 19.7/Re) [Williamson-Brown correlation, Re 50�200] St � 0.2 (Re 1000�200,000, nearly constant) ? f_s = St � U / D Period: T_s = 1/f_s = D/(St�U)

Mean Drag Coefficient vs Re (circular cylinder)

ReC_D (mean)C_L (amplitude)St
50~1.55 (steady)0� (steady)
100~1.35~0.30~0.165
200~1.30~0.60~0.195
400~1.25~0.75~0.206
104�105~1.0�1.2~0.5�1.0~0.20
>3�105~0.35 (drag crisis)~0.27

Vortex-Induced Vibration Lock-in Criterion

Lock-in occurs when: f_s � f_n (shedding � structural natural frequency) or equivalently: U_r = U / (f_n � D) � 1/St � 5 (reduced velocity at lock-in) During lock-in the structure controls the shedding frequency (synchronisation); amplitudes can grow to D/2 or more without additional damping.

Curriculum Connections

TopicQualificationConcepts
Fluid mechanics fundamentalsA-Level Physics / IB HLViscosity, Reynolds number, laminar vs turbulent flow
Aerodynamics and dragA-Level / EngineeringPressure drag, skin friction, boundary layer separation
Oscillations and resonanceA-Level / UndergraduateStrouhal frequency, vortex-induced vibration, lock-in
Computational fluid dynamicsEngineering / MastersLBM, finite difference/volume, boundary conditions
Structural engineeringCivil / Mechanical EngineeringWind loading, VIV, fatigue, passive flow control

Related Simulations & Articles