<<

33rd Symposium on Naval Hydrodynamics Osaka, Japan, 18-23 October 2020

Study of Nonlinear Interaction between Waves and Currents Using High-Fidelity Simulation and Machine Learning Tianyi Li, Anqing Xuan, Lian Shen (St. Anthony Falls Laboratory and Department of Mechanical Engineering, University of Minnesota, Minneapolis, MN 55414, USA)

ABSTRACT broadband ocean waves propagating on currents are complex. Wave–current interactions modulate wave Modeling ocean surface waves under complex ocean heights; wave refraction by currents modifies the wave current conditions is of crucial importance to many propagating direction; and the Doppler effect alters the naval applications. For example, traveling ships and relationship of surface waves. Moreover, underwater vehicles generate spatially heterogeneous currents are usually spatially heterogeneous. currents behind them through their drag and propeller With the rapid development of computational motions. The strong currents can influence the capacities, numerical simulations have become an surface wave pattern in the ship wake. In this increasingly important tool in the studies of ocean study, the nonlinear interactions between waves and waves under realistic ocean environmental conditions. complex wake currents are investigated using numerical A variety of algorithms have been developed to simulations. An in-house code is developed for simulate ocean waves, including the higher-order high-fidelity simulations of a nonlinear phase-resolved spectral method (Dommermuth & Yue, 1987; West, ocean wavefield interacting with subsurface currents. et al., 1987), the single-phase free-surface flow solver Several typical wake patterns are simulated using the based on the Navier–Stokes equations (Xuan & Shen, present numerical method, and the influence of complex 2019), multi-phase flow solvers (Weymouth & Yue, currents on the waves is analyzed quantitatively using 2010; Fu, et al., 2013; Yang, et al., 2018), and a theoretical solutions of wave–current interactions. We boundary integral based wave–current solver (Nwogu, also present a method for solving the inverse problem 2009; Wang et al., 2018). In this study, we use of deducing the current field based on surface-wave our in-house code, which utilizes the velocity-based data using machine-learning techniques. A deep neural boundary integral algorithm (Nwogu, 2009), to conduct network is designed for processing spatial-temporal numerical investigations of the interactions between surface wave data. Detailed analyses on the distributions irregular broadband waves and complex currents in the of regression errors and the training dataset-dependency ship wake. show that the proposed neural network can effectively deduce the current field. Considering that the simulation of wave dynamics in conditions is a forward problem, we are also interested in the inverse problem, INTRODUCTION namely the detection of current distributions from arXiv:2101.03439v1 [physics.flu-dyn] 9 Jan 2021 In , complex current motions can have significant surface-wave data. Near-surface ocean currents are impacts on wave dynamics. Currents can be generated difficult to measure accurately due to the complex by natural causes, such as the rotation of the Earth, marine environments in the field, while the surface by wind shear, and by human activities, such as waves are relatively easy to characterize using remote surface and underwater vehicles. Directly capturing sensing techniques, such as high-frequency radar. wave dynamics under complex current conditions is Traditionally, Doppler effects extracted from the surface beneficial to revealing the mechanisms of wave–current wave spectrum are utilized to model current distributions interactions and can be applied to many engineering underneath. The algorithm to deduce an ocean applications. However, the physics of irregular current based on the extraction of the Doppler effects was first developed by Crombie (1955). Different

1 algorithms to construct current velocity as a function Governing Equations of depth have been proposed, such as the effective depth method (Fernandez et al., 1996), the Laplacian We denote the Cartesian coordinates as transform-based inversion method (Ha, 1979), and the (x, y, z), where x and y are horizontal coordinates, recent polynomial effective depth method (Smeltzer, and +z-axis points upward with the plane z = 0 et al., 2019). All these methods aim to deduce located at the mean ocean surface level. Let (U, V, W ) depth-varying current velocity from a measured phase denote the ocean current velocity, (u, v, w) be the velocity of the surface waves in a wide range of wave wave-induced velocity, and η be the surface elevation. numbers based on the theoretical dispersion relation The current velocity can be assumed to be steady, of waves above currents. However, to accurately considering that the timescale of the current evolution deduce a current profile using these methods is still is much longer than the timescale of wave motions. The challenging because strictly speaking, the inverse surface elevation η and scaled surface tangential velocity problem is ill-posed mathematically. Alternatively, components (us, vs) defined as data-driven methods, such as deep neural networks, show the potential to handle inverse problems (Adler us = u|z=η + w|z=ηηx (1) ¨ & Oktem, 2017). In the data-driven approach, a vs = v|z=η + w|z=ηηy (2) priori knowledge of the dispersion properties of waves is not needed. Given a sufficiently large dataset are chosen to be the primary variables. Derived from the containing the information of surface waves and current Euler’s equations, the governing equations for η, us, and distributions, one can train a deep neural network to v are (Nwogu, 2009) generate an optimal model by minimizing the designed s loss function. The advantages of the data-driven model include easy generalization and low computational cost ηt = un − (Uηη)x − (Vηη)y (3) for operations. The proposed neural network in this study can be easily generalized to complex ocean environments, such as spatially heterogeneous currents.   1 2 2 1 2 2 2 In addition, once trained, the model is computationally us,t + gη + us + vs − wη(1 + ηx + ηy) 2 2 x efficient enough to operate for real-time measurements. 0 − (vs − wηηy)(vs,x − us,y) + wηU The remainder of this paper is organized as η follows. First, the forward problem to numerically + Uηus,x + Vηus,y = 0, (4) investigate ocean wave dynamics under complex ocean current conditions is discussed. Then, the design of the machine-learning algorithm for the inverse problem  1 1  v + gη + u2 + v2 − w2(1 + η2 + η2) of deducing current distribution from surface waves is s,t 2 s s 2 η x y introduced. Last, conclusions are given. y 0 + (us − wηηx)(vs,x − us,y) + wηVη PHASE-RESOLVED WAVE–CURRENT + Uηus,x + Vηus,y = 0, (5) SIMULATION where (Uη,Vη) = (U|z=η,V |z=η) are the current In this section, we first introduce the numerical 0 0 velocity components at the free surface, (Uη,Vη) are method of the simulation code developed in house for their vertical derivatives at the surface, and wη = w|z=η the high-fidelity simulation of the three-dimensional is the normal velocity at the surface. Equations (3) to (5) wavefield with the wave phases resolved and the are not closed, and a velocity-based boundary-integral nonlinear wave-wave interaction and wave–current equation for the scaled normal-wave velocity un = wη − interaction captured. This simulation tool can compute uηηx − vηηy is used to obtain a closure system (Nwogu, the broadband waves interacting with arbitrary spatially 2009). The boundary-integral equation can be expanded heterogeneous ocean currents. Then, we use the code into Fourier-based series when the wave steepness is to investigate the modulation effects of horizontally chosen as the perturbation parameter, and the leading sheared currents and vortical flows on broadband order terms are kept to resolve nonlinear wave–wave irregular surface waves. interactions. The governing equation for the normal wave velocity un can be writtern as

