Introduction

Wave propagation in nonhomogeneous media has led to astonishing phenomena for over a century, especially in the field of solid-state physics1,2,3. For example, in a periodic medium, wave scattering at each change in the spatial property of the medium can result in a forbidden frequency band for which waves cannot propagate (Bragg reflection)1. In a random medium, interferences between multiply-scattered waves by random defects can halt wave propagation and trap or localize it within the medium. This linear phenomenon, known as Anderson localization, was first predicted for electrons in condensed matter3,4, and has since been observed in various domains5,6 ranging from cold atoms7,8,9,10 to classical waves such as optics11,12,13,14,15, microwaves16,17, acoustics18,19,20,21, as well as for random time-varying media22,23. For surface waves on a liquid, only a few laboratory studies carried out in the 80s, have demonstrated Anderson localization of linear surface waves over random bathymetry24,25 and the existence of a forbidden frequency band in the periodic case26,27,28,29. More recent experiments report water wave attenuation in canals involving resonators30,31 or corrugated sidewalls32,33,34, but do not focus on wave localization. It is the same for experiments on water waves over a two-dimensional periodic structure showing Bloch-like patterns35,36, superlensing, and self-collimation effects37,38.

Experimental studies of Anderson localization mainly concern linear waves, although there is a long-standing debate about whether nonlinearity enhances or weakens wave localization by disorder. Some theoretical studies predict that Anderson localization persists for continuous nonlinear waves39,40, but can be destroyed for nonlinear pulses41,42,43,44, while experimental studies with nonlinear waves are scarce and limited to optics13,14,15, acoustics45, or superfluid Helium46,47. In the context of surface gravity waves, the effects of nonlinearity on Anderson localization are still unknown both experimentally and theoretically, despite many potential applications regarding coastal protection from large-amplitude waves30,48,49.

Here, we show that nonlinearity enhances the localization phenomenon of surface gravity waves propagating over a random bathymetry in a canal. This result is achieved thanks to a full space-and-time-resolved wavefield measurement, that goes significantly beyond the indirect measurements used 40 years ago to show localization of linear water waves24,25. Using this highly resolved technique available today, we also experimentally observe the Bloch dispersion relation of linear waves over a periodic potential, which has not been reported so far for water waves. We also use numerical simulations to corroborate our experimental observations. Moreover, we report theoretically a smooth transition between Bragg scattering (periodic bottom) to Anderson localization (random bottom) when the disorder level is increased. Finite-size effects of the system on the localization length are also studied.

Results

Experimental setup

The experimental setup is illustrated in Fig. 1 (see photograph in the Supp. Sect. 1 and Video 1). It consists of a transparent canal of length Lx = 4 m and of width Ly = 18 cm. The canal is filled with water to a depth h = 5.5 cm. At one end, a linear motor drives a paddle to generate monochromatic surface waves in a frequency range f [0.42, 1.80] Hz (corresponding to wavelengths λ [0.36, 1.70] m). These waves propagate along the x axis and are dissipated by an 80-cm long beach, made of 2 cm stones, at the other end. This beach ensures that almost no reflection occurs at the canal end. The spatiotemporal measurement of the surface elevation η(x, t) is made by the use of five cameras (Basler, 20 fps, 6 Mpx) regularly spaced laterally along the canal, each filming an 86 cm side view with an angle of 4° following the method in ref. 50. The surface is illuminated from the top to generate a strong contrast between the water surface and a black lateral background. The horizontal and vertical resolutions are 0.28 mm/pixel. The five cameras are synchronized in time to film simultaneously the water surface along the canal. A 7-cm overlap is made between each camera view to ensure an accurate reconstruction of the whole wavefield. The nonlinearity is quantified by the wave steepness as \(\epsilon={\langle \sqrt{\int| \partial \eta /\partial x{| }^{2}dx/{L}_{x}}\rangle }_{t}\). We choose ϵ [0.01, 0.04] for the flat bottom to avoid wavebreaking. The typical rms amplitude of waves is 2 mm. To create a spatial-dependent bathymetry, N = 9 rectangular aluminum bars, of width d = 8 cm and of height a = 4 cm, are placed along the bottom of the canal. For a periodic bathymetry, the bars are placed regularly every L = 25 cm and thus L/λ [0.2, 0.7]. Hence, the water depth changes accordingly: h = 5.5 cm between the bars (kh [0.20, 0.96]) and h1 = h − a = 1.5 cm over each bar (kh [0.06, 0.26]). The random bathymetry is created from the periodic lattice by moving each bar by a length δ chosen randomly and uniformly in the range δ [ − κL/2, κL/2] for each bar. κ thus quantifies the level of disorder from 0 (periodic case) to 1 (fully random). Note that changing the distance L + δ between successive bars instead of other parameters (e.g., heights or widths of the bars) is the easiest and most efficient way of demonstrating the effect of randomness25. The values of L, N, and κ = 0 or 1 are fixed experimentally and are varied for theoretical predictions. The complete randomness (κ = 1) will be referred to as the random bottom afterward. Along with the experiments, numerical simulations are performed using the fully-nonlinear Boussinesq equations solver, as part of Basilisk software51 (see Methods).

