MySimulator · Ocean dynamics lab Rare nature / Field study 05
Three.js · WebGL / 0.160.0 Live physical model
Rare ocean phenomenon / 01

Langmuir Circulation

Cause: wind stress + waves → mechanism: Stokes drift + counter-rotating rolls → result: foam convergence streaks.

12 m model depth 0.0 min elapsed
Graphics context pausedThe browser has suspended WebGL. The simulation will resume automatically if the graphics context is restored.
Wind stress · τ TEXTBOOK
0.102Pa
Air-to-sea momentum input
Surface Stokes drift TEXTBOOK
0.071m/s
Wave-carried mass transport
Peak vertical roll ILLUSTRATIVE
0.055m/s
Upwelling / downwelling scale
Turbulent Langmuir no. TEXTBOOK
0.38—
Laₜ = √(u* / Uₛ)
Independent analytical checkPASS · <0.01%
Stokes-only tracer drift over 120 s · RK4 engine vs closed-form depth integral
Engine0.0000 m
Reference0.0000 m
Difference0.0000 %
The Science · equations, assumptions & limitations

01 / Forcing

τ = ρₐ Cᴅ U₁₀² and u* = √(τ / ρw). Linear-wave dispersion uses ω² = gk tanh(kH); finite-depth Stokes drift is Uₛ(y) = a²ωk cosh[2k(y+H)] / 2sinh²(kH).

02 / Roll kinematics

A divergence-free, streamfunction-based Langmuir roll field is used: ψ = A d sin(kc x)(1 − eʸᐟᵈ), with u = ∂ψ/∂y and w = −∂ψ/∂x. Roll amplitude scales with √(u* Uₛ) and is reduced by stratification.

03 / Tracers & numerics

Particles are advected with fixed-step RK4, Stokes settling uses the Stokes-law sphere approximation, and turbulent mixing is represented by a random-walk diffusivity. Rendering interpolates between fixed simulation states.

TEXTBOOK constants: g = 9.81 m/s², ρₐ = 1.225 kg/m³, ρw = 1025 kg/m³, Cᴅ = 1.3×10⁻³. ILLUSTRATIVE / SCALED: roll amplitude coefficient, stratification suppression, particle visual size, and the idealised periodic cell field. Assumes homogeneous water, monochromatic waves, a fixed 12 m water column and no bathymetric or Coriolis effects. This is not a full 3D Navier–Stokes or turbulence-closure solver; Stokes settling is least accurate as particle Reynolds number approaches unity. Particle spheres are enlarged for visibility. The validation isolates the Stokes-drift advection submodel and does not validate the parameterised Langmuir turbulence.
Made with 🤖 ChatGPT · Three.js