LEARN / OCEAN WAVES / CHAPTER 04

Wave Refraction

Complete scientific lesson, including its original equations and interactive illustrations.

Original physics and annotationsInteractive scientific demonstrationsScientific teaching examples

Scientific scope: This lesson retains the original scientific explanations, diagrams, equations and interactive demonstrations. All numerical examples are educational and subject to their stated assumptions; they are not independently field-validated engineering design tools or operational forecasts.

CHAPTER 04 / REFRACTION

One crest.
Different speeds.

Why do waves often approach a beach more directly than they did offshore? The part of a crest in shallower water travels more slowly, turning the wave towards the shore-normal.

01 Observe the turn02 Change the approach03 Connect it to Snell’s law
MAIN INTERACTIVE EXPERIMENT · THREE LINKED VIEWS

Refraction: one analytical phase field, three linked perspectives

Use the corrected linked simulator to compare the same regular-wave refraction calculation through a 1D virtual gauge, a 2D wavefront navigation map and a 3D travelling-wave surface. The new Match 2D (top) view lets you check geometry directly; Oblique 3D restores the illustrative surface relief. A height-exaggeration control is included for easier interpretation.

The interactive refraction experiment is loading. The same simulator is also included as a standalone file in the ZIP package.

Model boundary: Regular linear waves over straight, parallel depth contours with no currents and no dissipation. The 3D panel is a linked rendering of the same analytical phase field shown in the 2D map; it is not a three-dimensional fluid solver. Use Match 2D (top) to confirm crest alignment, then switch to Oblique 3D for an illustrative surface view.

The earlier Chapter 4 plan-view experiment is retained below. You can also open the refraction studio in Wave Lab for a dedicated full-size exploration.

Supplementary experiment — original Chapter 4 refraction lab

This earlier analytical experiment retains the original plan-view construction, local metrics and worked Snell’s-law calculation. Use it as a cross-check against the linked 1D–2D–3D studio above.

Plan view · Equal horizontal distance scales · Blue lines: crests · Coral lines: rays (normal to crests) · Dashed lines: depth contours. This domain ends at 5 m depth, before the shoreline. Line colour and thickness do not represent wave height.

LOCAL ANGLE
LOCAL WAVELENGTH
LOCAL PHASE SPEED
UNDERSTAND / DEPTH AND DIRECTION

The seabed changes the speed.

The wave’s period is fixed in this stationary setting. As depth decreases, the dispersion relation gives a shorter wavelength and lower phase speed. An oblique crest spans different depths, so its shallow-water portion falls behind its deeper-water portion. The crest rotates towards alignment with the depth contours.

A wave ray follows the direction of propagation. Here it is perpendicular to the crest; it is not a water-particle trajectory. As the crest aligns with the contours, the ray turns towards their normal.

Try three comparisons.

  1. Set the approach angle to 0°. Wavelength still decreases, but the waves do not turn.
  2. Return to 40°. Compare the ray direction at 50 m and 10 m.
  3. Keep the incident angle fixed and compare 4 s and 16 s. Longer-period waves respond to the seabed farther offshore.

Shoaling changes height through changing group speed. Refraction changes direction and can also redistribute energy through changing ray spacing. This lesson calculates crest geometry and direction. Explore combined height changes in Chapter 05.

Connect the picture to Snell’s law

For straight, parallel depth contours with no currents:

sinθc=sinθrefcref=constant

θ is measured from the contour normal; c = L/T is phase speed. As c decreases, sin θ decreases, so the propagation direction turns towards the normal.

Go deeper: why parallel contours matter

The alongshore wavenumber stays constant: k sin θ = kref sin θref. Each crest is a line of constant phase. The crest positions follow a phase calculation that accounts for the changing cross-shore wavenumber.

For a stationary, lossless ray tube, energy flux is E Cg b = constant, where b is spacing measured perpendicular to the rays. With parallel contours this gives H/Href = √[Cg,ref cos θref / (Cg cos θ)]. Try the combined height calculation in Chapter 05.

Assumptions and limits

Small-amplitude, monochromatic waves over a gently varying, alongshore-uniform bed. No currents, reflection, diffraction, wind input, breaking or dissipation. The plotted crests show phase, not a resolved three-dimensional water surface.

The 50 m reference is not necessarily deep water. At every depth the full linear dispersion relation is used. Curved contours, shoals and headlands need a more general calculation; this straight-contour experiment cannot predict their focusing patterns.

Check your understanding

Will waves turn at normal incidence? No: θ = 0 remains a solution at every depth. Their wavelength and speed still change.

Is a ray the path of a floating object? No. It follows wave propagation; water particles mainly oscillate, with additional drift and currents possible in real seas.

Scientific basis and further reading

Holthuijsen (2007), Waves in Oceanic and Coastal Waters, §7.3.2, pp. 202–210; Sorensen (2006), Basic Coastal Engineering, Chapter 4, §4.2; Reeve, Chadwick & Fleming (2018), Coastal Engineering, §§2.3.1–2.3.3. These are supporting references; a purchase is not required to use this lesson.

Free overview: Coastal Wiki — Waves ↗

Verification: zero-angle limit, conservation of alongshore wavenumber, and Snell’s-law benchmarks. Original explanatory text and graphics. Model reviewed November 2026.