(1) (2) (3) un = L {us, η} + L {un, η} + L {Ω, η}. (6)

2 (1) (2) (0) Here, the operators L {us, η} and L {un, η} are Given the initial guess un = 0, Equation (10) can defined as be evaluated iteratively for {m = 0, 1, ···} till the    solution converges. In the present study, the convergence (1) −1 ik L {us, η} = − F ·F{us} criterion is set to be when the mean square error between k (m+1) (m) two consecutive iterations, un and un , is smaller 1 2  −1 than the threshold  = 10−6. Note that when η → 0 − η F ikk ·F{us} 2 and no currents are present, Equation (6) reduces to −1 + ηF {ikk ·F{ηus}} the Airy wave solution. Based on the assumption that 1 the wave steepness is within the perturbative regime, − F −1 ikk ·F η2u 2 s we can expect that the iteration scheme Equation (10) −1 has a converged solution (Li & Shen, 2020). Due − η∇hη ·F {kF{us}} −1 to the nonlinear wave–wave interaction, the wave + ∇hη ·F {kF{ηus}} energy at the higher frequencies would keep increasing    −1 ik without dissipation. Therefore, a low-pass filter is − F ·F{us × ∇hη} , k applied to η, us, vs, and un in the wavenumber space (7) to introduce numerical dissipation and increase the numerical stability (Xiao, et al., 2013). The filter can be written as a Fourier multiplier Λ acting on a function ik   f(x, y), L(2){u , η} = − ∇ η ·F −1 F{u } n h k n −1 + ηF {kF{un}} " #  |k| β2 −1 − F {kF{ηun}} , (8) F{Λf} (k) = exp − F{f} (k), (11) β1kp where k = |k| is the magnitude of the wavenumber vector k and ∇ = (∂ , ∂ ) denotes the horizontal h x y where k = arg max |F(f)| is the peak wavenumber gradient. Operators F and F −1 denote the Fourier p |k| of the wave spectrum and the constants β = 8 and transform and the inverse transform, respectively. The 1 β = 30. operator L(3) {Ω, η} is related to the current vorticity 2 Ω = (−Vz,Uz, 0) and the surface elevation η, and is Problem Setup defined as To study how current motions modulate the Z  L(3){Ω, η} =2 Ω(x0) × ∇0G(x; x0)dx0 dynamics of realistic surface waves, we use the wave V spectrum (Hasselmann, et al., 1973) from the Joint · (∂xη, ∂yη, −1) , (9) North Sear Wave Project (JONSWAP) to initialize the undisturbed ocean wavefield. The omni-directional where ∇0G(x; x0) denotes the gradient of the frequency spectrum of the wavefield, E(ω) with ω being three-dimensional Green’s function with respect to the the wave angular frequency, is given by varibale x0, and V is the water domain.

 2  2 "  −4# (ω−ωp) Numerical Schemes αpg 5 ω exp − 2 2 2σ ωp E(ω) = 5 exp − γ . Equations (3) to (5) are evolution equations for ω 4 ωp variables η, us, and vs, respectively, and the fourth-order (12) Runge–Kutta method is used for their time advancement. The Fourier-based pseudo-spectral method is adopted Here, the constant g = 9.8 m/s2 is the gravitational to compute spatial derivatives, i.e., ∂x and ∂y, and we use the 3/2 rule to eliminate the aliasing error of the acceleration, α is the parameter associated with the total nonlinear terms. The boundary integral equation for wave energy, ωp is the peak angular wave frequency, γ = 3.3 is a dimensionless constant, and σ is set the wave normal velocity un (Equation (6)) is highly nonlinear, and the following iteration scheme is used to as (Hasselmann, et al.) solve for un, ( (m+1) (1) (2) (m) (3) 0.07 ω ≤ ωp, un = L {us, η} + L {un , η} + L {Ω, η}. σ = (13) (10) 0.09 ω > ωp.

3 The following empirical formulae are used to varying horizontal velocity induced by the drag and the parameterize αp and ωp, vortical motions induced by the propellers.

U 2 0.22 α = 0.076 10 , (14) F g Spatially-varying sheared current  g2 1/3 ωp = 22 , (15) U10F z Ocean surface U y where 10 is the wind velocity at 10 meters above the x surface and F is the fetch. For the simulations considered in this work, we set U10 = 6 m/s and F = 10 km, resulting in α = 0.0133 and ωp = 2.57 s−1. To obtain the directional wave spectrum Vortical flow E(ω, θ), we multiply a spreading function D(θ) to Equation (12) (Longuet-Higgins, 1963) Figure 1: Configuration of ship-induced current velocity distribution in the wake. E(ω, θ) = E(ω)D(θ), (16)

