3D Ocean: Wave Flume, Dispersion and Water Particle Orbits

Linear wave theory in a Blender-built glass wave flume: deep and shallow water waves, wave groups, orbital motion, Stokes drift, a buoy and a boat.

Switch to 2D

Presets

Playback

Parameters

Camera

Layers

Quality

Model check

The science

What is modelled

A laboratory wave flume: a paddle at the left end sends up to three superposed sinusoidal waves down a 14 m glass tank. The page uses linear (Airy) wave theory, so the surface, the water velocity underneath and the motion of the buoy and boat all come from the same equations. Thirty water particles are integrated in the velocity field and leave trails, so you can see the closed orbits of real water, how they shrink with depth, and how they slowly creep forward (Stokes drift). The tank, paddle, gauge, buoy and boat are Blender-built models; the water is drawn from the simulated surface.

Equations

  • Surface: η(x,t) = Σ ai cos(ki x − ωi t + φi) with k = 2π/L.
  • Dispersion relation: ω² = g k tanh(k h). Phase speed c = ω/k tends to √(g/k) in deep water and to √(g h) in shallow water; group speed cg = ½ c [1 + 2kh / sinh(2kh)].
  • Water velocity: u = a ω cosh k(z+h)/sinh kh cos θ, w = a ω sinh k(z+h)/sinh kh sin θ. Orbits are circles in deep water, flat ellipses near a shallow bottom.
  • Energy density E = ½ ρ g a² and power per metre of crest P = E cg. Second-order Stokes drift: us = a² ω k cosh 2k(z+h) / (2 sinh² kh).

Checks run in the page

  • Incompressibility: du/dx + dw/dz from finite differences at ten points.
  • Dynamic surface condition: du/dt at the surface against −g dη/dx, which closes only when the dispersion relation holds.
  • Stokes drift: the mean speed of a particle integrated by RK4 against the second-order formula.

Honest simplifications

Linear theory needs small steepness; the page marks a wave steeper than H/L = 0.142 as breaking and does not draw breaking. The tank is treated as a periodic window of a long channel with a flat bottom: there are no reflections, no beach, no viscous damping, no wind and no surface tension, so very short ripples are not modelled. The paddle motion is drawn from the local fluid velocity and is clamped for display. The buoy and boat simply follow the surface height and slope instead of floating with their own mass and drag.

What to try

  • Choose the shallow-water preset and watch the particle orbits flatten to horizontal lines at the bottom; the speed approaches the square root of g times depth.
  • Use the two-wave group preset to see beats, and watch the group move more slowly than the crests.
  • Increase amplitude of the steep-wave preset until the steepness readout passes 0.142.
  • Move the buoy to see the elevation time series change, and compare with the orbit graph at the bottom right.
Loading model...
Loading Blender model...
Phase speed against wavelength
Surface elevation at the buoy
Orbit size against depth (wave 1)
Made with 🟠 Blender · Three.js