Damped wave equation
Wherever the surface is curved, it is pulled back toward flat, and damping makes the amplitude shrink as the wave travels.
Fluid dynamics · water-wave diffraction
Why does narrowing an opening spread the transmitted wave through a wider angle? How far a wave spreads depends on the width of the opening compared with the wavelength. A wide gap lets a nearly straight beam through. As the gap shrinks toward one wavelength, the wave that gets through spreads out from it almost like a new wave from a single point.
Rotate around the water surface, drawn with its height exaggerated, then look at the same field from above and read the probe history. Compare one or two point sources, one or two slits, a disk obstacle, walls that hold the height fixed, rigid walls and outgoing boundaries. You can 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 mattersWater waves, sound and light all diffract in the same way. A ripple tank lets you see the wavelength, the boundaries and the shape of the wavefronts directly.
Start with the essentials
Wherever the surface is curved, it is pulled back toward flat, and damping makes the amplitude shrink as the wave travels.
The readout gives the nominal wavelength of the undamped model; damping and the finite grid change how the waves actually travel. At fixed wave speed, a higher frequency shortens this wavelength.
The opening can only change by whole grid nodes. The drawing and the readout use the same mask as the solver. The width counts the intervals covered by open nodes, and the wall position is not resolved more finely than the grid.
Each solver step records the height with a timestamp, and the plot always spans eight seconds. The screen frame rate does not change the sampling. When the display stalls, each frame advances only a limited amount, so simulation time can fall behind real time.
An opening about one wavelength wide spreads the wave strongly sideways. This is a rough scaling rule; the full wave field gives the details.
Typical misconceptionThe brighter color always means more energy and the darker color means no wave.
Better mental modelThe two colors mark crests and troughs. Energy depends on the square of the amplitude, so you cannot read it from which color you see.
Typical misconceptionWider spreading means the slit amplified the transmitted wave.
Better mental modelThe barrier spreads the transmitted energy over more angles and reflects part of the incoming wave. Spreading wider does not mean more total energy.
Choose Wide slit and wait for the wavefront to cross.
What to observe: The middle of the transmitted front stays mostly flat, and it bends strongly only near the two edges.Choose Narrow slit and compare the readout.
What to observe: Nearly circular fronts spread out behind the opening, and a probe placed far to the side starts recording an oscillation.Pause, then press Advance half a second until the transmitted waves reach the probe. Move the probe, switch off Drive the source and keep advancing.
What to observe: Moving the probe starts a new trace at the new spot without clearing the waves. After the drive stops, the waves already in the tank keep travelling and fading. One step advances the solver by exactly one step.Keep the opening fixed and choose Short waves.
What to observe: The same opening is now wider compared with the wavelength, so the wave spreads less to the sides.Conceptual inspiration: FluidMotion. Original simulations and graphics; the model limits are described above.