where the spreading function is chosen as D(θ) = The drag-induced current velocity Ud is (2/π) cos2(θ), θ ∈ [−π/2, π/2). The parameters for modeled by the superposition of three Gaussian profiles initializing the two-dimensional JONSWAP wave field as are summarized in Table1.  2! Ud0L0 1 y − Lm Ud(x, y, z) = √ exp − Table 1: Summary of JONSWAP wave parameters 2πσm 2 σm −1  2! α ωp (s ) λp (m) cp (m/s) Tp (s) U L 1 y − L −√d0 0 exp − l 0.0133 2.57 9.32 3.81 2.45 2πσl 2 σl ! U L 1 y − L 2 −√d0 0 exp − r . (17) 2πσr 2 σr The domain size for the wave field is Lx×Ly = 200 m × 200 m, which is large enough for capturing The current velocity distribution described by y− all the dynamical interactions between ship-induced Equation (17) varies smoothly in the direction and is uniform in the x− and z−directions. The mean-current currents and ocean waves. A grid with Nx × Ny = 1024 × 1024 is adopted to discretize the horizontal velocity in the entire domain is zero. Setting the origin of domain, corresponding to a grid spacing of ∆ = ∆ = the coordinates at one corner of the rectangular domain, x y L = 0.195 m. Therefore, one peak wavelength λ (Table1) we choose the constants in Equation (17) as m p 100 m L = 110 m L = 90 m L = 1 m σ = 8 m is well resolved by 48 discrete grid points. For the time , l , r , 0 , m , and σl = σr = 6 m. The characteristic velocity Ud0 discretization, we set the time step ∆t = 0.049 s, which is 1/50 of the peak wave period. is chosen such that the maximum drag-induced surface current velocity is 1 m/s. Table 2: Summary of simulation parameters Propeller-induced rotating flows are modeled using two counter-rotating line vortices, which have the L (m) L (m) ∆ (m) ∆ (m) ∆ (s) x y x y t following stream function, 200 200 0.195 0.195 0.049 Γ  ψ = ψ + ψ = − ln p(z − z )2 + (y − y )2 r l 2π r r  p 2 2 − ln (z − zl) + (y − yl) . (18) There are two main mechanisms for current generation by a ship. A traveling ship drags the surface The centers of the two vortices, (yl, zl) and (yr, zr), are water, resulting in a horizontally-varying current in the located symmetrically about the centerline of the domain moving direction of the ship. Meanwhile, ship propellers y = Lm at the same depth. The distance between the can generate rotating flows (Somero, et al., 2018). vortex cores is set as |yl − yr| = 10 m and the depth is Figure1 shows the configuration of the current velocity zl = zr = −5 m. The current velocity can be obtained field in the ship wake, which consists of the spatially by calculating (U, V, W ) = (0, ∂zψ, −∂yψ). At the free

4 surface, the propeller-induced rotating currents have the shows the temporal evolution of the one-dimensional following horizontal-velocity distribution, wave-energy spectrum, defined as ! Γ y y Ny l r 1 X Vx 2 Vpη = − p 2 2 p 2 2 S(kx) = η (kx, yi) , (20) 2π (y − yl) + z (y + yr) + z N d r y i=1 (19) Vx where η (kx, y) denotes the Fourier transform of η(x, y) The vortex strength Γ is chosen such that the maximum in the x-direction. of propeller-induced velocity at the free surface is 0.1 m/s. The sign of Γ represents two different propeller As shown in Figure2, wave energy grows with working conditions. The condition where Γ > 0 time in the low wavenumber region, k  kp, owing to represents inward rotating propellers, which result in the inverse cascade of wave energy (Zakharov, 1992). a converging flow near the centerline of the ship-wake On the other hand, in the high wavenumber region, region. When Γ < 0, propellers rotate outward, and k  kp, the wave loses energy to dissipation (Xiao, et the surface flow diverges from the centerline. The al., 2013). The instantaneous wave field at t = 120 Tp horizontal-varying sheared-flow Equation (17) and the is used as the initial condition of the wave–current vortical-flow Equation (18) together construct the wake interaction simulations. The current velocity (U, V, W ) velocity. In this study, we set up three cases, including is introduced at t > 120 Tp. The simulations are the case without propellers’ rotating effects (NR), the run for an additional 40 Tp to obtain converged results case with outward rotating propellers (OR), and the case of the wave dynamics. The wave data at the time with inward rotating propellers (IR). The details of the interval 160Tp < t < 200Tp is collected to analyze simulation cases are summarized in Table3. the interaction between surface waves and subsurface currents. Table 3: Summary of simulation parameters max U max V Case Propeller Rotation η η 100 (m/s) (m/s) 10-1

NR No 1.0 0.0 ) p k OR Outwards Rotating 1.0 0.1 ( 10-2 /S ) x

IR Inwards Rotating 1.0 0.1 k -3

( 10 t = 0 T S p t = 60 T 10-4 p t = 120 Tp We note that because we focus on the wave 10-5 -1 0 1 dynamics in the presence of ship-wake flows, the 10 10 10 k /k ship-generated wake currents are kept steady in the x p simulation to facilitate the quantitative analyses of the current effect on waves. In addition, for the present Figure 2: Evolution of the wave energy spectrum S(kx). configuration, the spatial and temporal decay of wake flows can be considered negligibly small within the Figure3 gives an overview of the ocean wave duration of the simulation because the time scale of the fields interacting with ocean currents for the three cases surface waves is much smaller than the time scale of the considered in this study. The modulations of waves current decay. Under the assumption that the wake decay by current variation and vortices in the wake region is negligible, the current velocity is set to be uniform in can be clearly observed. In Case NR (Figure3a), the streamwise direction. the propeller-induced vortical current is absent, and Results the drag-induced current velocity is the sole reason for the spatial heterogeneity of ocean-surface waves. The variables η, us, and vs of the initial In this case, the wave–current interaction results in a wavefield at t = 0 are calculated using the superposition reduction in the wave steepness and a smooth wake of linear waves with different frequencies following the region. Figure3(b) shows the surface waves in Case directional JONSWAP wave spectrum (Equation (16)). OR, where the vortical flows rotate outwards and To let the nonlinear wave dynamics develop, the generate near-surface diverging flows in the wake’s simulation is first run with no current-velocity central region. Similar to Case NR, the region near distributions for 120 peak-wave periods. Figure2 the centerline becomes smooth. However, there exists

5 a substantial increase in the wave steepness near the as the wake region. The region outside of the wake boundary between the ship-wake region and the outer region is referred to as the outer region. As shown region. Figure3(c) shows the surface waves in Case IR, in the wake region, the one-dimensional wave-energy in which the ship propellers rotate inwards and generate spectrum S(kx) is damped for almost all wave numbers. flows converging towards the center of the wake region. The damping effects are more significant at high wave As a result, a narrow rough region is present at the center numbers k > kp. This phenomenon can be explained by of the ship wake. the conservation of wave actions considering the current effects (Longuet-Higgins & Stewart, 1961). Considering (a) a monochromatic linear wave with the original H0 and phase speed C0 propagates into a uniform current with the speed of U, and the wave height H becomes H 2 = r r . (21) H0 q q 1 + 1 + 4U 1 + 4U + 1 + 4U C0 C0 C0

Equation (21) is valid for monochromatic waves with infinitesimal wave steepness. (b) 100

10-1 ) p k ( 10-2 /S ) x

k -3

