Damped wave equation
Spatial curvature restores the surface toward equilibrium while damping reduces amplitude during propagation.
Fluid dynamics · water-wave diffraction
Orbit the exaggerated height surface, then inspect the same field from above and sample its probe history. Compare one or two point sources, one or two slits, a disk obstacle, fixed-height reflection, rigid-wall reflection, and outgoing boundaries. Pause, step, or switch off the drive without erasing the waves.
Physics tutorial
BackgroundIn the linear, small-amplitude limit, water height is a signed scalar field. A driven line launches an approximately plane wave. Barrier nodes are pinned to zero height except at the opening; this is not the no-through-flow boundary of a full fluid tank.
Why it mattersThe same diffraction logic connects water, sound, and light; a ripple tank makes wavelength, boundaries, and wavefront geometry directly visible.
Start with the essentials
Spatial curvature restores the surface toward equilibrium while damping reduces amplitude during propagation.
The readout is the nominal wavelength of the undamped model; damping and the finite grid alter actual propagation. At fixed speed, higher frequency shortens this reference scale.
The opening changes in discrete nodes. Its drawing and readout share the solver mask; the width describes the intervals represented by open nodes, not a sub-grid wall location.
Every solver step records a timestamped height in a fixed eight-second plot. Display frame rate does not change sampling. Per-frame advancement is capped during stalls, so simulation time need not follow wall-clock time.
An opening comparable to one wavelength spreads strongly sideways. This is a scaling guide, not a replacement for the full field.
Typical misconceptionThe brighter color always means more energy and the darker color means no wave.
Better mental modelThe two colors represent crests and troughs. Energy depends on squared amplitude and cannot be read directly from the sign of the color.
Typical misconceptionWider spreading means the slit amplified the transmitted wave.
Better mental modelThe barrier redistributes transmitted energy by angle and reflects part of the incident wave; wider spreading does not mean larger total energy.
Choose Wide slit and wait for the wavefront to cross.
What to observe: The central transmitted front remains mostly plane, with strong bending confined near the two edges.Choose Narrow slit and compare the readout.
What to observe: Nearly circular fronts emerge behind the opening, and probes far to the side begin recording an oscillation.Pause and advance half a second at a time until transmitted waves reach the probe. Move the probe, switch off Drive the source, and keep advancing.
What to observe: Moving starts a trace at the new location without clearing waves. After the drive stops, existing waves continue travelling and decaying. One step advances exactly one solver step.Keep the opening fixed and choose Short waves.
What to observe: The same opening becomes wider relative to wavelength, so sideways spreading weakens.Conceptual inspiration: FluidMotion. Original simulations and graphics; the model limits are described above.