Underwater Ray Tracing Simulator: Visualize Sound Paths in the Ocean

simulator intermediate ~10 min
Loading simulation...
Shadow zone begins at ~12 km from source

With a 5° launch angle from 100 m depth and a moderate thermocline, rays refract downward and a direct-path shadow zone begins at approximately 12 km. Sound reaching beyond this range must travel via bottom bounce or convergence zone paths.

Formula

cos(θ)/c(z) = cos(θ₀)/c(z_s) = ξ (Snell's law, constant along ray)
dz/dr = tan(θ) (ray slope in range-depth plane)
c(z) = 1449 + 4.6T(z) − 0.055T(z)² + 0.017z (sound speed from T and depth)

Sound Bends in the Sea

Unlike light in a vacuum, sound in the ocean constantly changes direction. The ocean's layered temperature and pressure structure creates a continuously varying sound speed profile that refracts acoustic rays according to Snell's law. Rays bend toward regions of lower sound speed — downward through the warm thermocline, then upward in the cold deep ocean where pressure dominates. This refraction creates a complex pattern of illuminated and shadow regions that determines the ocean's acoustic geography.

Snell's Law Underwater

The governing principle is elegantly simple: cos(θ)/c(z) remains constant along each ray path. A ray launched at a shallow angle from a near-surface source bends downward as it enters the thermocline (where sound speed decreases). If the ocean is deep enough, increasing pressure eventually raises the sound speed above the launch value, turning the ray back upward. This continuous refraction replaces the sharp reflection familiar from geometrical optics with smooth, curved trajectories.

Shadow Zones and Convergence

The interplay of source depth, launch angle, and sound speed profile creates dramatic acoustic contrasts. Shadow zones — regions unreachable by direct rays — can begin within ten kilometers of the source. Yet beyond the shadow zone, rays refracted through the deep ocean reconverge at the surface in narrow convergence zones, creating bands of strong signal at ranges of 50-65 km. This alternating pattern of silence and focus was a defining tactical factor in Cold War submarine warfare.

Modern Ray Tracing

Today's ray-tracing algorithms handle range-dependent environments (sloping bottoms, eddies, fronts) and include beam spreading, caustic corrections, and bottom interaction. They serve as the fast computational backbone for sonar performance prediction, acoustic communication link budgets, and marine mammal exposure assessments. This simulation traces rays through a canonical layered ocean, revealing the fundamental refraction patterns that more sophisticated models elaborate upon.

FAQ

What is acoustic ray tracing?

Ray tracing models sound propagation by following individual ray paths through a medium with varying sound speed. Each ray obeys Snell's law, bending toward regions of lower sound speed. In the ocean, this reveals how the temperature and pressure structure creates shadow zones, convergence zones, and waveguide effects that determine where sound can and cannot reach.

What is Snell's law for ocean acoustics?

Snell's law states that cos(θ)/c(z) is constant along a ray path, where θ is the ray angle from horizontal and c(z) is the local sound speed. When a ray enters a region of higher sound speed, it bends toward horizontal; in lower sound speed, it steepens. This continuous refraction replaces the discrete reflection/refraction at interfaces familiar from optics.

What is a shadow zone in underwater acoustics?

A shadow zone is a region where no direct acoustic rays arrive from the source. It forms when downward refraction bends all rays below a critical depth before they can reach certain ranges. Shadow zones create quiet areas that submarines can exploit for concealment. Sound can still reach these zones via diffraction or bottom-reflected paths, but at greatly reduced intensity.

What are convergence zones?

Convergence zones (CZ) are annular regions at the ocean surface where refracted rays from a distant source reconverge, creating locally intense sound. In deep water, CZs occur at roughly 50-65 km intervals. A submarine's sonar may detect nothing at 30 km (shadow zone) but pick up a target clearly at 60 km (first CZ) — a counterintuitive phenomenon exploited in anti-submarine warfare.

Sources

Embed

<iframe src="https://homo-deus.com/lab/ocean-acoustics/ray-tracing/embed" width="100%" height="400" frameborder="0"></iframe>
View source on GitHub