( 10 S

10-4 Wake region Outer region 10-5 -1 0 1 (c) 10 10 10 kx/kp

Figure 4: Wave energy spectrum S(kx) for Case NR.

For surface waves with finite amplitudes, a nonlinear correction based on wave steepness was introduced by Peregrine and Thomas (1979). In the nonlinear theory, the nondimensional averaged wave energy density E, averaged Lagrangian L, and Figure 3: Top views of the ocean wave fields in the nonlinear dispersion S, are rational functions of wave ship wake. (a) Case NR (no propeller rotating effects); steepness  = kH, which are parameterized from the (b) Case OR (propeller rotating outwards); (c) Case IR Longuet-Higgins’ table of integral properties of steep (propeller rotating inwards). Scenes are generated using waves (Longuet-Higgins, 1957), the software Blender. 1 0.195694 E() = 2 − , (22) 2 1 − 1.044882 − 12.97924 A more detailed analysis of the change of 1 0.0071576 L() = 4 − , (23) wave steepness owing to a ship-induced current is 8 1 − 6.738682 + 9.641034 discussed next via the one-dimensional wave energy 2.61074(0.1935 − 2) spectrum. Figure4 shows the one-dimensional S() = 1 + 2 + . (24) 1 − 5.635432 + 3.984844 wave energy spectrum in different regions for Case NR. Based on the profile of the drag-induced For a wave with wave number k propagating into a current-velocity Equation (17), we define the region current with speed U, its wave-action density A and Ll < y < Lr with a width of Ll − Lr = 20 m wave-action density flux B can be expressed as A() =

6 (ρg/σk2)(E+L), and B() = (ρg/2k3)(E+5L). Here, represented by the dashed line (––), shows a better σ denotes the wave frequency relative to the current, and agreement with the numerical result. ω is the frequency in a fixed frame. The conservation of Next, we investigate the damping of the wave wave action gives spectrum in the smooth region by applying the theory of Longuet-Higgins & Stewart (1961) (Equation (21)) A()U + B() = B( ), (25) 0 in the wave number space. For broadband waves,

where 0 denotes the wave steepness in the absence of we use the spectrum from the outer region and the currents. The nonlinear dispersion relation is current velocity to calculate Equation (21) for each wave number kx in the spectral domain and obtain the 2 σ = gkS(). (26) modulated wave spectrum S(kx). Figure5(b) shows that the predicted spectrum (––) agrees with the simulation Owing to the Doppler shift, we have the following results, especially at the high wave numbers. relation,

ω = σ + kU. (27) (a)

Equations (25)-(27) constitute a closed algebraic system for three unknowns, σ, k, and , and the solutions can be numerically solved. Therefore, the change of wave height can be obtained. When only leading order terms with respect to  are kept, the nonlinear solutions (Peregrine & Thomas, 1979) reduce to the linear solutions (Longuet-Higgins & Stewart, 1961). When the waves propagate along with the current, i.e., U/C0 > 0, the nonlinear-theory prediction of the wave-height change, H/H0, is close to the linear-theory prediction. When the waves propagate against the (b) current, the prediction based on the linear theory overestimates H/H0. Both the Longuet-Higgins & Stewart’s solution (Equation (21)) and the nonlinear correction of Peregrine & Thomas (1979) have been validated using numerical simulations for monochromatic waves (Nwogu, 2009; Wang, et al., 2018). In the present study, the peak wave steepness Wake region -4 -- Outer region 0.21 10 of broadband waves is approximately . As a result, - - · Wake region (prediction) nonlinear wave effects should be considered. 1 0-5 --'-r---T---r--r-...... ------r------r-----r-----r--,...... ,.....--.-r------.----,------,-----.-■■-....-r-r--' 10- 1 10° 101 Figure5(a) shows the streamwise root mean kx/kp square fluctuations of the instantaneous wave surface σx(η) at t = 140 Tp normalized using the y-average outer Figure 5: (a) Spanwise variation of the root mean square value in the outer region, σx(η) . Note that wave-surface fluctuations. The dash-dotted line (– –) σx(η) fluctuates along the y-direction because the wave and the dashed line (––) represent the results based field is broadband and irregular. It has a global on the linear theoretical solution (Longuet-Higgins & minimum at the centerline of the simulation domain Stewart, 1961) and the nonlinear correction (Peregrine y = 100 m. The dash-dotted line (– –) is the theoretical & Thomas, 1979), respectively. (b) Comparison of prediction obtained by imposing the linear wave–current the one-dimensional wave-energy spectrum between the theory (Longuet-Higgins & Stewart, 1961) using the present simulation result and theoretical prediction. peak wave number of the broadband wave field kp. The linear prediction captures suppression of the wave height at the center where the waves and current are in Figure6 shows the one-dimensional wave the same direction. However, in the regions where the energy spectrum for Case OR, in which the ship current is opposite to the wave-propagation direction, the propellers rotate outwards. The entire simulation domain amplification of the wave height is overpredicted by the is empirically divided into three regions based on the linear solution. On the other hand, the solution with observed surface roughness (Figure3b), the smooth the nonlinear correction (Peregrine & Thomas, 1979), region y ∈ [91.8 m, 108.2 m], the rough region y ∈

7 [76.2 m, 91.8 m] ∪ [108.2 m, 123.8 m], and the outer region y ∈ [0 m, 76.2 m] ∪ [123.8 m, 200 m]. As 100 shown in Figure6, similar to Case NR, the energy 10-1 ) of the high-wave number waves in the smooth region p k decreases compared to the outer region, indicating that ( 10-2 /S )

the smoothness of the water surface is associated with x

k -3

( 10 the damping of short waves. In the rough region, S(kx) S Smooth region increases at both the k ≈ kp and k  kp wave numbers. 10-4 Outer region This phenomenon can be qualitatively explained by Rough region the directional-spreading property of broadband waves. 10-5 -1 0 1 For a monochromatic wave, a transverse current 10 10 10 k /k has little effect on wave motion. However, for x p broadband waves that travel in the x-direction, there exist wave components propagating along the (+y)- Figure 7: Wave-energy spectrum S(kx) for Case IR. and (−y)-directions because of spreading effects (see Equation (16)). In this case, the diverging transverse current caused by the subsurface-vortical flow transports We use the in-house boundary-integral-based wave energy from the smooth region to the outer region, wave-current solver to numerically investigate the resulting in the energy accumulation at the boundaries of interactions of broadband ocean waves with ship wake the smooth region to generate two strips where the wave flows. The numerical results capture ocean-wave steepness is much higher. characteristics under different ship-induced current conditions. On one hand, solving the evolution of ocean waves interacting with currents is a well-posed 100 deterministic problem. On the other hand, based on the space-time observation of wave evolution, deducing 10-1 ) the current motions underneath the free surface is p k