Fig. 1: Experimental setup to study Anderson localization of surface gravity waves in a 4-m canal over a random or periodic bathymetry.
figure 1

a = 4 cm, d = 8 cm, L = 25 cm, and h = 5.5 cm. Insets: (a) Schematics for a periodic bottom. Typical experimental wave amplitude, η(x), along the first 2.8 m of the canal for (b) a flat bottom and (c) a random bottom with L = 25 + δ cm. Note that vertical axes are cut. Forcing frequency f = 1 Hz and wave steepness ϵ = 0.015. Black rectangles indicate the bar locations in the canal.

Linear theoretical dispersion relation

Because of the change in bathymetry, the dispersion relationship of linear gravity waves reads

$${\omega }^{2}=\left\{\begin{array}{ll}g{k}_{1}\tanh ({k}_{1}{h}_{1})\quad &\,{{\mbox{over the steps}}}\,,\\ gk\tanh (kh)\hfill\quad &{{{{{{{\rm{elsewhere}}}}}}}},\hfill\end{array}\right.$$
(1)

with ω = 2πf the angular frequency, k and k1 the wave numbers between and above the steps, respectively. Note that capillary effects are negligible since only long waves are considered here. Using the transfer matrix method over a periodic lattice52,53 (see Supp. Sect. 5) and the Bloch theorem, i.e., \(\eta (x)=U(x)\exp (iKx)\) with U(x) a periodic function of period L and K(ω) the Bloch wave number2, the dispersion relation of linear waves over a periodic bottom reads48,52,53,54

$$\cos (KL)=\cos \left[{k}_{1}(\omega )d\right]\cos \left[k(\omega )(L-d)\right]\\ -\cosh (2\zeta )\sin \left[{k}_{1}(\omega )d\right]\sin \left[k(\omega )(L-d)\right],$$
(2)

with \(\zeta=\ln (\sqrt{{k}_{1}/k})\) and with k1(ω) and k(ω) given by inverting Eq. (1). Equation (2) thus replaces the usual dispersion relation of surface linear waves over a flat bottom of Eq. (1), taking into account the reflections induced by each step. In the case of random bathymetry, no dispersion relation is predicted, to the best of our knowledge, because of the invalidity of the Bloch theorem.

Spatiotemporal wave spectrum

Examples of typical wavefields along the canal are reported in Fig. 1b for a flat bottom and in Fig. 1c for a random bottom, both for the same forcing frequency and wave steepness. Waves are halted for the random case after typically 1 m whereas they propagate over the flat bottom. This wave localization by the random bathymetry occurs strongly within a frequency band (1.1 ± 0.2 Hz) (see Supp. Sect. 2 and Video 2). To experimentally measure the wave dispersion relation, we use a sweep-sine forcing (from 0.42 Hz to 1.8 Hz during 5 min) rather than monochromatic forcing, which gives similar results but requires significantly more individual measurements. The wavemaker amplitude A(t) is chosen to keep a constant wavemaker acceleration, A(t)f(t)2, over time t ensuring a constant nonlinearity ϵ for each probed frequency f. Increasing nonlinearity, ϵ, is made by increasing the wavemaker acceleration (i.e., increasing A using a constant f) as A(t)f(t)2 [4, 30] mm/s2. The evolution of the surface elevation η(x, t) along the canal is shown in Supp. Sect. 2, and Video 2 and Video 3, for small and large nonlinearity, respectively. From the signal η(x, t), we then compute the spatiotemporal spectrum of the surface elevation \(| \hat{\eta }(k,\omega )|\) using a double Fourier transform. As it provides similar but noisier results, we rather plot the spectrum \(| \hat{\delta \eta }(k,\omega )|\) of the surface wavefield difference δη(x, t) = η(x + dx) − η(x) with dx the spatial resolution. The results are reported for a weak forcing ϵ = 0.015 in Fig. 2a, c, e for a flat, a periodic, and a random bathymetry, respectively. The results for a strong forcing ϵ = 0.040 are reported in Fig. 2b, d, f.

Fig. 2: Full spatiotemporal spectrum of the surface wavefield, \(| \hat{\delta \eta }(k,\omega )|\).
figure 2

Weak forcing (ϵ = 0.015): (a) Flat bottom, (c) periodic bottom, and (e) random bottom. Strong forcing (ϵ = 0.040): (b) Flat bottom, (d) periodic bottom, and (f) random bottom. Sweep-sine forcing f [0.42, 1.8] Hz. Dashed-white lines: Eq. (1b). Solid-white lines: Eq. (2) with a 1/L spatial periodicity. Logarithmic-scale color bar.

For the flat bottom and a weak forcing (Fig. 2a), the wave energy follows as expected the linear gravity dispersion relation of Eq. (1b) (dashed lines). With almost no energy present for k < 0 (less than 10% of the incident waves is detected for both linear and nonlinear cases), we conclude that the beach is efficient in preventing wave reflection. Increasing the forcing (Fig. 2b) leads to strong nonlinear effects: the major part of the energy is now spread along a straight line ωk, characteristic of the presence of coherent structures such as trains of solitons. Note that less energetic sloshing branches emerge (from k 0 and f ≠ 0).

In the case of a periodic bottom, the waves undergo reflections at each step and the classical dispersion relation of Eq. (1) (dashed lines) is no longer valid. For a weak forcing (linear waves) (Fig. 2c), the wave energy is found to be in good agreement with the Bloch dispersion relation K(ω) of Eq. (2) (solid lines). Reflections of the incident waves at each step lead to the emergence of stationary waves. Remarkably, almost no energy is found within a frequency gap (f [0.9, 1.3] Hz) as expected by the Bloch theory (energy is about one to two orders of magnitude smaller than outside the band gap). The agreement between the Bloch dispersion relation and experiments has been observed in optics55,56 and is here shown for the first time for hydrodynamic surface waves using spatiotemporal measurements. This result is also replicated by the numerical simulations thus validating them (see Supp. Sect. 3). For a stronger forcing (Fig. 2d), the Bloch dispersion relation, which is a linear prediction, is less respected due to nonlinear effects leading to more energy appearing within the band gap.

In the case of a random bottom (Fig. 2e, f), the loss of periodicity implies that the Bragg scattering and Bloch dispersion relation are theoretically no longer valid. This is indeed observed experimentally as the wave energy broadens more strongly, filling up more homogeneously the (k,ω) plane (compare Fig. 2d, f). Note that the random changes of the bathymetry imply numerous reflections, generating a large amount of dispersive waves, instead of the standing waves found for the periodic case.

Wave evolution along the canal

We now focus on the variation of the wave amplitude along the canal to infer the localization length. To do so, we plot the maximum ηmax(x) of the oscillating wave amplitude at each location x in the canal for different incident frequencies. In the case of a flat bottom (Fig. 1b and Supp. Sect. 2), almost no decrease of the wave amplitude occurs as viscous effects are negligible. Indeed, using an exponential fit \({\eta }_{max}(x) \sim \exp (-x/{l}_{d})\), we obtain a dissipative length ld ~ 20 ± 10 m, in agreement with theory (see Supp. Sect. 6), which is much longer than the canal length Lx. As dissipation has the same signature as localization [i.e., an exponential decrease of the wave amplitude, see Eq. (3)], dissipation has to be negligible to be able to highlight the localization phenomenon.

The variations of ηmax(x) are represented in Fig. 3 for three different forcing frequencies f = 0.5 (blue), 1 (red), and 1.5 Hz (green) in the periodic (a) and random (b) cases. ηmax decreases slightly along x for f = 0.5 and 1.5 Hz as these frequencies are located before and after the reminiscent band gap, respectively (see Fig. 2c). Conversely, a strong decrease of ηmax(x) is found for f = 1 Hz, a frequency inside the reminiscent band gap. In the periodic case (see Fig. 3a), for each frequency, we also observe that the bathymetry implies strong oscillations of ηmax(x) as a consequence of standing waves emerging from the reflections of the incident waves at each step. Note that the position of these standing wave nodes depends on the incident frequency. Indeed, for a frequency below the band gap (0.5 Hz), the maxima of ηmax is roughly located between two successive steps (schematized by the vertical-dashed lines), whereas it is located just above the steps for a frequency above the band gap (1.5 Hz). For an incident frequency within the band gap (1 Hz), the maxima of the standing waves occur just before the steps and their minima just after. To sum up, when the standing wavelength is in phase with the lattice spatial period, no attenuation occurs and the bathymetry does not influence the wave propagation, whereas a significant decrease of the wave amplitude occurs, due to intense reflections, when the standing wave is out-of-phase with the lattice. The random bathymetry leads to qualitatively similar results but with more randomness in the reflected waves generated [see Fig. 3b] and a more pronounced exponential decay (see below).

Fig. 3: Wave amplitude maxima \({\eta }_{\max }\) along the canal.
figure 3

Different forcing frequencies f = 0.5 (blue), 1 (red), and 1.5 (green) Hz, steepness ϵ = 0.015. (a) Periodic bottom, (b) random bottom. Dashed lines: best exponential fits \(\eta (x)={\eta }_{0}\exp (-x/\xi )\). Vertical dash-dotted lines: location of the bars in the canal.

Localization length and nonlinearity

Despite the presence of standing waves, ηmax(x) can be fitted (dashed lines in Fig. 3) with an exponential spatial decay as

$$\eta (x)={\eta }_{0}\exp (-x/\xi ).$$
(3)

The corresponding values of the localization length ξ are then plotted for different values of the incident frequency f in the periodic (Fig. 4a) and random cases (Fig. 4b), for weak, ϵ = 0.015 (blue bullets for experiments and blue lines for simulations), and strong forcing, ϵ = 0.040 (red empty symbols for experiments and red lines for simulations). We compare the data with the values of ξ(f) predicted by a linear theory (solid black line) computed by the transfer matrix method (see Supp. Sect. 5) as53, i.e.,

$$\xi (\omega )=\frac{NL}{\ln ({{{{{{{{\mathcal{T}}}}}}}}}_{11})},$$
(4)

with N the number of steps, NL the total lattice length, and \({{{{{{{{\mathcal{T}}}}}}}}}_{11}\) the inverse of the transmission coefficient between the wave amplitude before and the one after the lattice. The theoretical localization length ξ thus depends on the incident wave frequency and the bathymetry features (see Supp. Sect. 5). It turns out that some incident wave frequencies are not impacted by the bathymetry (full transmission), whereas others (close to the Bragg resonance1, i.e., λ 2L = 0.5 m) can no longer propagate in the lattice (no transmission) and are localized.

Fig. 4: Localization length ξ and nonlinearity ϵ.
figure 4

(a) ξ versus frequency f for ϵ = 0.015 (blue bullets for experiments and blue lines for simulations) and ϵ = 0.040 (red empty symbols for experiments and red lines for simulations) for the periodic case. (b) Same for the random case. Solid-black lines: linear theoretical predictions of Eq. (4). (c) ξ versus ϵ for a frequency lower (0.7 Hz), larger (1.5 Hz), and within (1.1 Hz) the theoretical band gap for the periodic case. (d) Same for the random case. Error bars are related to the exponential fit error (Fig. 3).

For the weak forcing, we observe a good agreement between the experimental and theoretical results. For the periodic bathymetry and a weak forcing (Fig. 4a), the predicted band gap in f [0.9, 1.3] Hz is well observed experimentally and numerically, as the localization length ξ decreases significantly within the band gap. Within this band gap, the localization effects are the strongest and the localization length is minimal (ξ ~ 1 m). On either side of the band gap, the experimental and numerical values of ξ agree but are not well described by the linear theory as weakly nonlinear effects probably occur even with ϵ = 0.015. It is a consequence of the finite amplitude of the waves, as confirmed by simulations (solid colored lines). For the random bathymetry (Fig. 4b), the experimental and numerical values of ξ show a larger forbidden band because of the presence of multiple reflections and are well described by the linear theory (solid line) in the case of a weak forcing.

For a strong forcing (nonlinear waves with ϵ = 0.040), in both the periodic and random cases, a strong decrease of ξ appears regardless of f, meaning that localization effects are stronger for nonlinear waves. This observation is stressed in Fig. 4a, b where experimental and numerical results are similar and in Fig. 4c, d, where the experimental localization length ξ is shown as a function of nonlinearity, i.e., wave steepness ϵ, for three different frequencies. For a frequency inside the theoretical band gap (e.g., f = 1.1 Hz), ϵ has almost no effect on ξ as waves are already strongly localized in the linear case. For frequencies outside the band gap (e.g., f = 0.7 or 1.5 Hz), the localization length ξ decreases significantly with increasing nonlinearity. This thus shows, for the first time experimentally, that nonlinearity enhances the localization phenomenon of hydrodynamic surface waves. Such nonlinear effects have been predicted theoretically for other systems39,40.

We now discuss the relevant lengths involved in the problem. Typically, one has Lλξ < Lxld as expected for waves to be localized, with L = 0.25 m the disorder scale, λ the wavelength, ξ the localization length, Lx = 4 m the system size, ld ~ 20 m the dissipative length. These conditions are well fulfilled for most probed frequencies (see Supp. Sect. 7). Note that, for the periodic case, one has λξ in the band gap, which explains the fact that the experimental values of ξ are slightly higher than the predicted ones in the gap (see Fig. 4a). Note also that to measure ξ, its value has to be less, or at least not too large, compared to Lx, which is valid in our experimental frequency range. The choices of the experimental parameters (a, d, L, Lx, h, h1) come from a compromise made to respect the above constraints.

Effects of disorder level and system finite size

We now study the role of the level of disorder κ on the localization length ξ using the linear theory computed from the transfer matrix method of Eq. (4). When κ is increased from 0 (periodic case) to 1 (complete randomness), Fig. 5a shows that the band gap corresponding to Bragg scattering of a periodic lattice (blue curve) is gradually lost when the randomness is strong enough (κ 0.6). Disorder has a strong effect, resulting in a significant widening of the ξ(f) curve, as all eigenstates are localized and not simply those within the band gap. This thus shows that the above presented experimental results with a strong random bottom (κ = 1) are well ascribed to disorder-driven Anderson localization. Only the minimum of the ξ(f) curve is reminiscent of the band gap. We thus have evidenced a smooth transition between Bragg scattering (κ = 0) and Anderson localization (κ = 1) when the disorder level increases, as also reported for 1D acoustics waves19,20.

Fig. 5: Effects of disorder level and system finite size.
figure 5

(a) Effect of the disorder level κ on the localization length ξ versus frequency f. κ is increased (arrow) from 0 (periodic case) to 1 (completely randomness). Theoretical curves for N = 9 and L = 25 cm (values of the experimental parameters). Blue (κ = 0) and red (κ = 1) curves correspond to the theoretical ones in Fig. 4a, b, respectively. (b) System finite size effects on the localization length ξ when the number N of bars, and thus the system size, Lx, increases (solid lines from blue to red) for the periodic case (inset, κ = 0) and the complete random case (main, κ = 1). Theoretical curves for L = 25 cm.

Finally, we theoretically study the effects of the finite size of the system by changing the number N of bars, and thus the total length Lx of the system, to keep a constant distribution (L + δ) of distances between bars, and thus a constant band gap frequency. Finite-size effects, generating oscillations in the ξ(f) curve, are predicted to be almost totally lost when N 10 as shown in Fig. 5b for the periodic case (inset, κ = 0) and completely random case (main, κ = 1). We can therefore conclude that in both cases the experiments performed here with N = 9 are only slightly affected by finite size effects.

Discussion

Anderson localization has been observed experimentally with cold atoms7,8,9,10 and classical waves (light waves11,12,13,14,15, microwaves16,17, acoustic waves18,19,21) but mainly for linear waves whereas experimental studies with nonlinear waves are scarce13,14,15,45,46,47. Here, we have reported experimentally, for the first time, the role of the nonlinearity on wave localization of hydrodynamic surface waves. We have shown that nonlinearity significantly increases wave localization regardless of the wave frequency except inside the reminiscent band gap where the localization length keeps its linear value. We have also shown the experimental evolution of the localization length with nonlinearity, which has never been reported previously with any wave. The localization length is found to decrease with the nonlinear parameter. To do so, we have used the most recent available, full space-and-time-resolved wavefield measurement. In contrast, most previous experimental studies focused on measurements of the reflection and/or transmission coefficient of linear waves before/after the disordered medium. This also provides a much more accurate characterization of the linear gravity-wave localization regime than that reported in the 80s24,25. To our knowledge, no theoretical works taking into account these nonlinear effects have been derived so far. We have also reported experimentally the first evidence of the macroscopic analog of Bloch’s dispersion relation in the case of hydrodynamic surface waves over a periodic bottom. These results are supported by our numerical simulations of the fully-nonlinear Boussinesq equations. We also found theoretically a smooth transition between Bragg scattering (periodic case) and localization phenomenon (random case) when the level of the disorder increases. The system’s finite size effects on the localization length are also reported. Finally, our experimental system, currently limited to cases of linear and nonlinear continuous waves, thus offers a convenient platform to tackle the question of Anderson localization of nonlinear structures (as nonlinearity can be controlled here), such as solitons41,42,57, nonlinear pulses43,44,46,47, and the possible existence of solitons within the band gap58,59. To what extent our work could be linked to the occurrence of extreme waves induced by variable bathymetry is also of primary importance in oceanography60,61,62.

Methods

Experiments

The experimental setup is described in the main part. A linear motor (LinMot PS01-37 × 120F) drives the wavemaker within the glass canal. The five cameras are Basler ace U (acA3088-57um, 3088 × 2064 pixels2) equipped with 8 mm lenses (Basler C23-0824-5M-P), positioned 90 cm from the canal. The vertical and horizontal resolutions are 0.28 mm/pixel. The cameras deliver up to 80 frames per second (20 frames per second are used here). Image acquisition, processing, and analysis are carried out using Matlab software.

Numerical methods

Numerical simulations are performed using the fully-nonlinear Boussinesq equations solver, as part of Basilisk software51. The rectangular bars are implemented as trapezoids, with a bottom base of 10 cm, and a top base of 6 cm, which we consider to give an “effective” width of 8 cm. The size of the domain and all other dimensions are the same as in the experiment. A high resolution is chosen, with 1024 points. We impose a radiative boundary condition on one side, with its amplitude chosen carefully to match the nonlinear parameter, ϵ, of the experiments. All of the data analysis procedures match the experimental ones.