( an ill-posed inverse problem. In the next part, we 10-2 /S

) will utilize a machine-learning algorithm to study the x

k -3

( 10 current-profile detection from surface-wave data.

S Smooth region 10-4 Outer region Rough region MACHINE LEARNING FOR INVERSE 10-5 PROBLEM 10-1 100 101 kx/kp Problem Description Developing an in situ detection method for Figure 6: Wave-energy spectrum S(kx) for Case OR. ocean currents is crucial to many applications in marine hydrodynamics and ocean engineering. For Case IR, the near-surface current converges Complex current velocity distributions can modulate to the centerline, where wave roughness increases wave dynamics in both the temporal and spatial significantly (see Figure3(c)). Based on the observation, aspects. Horizontally varying currents can generate we also empirically divide the entire simulation heterogeneous surface-wave signatures owing to wave domain into three regions; the smooth region y ∈ refractions. Vertically sheared currents can modify the [72.9 m, 93.6 m] ∪ [106.1 m, 126.8 m]; the rough region dispersion relationship of surface waves and modulate y ∈ [93.6 m, 106.1 m]; and the outer region y ∈ wave behaviors in the frequency domain. Next, we study [0 m, 72.9 m]∪[126.8 m, 200 m]. We note that the rough the inverse problem. region, albeit narrow, has a width of 12.8 m consisting of In the present inverse problem, the main goal 64 grid points in the y-direction. As shown in Figure7, is to deduce the current field based on the observation the wave-energy spectrum S(kx) in the rough region is of surface wave data, with the nonlinearity of the much larger than in the other region. On the other hand, wave–current interaction accounted for. Recently, deep the difference between the spectra in the smooth and learning has shown great potential in many areas, such outer regions is small. This indicates that the inward as image recognition and turbulence modeling (LeCun, rotating condition mainly affects waves in the narrow et al., 2015; Duraisamy, et al., 2019). In this work, we region along the converging line. have developed a data-driven deep-learning framework

8 to solve the inverse problem of current detection based propagating on a linearly sheared uniform current. The on surface-wave data. The framework takes wave advantage of this simplification is that we can generate data as the input and outputs the information of the arbitrarily large data samples based on the theoretical current underneath, including its magnitude and spatial solution. For more complex current conditions and distribution. To evaluate the performance of the deep finite-amplitude wave effects, we can use data from learning algorithm, we consider the canonical problem numerical simulations or experimental measurements to of a wave group interacting with a shear current. develop the machine-learning algorithm, although the The definition of this inverse problem is introduced cost to obtain such datasets is much higher. Because the using a statistical learning framework (Shalev-Shwartz machine-learning technique is a data-driven method, it & Ben-David, 2014) as follows. The Domain Set X , is feasible for the model discussed in this study to be defined as a set of objects that we would like to regress, generalized to more realistic conditions. is the wave elevation, which is discrete in both space and time. The Target Set Y is a set of target outputs, Generation of Datasets which is a set of parameters of ocean currents in our We will now consider small-amplitude, settings. We can assume that there exists a distribution one-dimensional water waves propagating on a D, which characterizes the pairs z = (x, y) ∈ X × Y. two-dimensional linearly sheared current. Let (ξ, ζ) The Hypothesis is a class of functions H = {h | h : X → denote the two-dimensional Cartesian coordinates where Y} that provide the predictions. The main goal of the ζ = 0 is located at the mean water surface. The surface machine-learning method is to find an optimal function elevation of the one-dimensional wave group is given by in the hypothesis class to describe the distribution D. To N measure the distance between the predicted result h(x) X and the target y, we need to define the loss function η(ξ, τ) = ai sin(kiξ − ωiτ + φi). (31) l(h, z). In the present regression problem, the square i=1 loss function is adopted, The velocity of the deep-water sheared current is expressed as l(h, z) = l(h, (x, y)) = (h(x) − y)2. (28) U(ζ) = U0 + ζd, ζ ∈ (−∞, 0]. (32) The goal of the training algorithm in the machine Here, because the wave amplitude is assumed to be learning process is to use the Training Data S = {zi = small, the wave group can be considered as a linear (xi, yi) ∈ X × Y | i = 1, . . . , m}, a set of finite pairs combination of Airy waves with a different wave with size m, to minimize the following training error number k, i.e., the nonlinear wave–wave interaction LS(h), and the energy transfer among different wave numbers can be neglected. In Equation (31), for each m 1 X wavenumber k , the variables a , ω , φ represent the L (h) = l(h, z ). (29) i i i i S m i corresponding wave amplitude, angular frequency, and i=1 phase, respectively. The dispersion relation of the Clearly, we cannot access any information of the water waves is highly nonlinear with respect to the distribution D, and we hope that the algorithm learned current-velocity distribution. When the current velocity on the training data S can be generalized to reveal the is linearly sheared vertically, the wave angular frequency properties of the distribution D. The corresponding ωi can be determined from the following dispersion generalization error function LD(h) over the distribution relation, D is defined as s d d2  ωi = U0ki − + + gki , (33) LD(h) = Ez∼D[l(h, z)]. (30) 2 4 where g denotes the gravitational acceleration. In this In the present study, we aim to explore the capability 2 of the machine-learning method to inversely calculate model, we set g = 10 m/s for simplicity, ocean-current distribution based on surface-wave data. From measurements and simulations, we can In a realistic ocean environment, the wave steepness only create or collect discrete data. Therefore, in can be sufficiently large such that the nonlinear effect the machine-learning approach, it is natural to choose should be taken into consideration. Moreover, the ocean a discrete-in-time and discrete-in-space dataset from current might be heterogeneous in three dimensions the wave–current interaction problem for the training and might vary in time, which further complicates the algorithm to learn. The datasets generated in this study inverse deduction. Here, as a first step of the study, use a spatial domain of length 2π discretized uniformly we simplify the problem and only consider linear waves by 128 grid points. The total number of wave modes

9 is set to be N = 20, i.e., we have the wave number of the multi-layer network is defined by the following ki = i, i = 1 ...N. Note that the wave amplitude ai recursive representation, is associated with the wave energy. To mimic the decay (H) of wave energy in high frequencies in nature, we define h(x) = ax + b, (38)   the following weighted norm, xj = σ W(j)x(j−1) + b(j) , 1 ≤ j < H (39)

N X 2 where H is the number of hidden layers; W(j) ∈ kηkW = f(i)ai , (34) d ,d (j) i=1 R j−1 j and b are the weight and bias at the j-th hidden layer, respectively; a and b are respectively with the (arbitrarily designed) weighted function the weight and bias of the output layer; and σ is the element-wise activation function. In this study, we 2 f(γ) = 10 + 0.2γ . (35) choose the rectified linear unit (ReLU) function σ(x) = max{0, x} as the nonlinear activation function (Glorot, The generation of ai for different samples is conducted et al., 2011). Table4 summarizes the information about by drawing from a uniform distribution with the the number of hidden units dj in each hidden layer j of normalization restriction kηkW = 1. In this model, we the neural network. The total number of elements in this restrict the range of surface current velocity U0 and the neural network is approximately two million. shear rate d to Table 4: Details of the neural network U ∈ [0, 1], (36) 0 Hidden layer 1 2 3 4 ∼ 8 9 10 d ∈ [0, 1]. (37) j Hidden units 800 600 400 300 100 64 To generate the target set yi = (U0i, di), we assume dj 2 that {yi} satisfies the uniform distribution U[0, 1] . The phase φi is also assumed to follow the uniform distribution U[0, 2π]. For each wave component with We use the back-propagation method to find the wave number k, the ratio between the surface-current the minimizer h of the loss function L (h). The velocity and phase velocity, U/C, varies from 0 to S initialization of the weight and bias matrices is an M(k), where M(k) ∈ [0.32, 0.64] for k ∈ [1, 20]. As essential point to train the network. In this study, for the temporal discretization, we set the observation we use the normal distribution N (µ, σ) with the interval δ = 0.2 and collect 10 consecutive segments mean µ = 0 and the standard deviation σ = η| for j = 0,... 9. The temporal-spatial input data t=tj 0.03 to randomly initialize each weight and bias. are then rearranged into one-dimensional arrays. The The mini-batch gradient-descent method (Bertsekas, above process can generate independent and identically 1996) is adopted for determining the gradients in distributed (IID) random variables {S = {z = i the back-propagation. This optimization method can (x , y )}, which are used as the training data. In this i i accelerate the training process significantly compared to study, the IID training data consists of m = 5 × 105 the stochastic gradient-descent method. Moreover, by different samples. For each sample of training data z = i choosing the appropriate batch size, this method can (x , y ), the dimensions of x and y are 1024 × 1 and i i i i handle arbitrarily large training data, overcoming the 2×1, respectively. To describe the unknown distribution limit of the device memory. For our training process, D, we generate another IID dataset with a size of m = the batch size is chosen as 2 × 104, and the learning 106 as the test dataset to approximate the distribution. rate of the gradient-descent method is η = 0.035 at Both the training and test dataset represent the beginning and decreases to η = 0.001 when the the evolution of broadband waves with 20 adjacent training epochs reach 60. The total training epochs are wave modes over linearly-sheared currents. The surface set to be 600. The mini-batch gradient-descent method current velocities U0 and the shear rates d for all cases is performed using the package TensorFlow deployed on 2 recover a continuous parameter space U0 × d ∈ [0, 1] an NVIDIA TESLA V100 GPU. due to the central-limit theorem. Figure8 shows an example of the input Network Structure and Training Algorithm data and output data from the test dataset in the machine-learning algorithm. The left contour is We use multi-layer, fully-connected neural a visualization of a space-time surface-wave data networks to map the input xi of the size 1280 × 1 to the from the test dataset. The right figure shows the output yi of the size 2 × 1. The prediction function h(x) current-velocity profile. The red area represents the

10 −5 ground truth of current-velocity U(z), and the black error and generalization error reach LS(h) = 4.4×10 −5 edges denote the predicted current-velocity profile using and LD(h) = 8.9 × 10 , respectively. No error the machine-learning algorithm. In this example, once a saturation has been observed during the training process. neural network is trained, the relative errors between the These results show the capability of the designed predictions and ground truth for surface velocity U0 and machine learning algorithm to inversely calculate the shear rate d are only 0.43% and 0.88%, respectively. ocean current distribution based on the surface-wave profiles. Realistically, iterations of back-propagation can only be run for a finite number of steps because of computational cost. We expect the non-zero residual errors for both the training set and the test set and the distributions of residual errors to be closely related to the performance of the deep neural network model. Therefore, the uncertainty quantification for the algorithm should be carefully analyzed. The mean-square error definition of the loss function L(h) is widely used in regression problems. However, Figure 8: Illustration of the proposed machine-learning the mean-square error cannot explicitly control the input-output data structure. The left figure shows pointwise error of the dataset. We are curious about how one example of the input space-time surface wave the error function h(x)−y is distributed in the set X ×Y data from the test set. The right figure shows the when the loss function L(h) is well controlled within a current-velocity profile. The red area represents the small threshold by the training algorithm. The events ground truth of current-velocity distribution, and the when h(x) − y is far away from its mean value are of black edges represent the predicted results from the more interest. If we have m samples in the dataset, the machine-learning algorithm. following norm inequality holds, √ p kh(x) − yk∞ ≤ m L(h). (40) It means that the maximum absolute value of h(x) − y is -1 L (h) training set 10 S bounded by the loss function L(h) and the total number L (h) test set D of samples m. Even though the loss function L(h) 10-2 can be decreased by increasing the number of samples

) of the training set m and the total number of training h

( -3

L 10 epochs, as m increases, the upper bound of kh(x)−yk∞ also grows. For any data-driven model, increasing the 10-4 data samples is always helpful to obtain good results. However, due to the increase of the upper bound, it is reasonable to expect that the rare event when h(x) − y is 0 100 200 300 400 500 600 far away from its mean value may occur. number of epochs We compute the pointwise error r(hs, z) = Figure 9: Training process of the algorithm. h(x)−y at each (x, y) pair in both the training set z ∼ S and the test set z ∼ D. For any β > 0, we can define two probabilities for the rare events as, Results  −1  Prz∼S (|r(hs, z)| − µS) σS > β Figure9 shows an example of the training 1 X = 1 −1 , (41) process. The blue dots represent the training error L (h) |r(hs,zi)|σ >β S mS S based on the training data. The red dots represent zi∼S  −1  the generalization error function LD(h), which can Prz∼D (|r(hs, z)| − µD) σD > β (42) 6 be approximated by the test dataset with 10 samples 1 X = 1 −1 , according to the central-limit theorem. In Figure9, both |r(hs,zi)|σ >β mD S zi∼D the training error LS(h) and the generalization error LD(h) follow an oscillatory and exponential decay as where σS and σD denote the standard deviations the number of epochs increases. When the epoch reaches of |r(hs, zi)| in the training set S and test set D, 600 and we stop the training process, the final training respectively, mS and mD denote the total number of

11 samples in the training set and test set, respectively, and increasing the size of training data can decrease the 1x>β is the indicator function. generalization error. We use the same test set of the size 6 Figure 10 shows the probabilities when 10 to represent the true distribution D and choose nine different training sets of sizes m ranging from 2 × 104 |r(hs, zi)| lies outside of the range [µ − βσ, µ + βσ] to 4.8 × 105. For the small training set case (m = 2 × against different β for both the training set (blue line 4 —–) and the test set (orange line —–). The green dashed 10 ), overfitting the training set is observed because the training error continues decreasing while the test error line shows the results√ of a normal distribution, where Pr = 1 − erf(β/ 2). The tails of the distributions is stabilized. Even though in the late training process for both the training set S and the test set D are there are large gaps between the training error and test exponentially bounded and are much heavier than the error, overfitting does not affect the generalization of the tail of a normal distribution. For a normal distribution, algorithm (Kalimeris, et al., 2019). Figure 11 shows the probability Pr of an event that its normal deviate the dependency of the generalization error LD(h) on the lies out of the range µ − βσ ≤ r ≤ µ + βσ is below size of training set m. The initialization of weights and 10−6 when β = 5. However, such probabilities with biases satisfies the same normal distribution N (0, 0.03) β > 5 for the training set and test set are much larger, for different cases. All the training sets are trained indicating that an extremely rare event is more likely to by the back-propagation method with a total of 600 occur in the current deduction problem. For the training epochs. Then we evaluate the generalization error of set of the size 5 × 105, we observe that there is one each training set on the same large test set with m = 106. Both axes in Figure 11 are in the logarithmic sample satisfying ||r(hs, z)| − µS| > 35σS, which gives −1.1 the probability Pr = 2 × 10−6. This extremely rare scale, and a power-law relationship LD(h) ∼ m event is expected to occur because the loss function is found. This phenomenon supports the argument that for the regression is the mean square error, which only increasing the training set size is helpful to obtain a evaluates the error in an average sense over the entire smaller generalization error, yet the trade-off between data. We also note that the distribution tail of the test the expected generalization error and computational set is heavier than the tail of the training set. This result cost still needs to be considered. From this study, is reasonable because we do not access any samples in the tendency of the effect of the training size on the the test set during the training process. The tail for generalization error provides a guidance for choosing a the test set decays as exp(−β), which still supports suitable training-set size in engineering applications. the generalization of the machine learning algorithm to the entire distribution D. Inevitably, there is still a relatively low possibility that some samples may have large generalization errors. 10-3 ) h 0 ( 10 −1 D Prz ∼ S[ |(|r(hs,z)|−μS)σS | >β] L Pr [ |(|r(h ,z)|−μ )σ−1| >β] 10-1 z ∼ D s D D Prξ ∼N(0, 1)[ |ξ| >β] 10-2

-4 -3 10 Pr 10 2 × 104 4 × 104 8 × 104 1.6 × 105 3.2 × 105 10-4 m

10-5 Figure 11: Dependency of the generalization error -6 10 LD(h) on the size of training set m. 0 10 20 30 β

Figure 10: Probability of rare events. In the present study, we consider the linear dispersive properties of water waves and constraint the function space of current velocity. These assumptions In the above discussions, we have shown that a can benefit us to fast generate a large dataset with sufficiently extensive training dataset can allow extreme IID samples. The total number of grid points in events to occur, but this does not mean that increasing the test dataset is over 1 billion. The idea of the size of training data is an improper option. Next, artificial neural networks has been proposed over several we investigate the effect of size m of the training decades. However, with the boost of computing powers, set on the generalization error LD(h), and show that deeper and wider networks are revealing a promising

12 capability to deal with complex tasks. For example, ACKNOWLEDGEMENTS the Generative Pre-trained Transformer 3 (GPT-3), a 175 billion parameter autoregressive language model, Some of the results were obtained from the support by was trained using a dataset with roughly 400 billion the Advanced Naval Platforms Division of the Office byte-pair-encoded tokens and GPT-3 shows that scaling of Naval Research through the project “Simulation up the sizes of network models and datasets significantly Interface between Marine Environment and Sea improves the task performance (Brown, et al., 2020). Platforms” (N00014-19-1-2139) managed by Dr. Peter Our present study evaluates the pointwise prediction Chang. error of a trained deep neural network in a statistical aspect and investigates the effect of training-data size REFERENCES on the task performance in a large test dataset. We address the necessity of statistical accuracy evaluation Adler, J. and Oktem,¨ O., “Solving ill-posed inverse of the trained network and the trade-offs between problems using iterative deep neural networks,” Inverse the precision of network models and the computing Problems, Vol. 33, No. 12, 2017, p. 124007. cost in the training process. Our further study will focus on the generalization of present machine-learning Bertsekas, D. P., “Incremental least squares methods approach to study interactions between two-dimensional and the extended Kalman filter,” SIAM Journal on broadband waves and arbitrarily-distributed current field Optimization, Vol. 6, No. 3, 1996, pp. 807–822. and deduce the underneath current motions based on observations of surface waves. Brown, T. B., Mann, B., Ryder, N., Subbiah, M., Kaplan, J., Dhariwal, P., Neelakantan, A., Shyam, CONCLUSIONS P., Sastry, G., Askell, A., Agarwal, S. and others, “Language models are few-shot learners,” arXiv In this study, we have performed direct phase-resolved preprint arXiv:2005.14165, 2020. wave simulations under complex ocean-current conditions, and numerically investigated the effects Crombie, D. D., “Doppler spectrum of sea echo at of horizontally-sheared current and vortical flow on 13.56 Mc./s.,” Nature, Vol. 175, No. 4459, 1955, pp. broadband surface waves. The simulations capture 681–682. the spatial variations of ocean-wave roughness caused Dommermuth, D. G. and Yue, D. K. P., “A high-order by the influence of a spatially-varying current field. spectral method for the study of nonlinear gravity The local changes of wave steepness owing to waves,” Journal of Fluid Mechanics, Vol. 184, 1987, wave–current interactions are quantitatively explained pp. 267–288. with existing theories. We have also developed a deep-learning framework to inversely deduce the Duraisamy, K., Iaccarino, G. and Xiao, H., “Turbulence current field based on the temporal-spatial discrete modeling in the age of data,” Annual Review of Fluid wave data. Without any a priori physics-based Mechanics, Vol. 51, 2019, pp. 357–377. knowledge, the machine-learning algorithm can recover the interactions between one-dimensional broadband Fernandez, D. M., Vesecky, J. F. and Teague, C., waves and vertically-sheared current. The capabilities “Measurements of upper ocean surface current shear of a machine-learning algorithm on minimizing errors with high-frequency radar,” Journal of Geophysical in the training dataset and its generalization error Research: Oceans, Vol. 101, No. C12, 1996, pp. on the test dataset are examined. The distribution 28615–28625. of the deviation of the predictions from the actual ocean-current profile over the entire dataset is analyzed. Fu, T. C., O’Shea, T. T., Judge, C. Q., Dommermuth, It is found that the distribution of the deviation is not D. G., Brucker, K. A. and Wyatt, D. C., “A detailed normal and its tail decays only exponentially. The assessment of numerical flow analysis (NFA) to power-law dependency of the generalization error on the predict the hydrodynamics of a deep–V planing hull,” training-data size is observed via numerical experiments. International Shipbuilding Progress, Vol. 60, No. 1, The results presented in this work show that high-fidelity 2013, pp. 143–169. simulation methods and the deep-learning-based inverse modeling approach are promising for applications in Glorot, X., Bordes, A. and Bengio, Y., “Deep naval hydrodynamics research. sparse rectifier neural networks,” Proceedings of the Fourteenth International Conference on Artificial Intelligence and Statistics, 2011, pp. 315–323.

13 Ha, E.-H., “Remote sensing of ocean surface current measurements,” Journal of Geophysical Research: and current shear by HF backscatter radar,” Stanford Oceans, Vol. 124, No. 12, 2019, pp. 8832–8851. Electronics Laboratory, 1979. Somero, R., Basovich, A. and Paterson, E. G., Hasselmann, K., Barnett, T. P., Bouws, E., Carlson, H., “Structure and persistence of ship wakes and the role of Cartwright, D. E., Enke, K., Ewing, J. A., Gienapp, Langmuir-type circulations,” Journal of Ship Research, H., Hasselmann, D. E., Kruseman, P. and others, Vol. 62, No. 4, 2018, pp. 241–258. “Measurements of wind-wave growth and decay during the Joint North Sea Wave Project (JONSWAP),” Wang, J., Ma, Q. and Yan, S., “A fully nonlinear Erganzungsheft¨ , 1973, pp. 8-12. numerical method for modeling wave–current interactions,” Journal of Computational Physics, Kalimeris, D., Kaplun, G., Nakkiran, P., Edelman, B., Vol. 369, 2018, pp. 173–190. Yang, T., Barak, B. and Zhang, H., “SGD on neural networks learns functions of increasing complexity,” West, B. J., Brueckner, K. A., Janda, R. S., Milder, Advances in Neural Information Processing Systems, D. M. and Milton, R. L., “A new numerical method 2019, pp. 3491–3501. for surface hydrodynamics,” Journal of Geophysical Research: Oceans, Vol. 92, No. C11, 1987, pp. LeCun, Y., Bengio, Y. and Hinton, G., “Deep learning,” 11803–11824. Nature, Vol. 521, No. 7553, 2015, pp. 436. Weymouth, G. D. and Yue, D. K. P., “Conservative Li, T. and Shen, L., “Safe zone for phase-resolved Volume-of-Fluid method for free-surface simulations simulation of interactions between waves and vertically on Cartesian-grids,” Journal of Computational Physics, sheared currents,” Applied Mathematics Letters, Vol. Vol. 229, No. 8, 2010, pp. 2853–2865. 104, 2020, pp. 106272. Xiao, W., Liu, Y., Wu, G. and Yue, D. K. P., “Rogue Longuet-Higgins, H. C., “Integral properties wave occurrence and dynamics by direct simulations of periodic gravity waves of finite amplitude,” of nonlinear wave-field evolution,” Journal of Fluid Proceedings of the Royal Society of London. A. Mechanics, Vol. 720, 2013, pp. 357—392. Mathematical and Physical Sciences, Vol. 342, No. 1629, 1975, pp. 157–174. Xuan, A. and Shen, L., “A conservative scheme for simulation of free-surface turbulent and wave flows,” Longuet-Higgins, M. S., “The effect of non-linearities Journal of Computational Physics, Vol. 378, 2019, pp. on statistical distributions in the theory of sea waves,” 18–43. Journal of Fluid Mechanics, Vol. 17, No. 3, 1963, pp. 459–480. Yang, Z., Deng, B.-Q. and Shen, L., “Direct numerical simulation of wind turbulence over breaking waves,” Longuet-Higgins, M. S. and Stewart, R. W., “The Journal of Fluid Mechanics, Vol. 850, 2018, pp. changes in amplitude of short gravity waves on steady 120–155. non-uniform currents,” Journal of Fluid Mechanics, Vol. 10, No. 4, 1961, pp. 529–549. Zakharov, V. E., “Inverse and direct cascade in the wind-driven surface and Nwogu, O. G., “Interaction of finite-amplitude waves wave-breaking,” Breaking Waves, 1992, pp. 69–91. with vertically sheared current fields,” Journal of Fluid Mechanics, Vol. 627, 2009, pp. 179–213.

Peregrine, D. H. and Thomas, G. P., “Finite-amplitude deep-water waves on currents,” Philosophical Transactions of the Royal Society of London. Series A, Mathematical and Physical Sciences, Vol. 292, No. 1932, 1979, pp. 371–390.

Shalev-Shwartz, S. and Ben-David, S., “Understanding machine learning: From theory to algorithms,” Cambridge University Press, 2014.

Smeltzer, B. K., Æsøy, E., Adnøy,˚ A. and Ellingsen, S. A.,˚ “An improved method for determining near-surface currents from wave dispersion

14