1 Introduction
Since the early 1990s, a number of alternative Boussinesq-type formulations have been derived in order to improve the range of applicability of linear and nonlinear properties embedded in the equations. In the beginning, the main focus was on the improvement of the embedded linear dispersion relation and this was achieved either by applying appropriate linear operators to the continuity and momentum equations (see e.g. Madsen, Murray & Sørensen (Reference Madsen, Murray and Sørensen1991); Madsen & Sørensen (Reference Madsen and Sørensen1992)), by choosing appropriate velocity variables such as the horizontal velocity vector at mid-depth (see e.g. Nwogu (Reference Nwogu1993)), or by a combination of both techniques (see e.g. Madsen & Schäffer (Reference Madsen and Schäffer1998)). Later, developments focused on improving the embedded nonlinear properties such as the transfer functions for sub-harmonic and super-harmonic interactions, and this was typically achieved by allowing the nonlinear scaling parameter to be of order one, thus retaining nonlinear dispersive terms in the formulations (see e.g. Wei et al. (Reference Wei, Kirby, Grilli and Subramanya1995); Madsen & Schäffer (Reference Madsen and Schäffer1998); Gobbi, Kirby & Wei (Reference Gobbi, Kirby and Wei2000)). In addition, some formulations also introduced a parameter optimization of self–self interaction terms (see e.g. Kennedy et al. (Reference Kennedy, Kirby, Chen and Dalrymple2001); Lynett & Liu (Reference Lynett and Liu2004)). Despite these efforts, the general trend was that nonlinear properties were far less accurate than linear properties.
Agnon, Madsen & Schäffer (Reference Agnon, Madsen and Schäffer1999) were the first to present a Boussinesq formulation, which incorporated the same accuracy in nonlinear properties as in linear properties. Their procedure was based on an exact formulation of the boundary conditions at the free surface combined with an approximate solution to the Laplace equation given in terms of truncated Taylor series expansions, with variables being the vertical ($w_{0}$) and horizontal ($u_{0}$) velocity components defined at the expansion level $z_{0}=0$. A relatively high-order connection between $w_{0}$ and $u_{0}$ was obtained by invoking a separate Padé enhancement of the kinematic bottom condition. Using a threshold of 2 % error in the squared linear celerity, the resulting formulation was applicable up to $kh=6.2$ ($k$ being the wavenumber and $h$ the water depth).
Madsen, Bingham & Liu (Reference Madsen, Bingham and Liu2002) and Madsen, Bingham & Schäffer (Reference Madsen, Bingham and Schäffer2003) generalized this procedure to expand with fifth-order operators from an arbitrary vertical level $z_{E}$ (typically chosen to be the mid-depth, inspired by Nwogu (Reference Nwogu1993)) and by introducing pseudo-velocity variables $w_{E}$ and $u_{E}$ to achieve Padé approximations at the sea bottom as well as at the still-water level. Using the threshold defined above, the resulting formulation was applicable up to $kh\simeq 26$. In addition, the formulation incorporated highly accurate velocity profiles accurate up to approximately $kh\simeq 12$ (analysed in detail by Madsen & Agnon (Reference Madsen and Agnon2003)). Two different formulations were presented: a so-called two-step Taylor–Padé formulation with highly accurate nonlinear properties and a one-step Padé formulation with slightly less accurate nonlinear properties.
Note that all Boussinesq formulations described above are based on a single-layer description expressed in terms of velocity variables ($w_{E}$, $u_{E}$) or just $u_{E}$ defined at the expansion level $z_{E}$. Alternatively, Lynett & Liu (Reference Lynett and Liu2004) proposed a two-layer formulation with separate velocity polynomials within the layers and with additional interface conditions. The intention was to achieve relatively high accuracy, while allowing for lower-order operators in each layer. Using the threshold defined above, the resulting formulation was applicable up to $kh\simeq 6.8$. Later, two-layer models were also proposed by e.g. Chazel et al. (Reference Chazel, Benoit, Ern and Piperno2009) and Liu & Fang (Reference Liu and Fang2016). Recently, Liu, Fang & Cheng (Reference Liu, Fang and Cheng2018) presented a multi-layer approach which combines the techniques of Madsen et al. (Reference Madsen, Bingham and Liu2002) and Lynett & Liu (Reference Lynett and Liu2004): within each layer a velocity profile is expanded from mid-depth of the layer $z_{n}$, and it is expressed in terms of the pseudo-velocity variables $w_{n}$ and $u_{n}$ to achieve Padé approximations at the sea bottom, at each of the interfaces and at the still-water level. In addition to the exact boundary conditions at the free surface and at the sea bottom, interface conditions are added to secure continuity of $w_{n}$ and $u_{n}$. The formulation is very transparent and the method is highly accurate: based on the threshold defined above, the formulations are applicable up to $kh\simeq 10$, $62$, $277$ and $938$ for the one-layer, two-layer, three-layer and four-layer formulations invoking third-order operators within each layer.
From the very beginning, the motivation for improving the linear and nonlinear properties in classical Boussinesq formulations has been to study the evolution and transformation of irregular wave trains over complex bathymetry. In general, this has indeed been achieved by the capacity incorporated in many of the formulations mentioned above. Unfortunately, now and then ‘mysterious’ blowups occur and we have typically noticed that these blowups happen in connection with instabilities originating in the troughs of the wave train whenever the Nyquist wavenumber is relatively high i.e. when the spatial resolution is relatively fine. This problem has perplexed the authors for some time. The present work presents a novel analysis of this problem in connection with a variety of the formulations mentioned above. Furthermore, we systematically verify the presence of analytical instabilities by making numerical spectral simulations under controlled conditions.
The exact equations for the water wave problem are specified in § 2. The modern formulations by Agnon et al. (Reference Agnon, Madsen and Schäffer1999), Madsen et al. (Reference Madsen, Bingham and Liu2002) and Liu et al. (Reference Liu, Fang and Cheng2018) are analysed and numerically checked in §§ 3–5, respectively. Section 6 provides a new method to move or remove the trough instabilities. Older Boussinesq formulations are discussed in § 7, and finally § 8 discusses the option of Taylor expansions combined with exact linear dispersion relevant for the classical higher-order-spectral methods. Summary and conclusions are given in § 9.
2 Exact equations for the water wave problem
A Cartesian coordinate system is adopted with the $x$-axis and $y$-axis located on the still-water plane and with the $z$-axis pointing vertically upwards. The fluid domain is generally bounded by the sea bed at $z=-h[x,y]$ and by the free surface at $z=\unicode[STIX]{x1D702}[x,y,t]$. Assuming irrotational flow, the velocity potential $\unicode[STIX]{x1D6F7}$ is related to the velocity components by the definition
where $\unicode[STIX]{x1D735}$ is the two-dimensional gradient operator defined by
Next, we introduce the surface variables $\boldsymbol{u}_{s}\equiv (\unicode[STIX]{x1D735}\unicode[STIX]{x1D6F7})_{z=\unicode[STIX]{x1D702}}$, $w_{s}\equiv (\unicode[STIX]{x1D6F7}_{z})_{z=\unicode[STIX]{x1D702}}$ and $\unicode[STIX]{x1D6F7}_{s}\equiv (\unicode[STIX]{x1D6F7})_{z=\unicode[STIX]{x1D702}}$ by which the exact kinematic surface condition reads
The exact dynamic surface condition can be expressed as
see e.g. Zakharov (Reference Zakharov1968) and Dommermuth & Yue (Reference Dommermuth and Yue1987). Alternatively, we may take the $\unicode[STIX]{x1D735}$ gradient of (2.4), which leads to the velocity vector equation considered by, for example, Witting (Reference Witting1984), Agnon et al. (Reference Agnon, Madsen and Schäffer1999) and Madsen et al. (Reference Madsen, Bingham and Liu2002):
where
Note that (2.3) together with either (2.4) or (2.5) define the fully nonlinear time-stepping problem. Within each time step, we need to establish a connection between the vertical and horizontal velocities at the free surface (the so-called Dirichlet–Neumann problem), and this requires that we solve the Laplace equation in the interior of the domain. An exact infinite series solution to this problem reads
where ($\boldsymbol{u}_{0}$, $w_{0}$) are defined at the still-water level $z_{0}=0$ (see e.g. Madsen & Schäffer (Reference Madsen and Schäffer1998); Agnon et al. (Reference Agnon, Madsen and Schäffer1999)).
Throughout the rest of this paper, we shall ignore motions in the $y$-direction and consider a constant water depth for simplicity. In this case, the kinematic bottom condition reads
and $\unicode[STIX]{x1D735}$ simplifies to
3 The formulation by Agnon et al. (Reference Agnon, Madsen and Schäffer1999)
3.1 The approximate solution to the Laplace equation
Agnon et al. (Reference Agnon, Madsen and Schäffer1999) truncated (2.7)–(2.9) at fifth order, by which the velocity field and the associated velocity potential simplified to
In order to satisfy the kinematic bottom condition (2.10), they utilized (3.2) with $z=-h$, but Padé enhanced the resulting equation to obtain
Finally, the connection to the surface variables was established by using (3.1)–(3.3) with $z=\unicode[STIX]{x1D702}$, leading to
It should be noted that Agnon et al. (Reference Agnon, Madsen and Schäffer1999) actually only considered a fourth-order connection in (3.5)–(3.7), i.e. they did not include the terms proportional to $\unicode[STIX]{x1D6FB}^{5}$. In the following, however, we shall analyse both the fifth-order and the fourth-order formulations.
3.2 Analysis of the embedded linear dispersion relation
The linear dispersion relation embedded in the formulation by Agnon et al. (Reference Agnon, Madsen and Schäffer1999) is analysed by looking for harmonic solutions of the form
where $\unicode[STIX]{x1D700}\ll 1$. First of all, equation (3.4) directly leads to the connection
with
Second, by inserting (3.8) into (3.5)–(3.6) and collecting terms of order $O(\unicode[STIX]{x1D700})$, we obtain the leading-order approximations $u_{s}\simeq u_{0}$, $w_{s}\simeq w_{0}$, while (2.6) leads to $V_{s}\simeq u_{0}$. Consequently (2.3) and (2.5) lead to the homogeneous problem
with
The homogeneous problem requires the determinant of the matrix in (3.11) to be zero, and this leads to the dispersion relation
Using a threshold of 2 % error compared to the fully dispersive target, equation (3.13) turns out to be applicable up to $kh=6.2$.
3.3 Numerical implementation on a constant depth
From our experience with modelling nonlinear regular and irregular waves, it appears that ‘mysterious’ numerical blowups can originate in relatively deep troughs of the overall surface elevation whenever the Nyquist wave number is high. In order to demonstrate this problem, we first implement a spectral model solving the equations by Agnon et al. (Reference Agnon, Madsen and Schäffer1999) on a constant depth. The time stepping of (2.3)–(2.4) is based on a fourth-order Runge–Kutta method, and all spatial derivatives are handled by spectral representations involving a toggling from physical space to Fourier space and back into physical space by using fast Fourier transforms. We represent the solution in $k$-space by considering $N$ discrete wavenumbers ($k_{j}=j\unicode[STIX]{x0394}k$, with $j=1,2,\ldots ,N$) and $N_{x}=2N$ grid points ($x_{i}=i\unicode[STIX]{x0394}x$, with $i=1,2,\ldots ,N_{x}$). The Nyquist wavenumber is determined by $k_{N}=\unicode[STIX]{x03C0}/\unicode[STIX]{x0394}x$.
Within each of the four sub-time steps in the Runge–Kutta procedure, we need to determine $w_{s}$ on the basis of ($\unicode[STIX]{x1D702}$, $\unicode[STIX]{x1D6F7}_{s}$) known at all grid points. First, $(\unicode[STIX]{x1D6F7}_{0},u_{0},w_{0})$ are described by
with $a_{N}\equiv 0$. Second, equation (3.7) is satisfied in each grid point, which leads to $2N$ linear equations with the unknowns $a_{j}$ and $b_{j}$ for $j=1,2,\ldots ,N$. This problem is solved in Mathematica by invoking the linear matrix solver LinearSolve. Finally, $w_{s}$ is determined using (3.6).
With the numerical model at hand, we first make a simulation of a standing wave problem defined by the initial conditions
with amplitude $\unicode[STIX]{x1D707}=0.05$, water depth $h=1$ m and domain size $L=2\unicode[STIX]{x03C0}$. The spectral and numerical resolution for this simulation is chosen as
with the time step $\unicode[STIX]{x0394}t\,=\,0.04$ s corresponding to a Courant number $C_{r}\,\equiv \,\unicode[STIX]{x0394}t\,\sqrt{gh}/\unicode[STIX]{x0394}x\,=0.4$. This simulation runs for $500$ time steps (approximately ten wave periods) without showing any signs of instability.
Then, to illustrate the problem of trough instabilities, we maintain the same initial conditions as above, but change the spectral and numerical resolution to
with the time step of $\unicode[STIX]{x0394}t=0.01$ s leading again to $C_{r}=0.4$. This time the simulation starts to go unstable after approximately $89$ time steps (shown as the black curve in figure 1). It is obvious that the instability evolves from the trough of the wave. After $95$ time steps (shown as the red curve in figure 1), the instability has expanded to the complete profile and soon after the simulation blows up. It appears that the value of $k_{N}h$ is important for the instability just observed.
In order to study the trough instability in more detail, we modify the initial conditions to
where $\unicode[STIX]{x1D6FF}=-0.05$, $\unicode[STIX]{x1D707}=0.005$ and $h=1~\text{m}$. This represents a perturbation, having amplitude ten times smaller than the previous wave and which runs with a negative offset $\unicode[STIX]{x1D6FF}$ equal to the trough of the previous wave. Again the numerical set-up is given by (3.19). As shown in figure 2, this simulation starts to go unstable after approximately $60$ time steps. It is, however, possible to spot the growing instability at a much earlier stage by monitoring the complex $k$-spectrum of the surface elevation (shown in figure 3 after $40$ time steps). The horizontal axis is $k_{j}h$ with $j=1,2,\ldots ,N$. The spectrum shows very clearly that an instability is evolving at $k_{j}h=18$. With this procedure, we are now able to detect the critical wavenumbers for any value of $\unicode[STIX]{x1D6FF}$. This will be utilized in the following sections.
3.4 Analysis of trough instabilities
A simple analysis of the trough instability illustrated in figures 1–3 can be conducted by modifying (3.8) to
where $\unicode[STIX]{x1D6FF}h$ represents the trough of the overall wave train, while the harmonic variation represents a small short wave disturbance with $\unicode[STIX]{x1D700}\ll 1$. Note that, although this analysis may appear to be linear, it is in fact nonlinear in the sense that it focuses on small disturbances occurring in the trough of surrounding finite amplitude waves (represented by the offset $\unicode[STIX]{x1D6FF}h$). The offset $\unicode[STIX]{x1D6FF}$ is assumed to be order $O(1)$ and we consider the interval $-1\leqslant \unicode[STIX]{x1D6FF}\leqslant 0$. On this basis, we shall conduct an analysis to order $O(\unicode[STIX]{x1D700})$ of the nonlinear governing equations.
Note that by inserting (3.21) into (3.5)–(3.7) and collecting terms of order $O(\unicode[STIX]{x1D700})$, all powers of $\unicode[STIX]{x1D702}$ will contribute to the $O(\unicode[STIX]{x1D700})$-terms. As a consequence we obtain a homogeneous problem similar to (3.11), but with different $m_{12}$ and $m_{22}$ coefficients defined by
As mentioned earlier, Agnon et al. (Reference Agnon, Madsen and Schäffer1999) used a fourth-order rather than a fifth-order connection in (3.5)–(3.7), which implies that the $\unicode[STIX]{x1D705}^{5}$-terms in (3.22)–(3.23) vanish.
First, we focus directly on the resulting expression for the linear celerity, which is again determined from the determinant of the matrix in (3.11). It turns out that it is now prone to singularities for specific values of $\unicode[STIX]{x1D6FF}$. We determine $\unicode[STIX]{x1D6FF}$ as a function of $\unicode[STIX]{x1D705}$ for which the inverse of the celerity goes to zero, and the solutions are shown as the full (orange) lines in figure 4 (for the fourth-order connection) and in figure 5 (for the fifth-order connection).
Second, we focus on a stability analysis in terms of the variables $\unicode[STIX]{x1D702}$ and $u_{0}$. This can be formulated as the following algebraic problem:
where the left-hand side represents the time derivatives of $\unicode[STIX]{x1D702}$ and $u_{0}$. Instabilities will occur if the $n-$matrix contains eigenvalues with imaginary parts. It is straightforward to rewrite (3.11) to the form of (3.24) and we then obtain
The $\unicode[STIX]{x1D6FF}$-regions associated with imaginary eigenvalues are shown as the grey areas in figures 4 and 5. Within these areas instabilities can occur, but the full lines determined from the zeros of the inverse celerities indicate the strongest growth rates. The trend is that the trouble zone gets closer and closer to the still-water level ($z=0$) for increasing values of $kh$. In this connection it should be emphasized that for a given numerical simulation, it is the Nyquist wavenumber that really matters, since all resolved wavenumbers must be stable to avoid instability. This will typically be orders of magnitude larger than the wavenumbers representing the physical wave train at hand, since accurate simulations require good spatial resolution.
In order to verify and confirm the validity of the stability analysis, we again run the spectral model discussed in the previous section. The set-up follows (3.20) with (3.19), and we generally use $\unicode[STIX]{x1D707}=$$0.005$ while varying the offset $\unicode[STIX]{x1D6FF}$. In each simulation, the $k$-spectrum of $\unicode[STIX]{x1D702}$ is monitored, and this clearly indicates if the simulation is stable, or unstable and at which wavenumber the instability is provoked. Figures 4 and 5 include the numerical results presented in the following way: (i) a stable simulation is illustrated by an open circle, and for this case we choose to locate the open markers at the Nyquist wavenumber; (ii) a simulation which blows up or which has a significant growth occurring at some of the discrete wavenumbers is illustrated by filled circles. These are located at the discrete wavenumber showing the largest growth (e.g. $k_{j}h=18$ as seen in figure 3). We notice from figures 4 and 5 that these markers generally fall on the theoretical curves representing the strongest growth rate in the instability. Hence, there is generally a very good agreement between the theory and the numerical simulations.
From the investigations presented in this section, we conclude that if the deepest trough of the free surface ($\unicode[STIX]{x1D702}_{min}/h$) and the spatial resolution ($k_{N}h$) are such that they fall within the unstable (grey) regions (e.g. figures 4 and 5), the numerical model will be prone to trough instabilities. This result is based on analysis of the governing equations i.e. it is independent of time step, time-stepping scheme and the numerical method used to approximate spatial derivatives.
4 The one-step and two-step formulations by Madsen et al. (Reference Madsen, Bingham and Liu2002)
4.1 The approximate solutions to the Laplace equation
In this section, we consider the Boussinesq formulations developed by Madsen et al. (Reference Madsen, Bingham and Liu2002). We focus on the fifth-order formulations expressed in a single horizontal dimension. First of all, the following Padé enhanced velocity formulation is applied
where ($u_{E},w_{E},\unicode[STIX]{x1D6F7}_{E}$) are pseudo-variables defined at the expansion level $z_{E}=-h/2$ and where the $\unicode[STIX]{x1D6FC}-$ and $\unicode[STIX]{x1D6FD}-$ coefficients are defined by
This velocity field is far more accurate than the one proposed by Agnon et al. (Reference Agnon, Madsen and Schäffer1999), but it should be mentioned that (4.1)–(4.8) only provide genuine Padé properties at the sea bottom $z=-h$ and at the linearized free surface $z=0$. Madsen & Agnon (Reference Madsen and Agnon2003) derived a more advanced velocity formulation with the objective of achieving Padé velocity properties throughout the interval $-h\leqslant z\leqslant 0$, but without improving the fundamental linear and nonlinear properties of the system.
Madsen et al. (Reference Madsen, Bingham and Liu2002) considered two different formulations: a so-called one-step Padé formulation where (4.1)–(4.8) are applied within the entire water body $-h\leqslant z\leqslant \unicode[STIX]{x1D702}$, and a so-called two-step Taylor–Padé formulation where (4.1)–(4.8) are applied within the interval $-h\leqslant z\leqslant 0$, while (3.1)–(3.3) are applied within the dynamic top region $0\leqslant z\leqslant \unicode[STIX]{x1D702}$.
In both methods, the kinematic bottom condition (on a constant depth) reads
which is obtained by using $z=-h$ in (4.4)–(4.8), while requiring that $w[x,-h,t]=0$.
For the two-step method, it is also relevant to determine the still-water variables by utilizing (4.1)–(4.8) with $z=0$, which leads to
These expressions are then combined with (3.1)–(3.3) to provide the surface variables. In contrast, the surface variables in the one-step method are obtained directly from (4.1)–(4.8) with $z=\unicode[STIX]{x1D702}$.
4.2 Analysis of the embedded linear dispersion relation
The linear properties of the two-step and one-step formulations are identical. Again, we follow the procedure described in § 3.2 and look for harmonic solutions of the form of (3.8). Additionally, we describe the pseudo-velocities by
Now, equation (4.9) directly leads to the connection
with
Next, we utilize (4.10)–(4.11) to establish the connection
where
The resulting linear celerity is again given by (3.13) which is now combined with (4.16). As a result, we conclude that the linear dispersion relation is applicable up to $kh=25.8$ based on a threshold of 2 % error compared to the fully dispersive target.
4.3 Instability analysis of the two-step method and its numerical verification
Having established the spectral connection between $w_{0}$ and $u_{0}$ in terms of (4.15)–(4.16), the instability analysis of the two-step Taylor–Padé formulation now follows the procedure from § 3.3 very closely. As a result, we again obtain (3.11) with $m_{11}=1$ and $m_{21}=-gk$, while ($m_{12}$, $m_{22}$) are given by (3.22)–(3.23) with $F_{0}[\unicode[STIX]{x1D705}]$ determined by (4.16). The stability analysis leads to (3.24) with ($n_{11}$, $n_{12}$, $n_{21}$, $n_{22}$) defined by (3.25).
The numerical implementation of the two-step method is done in the following way: as described in § 3.4, we time step (2.3)–(2.4) by the fourth-order Runge–Kutta method. Within each of the four sub-time steps, we need to determine $w_{s}$ on the basis of ($\unicode[STIX]{x1D702}$, $\unicode[STIX]{x1D6F7}_{s}$) known at all grid points. Typically, this procedure would involve the variables ($u_{E}$, $w_{E}$) as well as ($\unicode[STIX]{x1D6F7}_{0}$, $u_{0}$, $w_{0}$) and equations (3.1)–(3.3) and (4.10)–(4.9). However, by solving the problem in the spectral domain, we can utilize the connection between $u_{0}$ and $w_{0}$ established in (4.15)–(4.16). With this shortcut, the implementation is fundamentally identical to what was described in § 3.4, and all we need to do is to insert the new expression for $F_{0}[\unicode[STIX]{x1D705}]$ defined by (4.16).
Figure 6 shows the instability analysis compared to the numerical simulations. Again, the $\unicode[STIX]{x1D6FF}-$regions associated with imaginary eigenvalues are shown as the grey areas, while the full lines represent the zeros of the inverse celerities and define the strongest growth rates. The open circles indicate that the numerical simulation is stable with the marker placed at the Nyquist wavenumber, while the filled circles indicate that a significant growth takes place at the wavenumber $kh$ corresponding to the location of this marker. With the chosen Nyquist wavenumber of $k_{N}h=40$, solutions are stable for $\unicode[STIX]{x1D6FF}\geqslant -0.03$ and unstable within the interval of $-0.12\leqslant \unicode[STIX]{x1D6FF}\leqslant -0.04$. Within the interval $-0.07\leqslant \unicode[STIX]{x1D6FF}\leqslant -0.04$, the instabilities occur at the Nyquist wavenumber, but within $-0.12\leqslant \unicode[STIX]{x1D6FF}\leqslant -0.08$ instabilities occur at smaller wavenumbers, and the markers can be seen to follow the full line representing the strongest growth rates. Finally, we notice that for $\unicode[STIX]{x1D6FF}\leqslant -0.13$, all simulations are again stable. The reason is that the line of instability is very thin in this region, and it has not been triggered with the chosen discrete representation of wavenumbers.
4.4 Instability analysis of the one-step method and its numerical verification
The instability analysis of the one-step formulation will deviate from the two-step analysis, as we now have to expand directly from $z_{E}$ to $z=\unicode[STIX]{x1D702}$ using (4.1)–(4.8). As a result, we formally obtain (3.11) with $m_{11}=1$ and $m_{21}=-gk$, but with
The stability analysis again formally leads to (3.24) with ($n_{11}$, $n_{12}$, $n_{21}$, $n_{22}$) defined by (3.25).
The numerical implementation of the one-step method is slightly different from the previous two cases: within each of the four sub-time steps, we need to determine $w_{s}$ on the basis of ($\unicode[STIX]{x1D702}$, $\unicode[STIX]{x1D6F7}_{s}$) known at all grid points and this procedure now involves the variables ($\unicode[STIX]{x1D6F7}_{E}$, $u_{E}$, $w_{E}$) and equations (4.1)–(4.8). In this procedure, we utilize the connection between $u_{E}$ and $w_{E}$ established in (4.13) and (4.14).
Figure 7 shows the instability analysis compared to the numerical simulations. The pattern is obviously quite different from figure 5. With the chosen Nyquist wavenumber of $k_{N}h=40$, solutions are stable for $\unicode[STIX]{x1D6FF}\geqslant -0.06$. Instabilities show up within the intervals of $-0.13\leqslant \unicode[STIX]{x1D6FF}\leqslant -0.07$ and $-0.27\leqslant \unicode[STIX]{x1D6FF}\leqslant -0.24$ and they typically follow the lines of strongest growth rate. Within the interval $-0.23\leqslant \unicode[STIX]{x1D6FF}\leqslant -0.14$, most simulations are stable, again because the line of instability is very thin in this region. Only for the case of $\unicode[STIX]{x1D6FF}=-0.17$, has the instability line been triggered with the chosen discrete representation of wavenumbers. It should be mentioned that more instability regions appear within the interval $-1\leqslant \unicode[STIX]{x1D6FF}\leqslant -0.35$ (not shown in figure 7).
5 The multi-layer formulations by Liu et al. (Reference Liu, Fang and Cheng2018)
5.1 The approximate solutions to the Laplace equation
Liu et al. (Reference Liu, Fang and Cheng2018) presented a new multi-layer approach which basically extended the techniques of Madsen et al. (Reference Madsen, Bingham and Liu2002) to multiple layers. The formulation was valid on a mildly sloping topography, but in the following we shall summarize and analyse it on a constant depth. Within each layer $i=1,2,\ldots ,M$, a velocity profile is expanded from mid-depth of the layer $z_{i}$ and it is expressed in terms of the pseudo-velocity variables $w_{i}$ and $u_{i}$ to achieve Padé approximations at the sea bottom, at each of the interfaces and at the still-water level. Following Liu et al. (Reference Liu, Fang and Cheng2018) only third-order operators will be invoked, but it is straight forward to increase the order of these operators.
Within each layer the bottom velocities ($u_{i}^{-}$, $w_{i}^{-}$) and the surface velocities ($u_{i}^{+}$, $w_{i}^{+}$) are given by
where $\unicode[STIX]{x1D6FE}_{i}$ are parameters calibrated to obtain optimal performance of the system. Horizontal and vertical velocities are matched at the interfaces between the layers i.e.
Similarly, the condition at the still-water level $z=0$ reads
while the kinematic bottom condition reads
At the free surface, the exact kinematic and dynamic surface conditions are invoked i.e. (2.3) with (2.4) or (2.5). Finally, the free surface variables are connected to the variables at $z=0$ by (3.5)–(3.7) but without the fifth- and fourth-order operators.
5.2 Analysis of the embedded linear dispersion relations
The linear analysis of the multi-layer system follows § 3.4 quite closely i.e. we start by assuming harmonic solutions on the form
First, we utilize (5.5) to establish the connection
with $~$
Next, by considering each of the interface conditions (5.3), we determine ($B_{i-1}$, $C_{i-1}$) in terms of ($B_{i}$, $C_{i}$). Finally from (5.4), we determine ($B_{0}$, $C_{0}$) in terms of ($B_{1}$, $C_{1}$) and obtain
which leads to the linear celerity in combination with (3.13). Obviously, the complexity and accuracy of $F_{0}[\unicode[STIX]{x1D705}]$ quickly increases with the number of layers.
The one-layer formulation is actually similar to the two-step Taylor–Padé formulation by Madsen et al. (Reference Madsen, Bingham and Liu2002) except that third-order operators are applied instead of fifth-order operators. We note that for this special case (5.3) is not invoked. Liu et al. (Reference Liu, Fang and Cheng2018) use the optimized coefficient $\unicode[STIX]{x1D6FE}_{1}=\frac{1}{2}$ and as a result of the linear analysis we obtain
As a result, we conclude that the linear dispersion relation is applicable up to $kh=10$ based on a threshold of 2 % error compared to the fully dispersive target.
In case of the two-layer formulation, the numerator and denominator of $F_{0}[\unicode[STIX]{x1D705}]/\unicode[STIX]{x1D705}$ are tenth-order and twelfth-order polynomials in $\unicode[STIX]{x1D705}$. For this case, Liu et al. (Reference Liu, Fang and Cheng2018) used the optimized coefficients
by which the celerity becomes applicable up to $kh=62$.
In case of the three-layer formulation, the numerator and denominator of $F_{0}[\unicode[STIX]{x1D705}]/\unicode[STIX]{x1D705}$ are $16$th-order and $18$th-order polynomials in $\unicode[STIX]{x1D705}$. For this case, Liu et al. (Reference Liu, Fang and Cheng2018) used the optimized coefficients
by which the celerity becomes applicable up to $kh=277$.
Finally, in case of the four-layer formulation, the numerator and denominator of $F_{0}[\unicode[STIX]{x1D705}]/\unicode[STIX]{x1D705}$ are $22$nd-order and $24$th-order polynomials in $\unicode[STIX]{x1D705}$. For this case, Liu et al. (Reference Liu, Fang and Cheng2018) used the optimized coefficients
by which the celerity becomes applicable up to $kh=938$.
5.3 Instability analysis and its numerical verification
The one-, two-, three- and four-layer formulations by Liu et al. (Reference Liu, Fang and Cheng2018) can all be analysed and numerically implemented like the method of Agnon et al. (Reference Agnon, Madsen and Schäffer1999) described in §§ 3.3 and 3.4. All we need to do is to apply the relevant solution for $F_{0}[\unicode[STIX]{x1D705}]$ describing the spectral connection between $w_{0}$ and $u_{0}$.
Figure 8 shows the instability analysis for the one-layer method compared to the numerical simulations. Obviously, this pattern is similar to the one from figure 5 but the instability zone is larger due to the less accurate linear dispersion relation. With the Nyquist wavenumber at $k_{N}h=40$, the method is stable for $\unicode[STIX]{x1D6FF}\geqslant -0.01$, while instabilities systematically occur within $-0.16\leqslant \unicode[STIX]{x1D6FF}\leqslant -0.02$. Below this limit, the zone of instability becomes very narrow and, as a consequence, instabilities are more sporadic: stable numerical solutions are found for $\unicode[STIX]{x1D6FF}=$$-0.17$, $-0.19$ and $-0.21$, while unstable solutions are found for $\unicode[STIX]{x1D6FF}=-0.18$ and $-0.20$.
Figure 9 shows the instability analysis for the two-layer method compared to the numerical simulations. Notice that, with the much more accurate dispersion relation, the zone of instabilities has moved to much higher values of $kh$ and consequently we have increased the Nyquist wavenumber in the numerical model to $k_{N}h=200$. We notice that the method is stable for $\unicode[STIX]{x1D6FF}\geqslant -0.003$, while instabilities systematically occur within $-0.03\leqslant \unicode[STIX]{x1D6FF}\leqslant -0.004$. Below this limit, the zone of instability becomes very narrow and as a consequence most of the simulations are stable (except for the case of $\unicode[STIX]{x1D6FF}=$$-0.04$).
Figure 10 shows the instability analysis for the three-layer method. Due to the significant improvement of the accuracy of the dispersion relation, the zone of potential instabilities has now moved to $kh>200$. Within the interval of $200\leqslant kh\leqslant 400$, the instability region falls in $-0.008\leqslant \unicode[STIX]{x1D6FF}\leqslant -0.004$ i.e. it is extremely thin. Naturally this trend is further extended when considering the four-layer method as shown in figure 11. Now the zone of instability has now moved to $kh>700$ and within the interval of $700\leqslant kh\leqslant 1200$, the instability region falls in $-0.0038\leqslant \unicode[STIX]{x1D6FF}\leqslant -0.001$.
6 Removing instabilities in the formulations by Madsen et al. (Reference Madsen, Bingham and Liu2002)
In this section we provide a method which can remove or move the instabilities in the various Boussinesq-type formulations discussed in the previous sections. We shall demonstrate the method on the two-step Taylor–Padé formulation by Madsen et al. (Reference Madsen, Bingham and Liu2002), but we emphasize that it is effective for all the formulations discussed in §§ 3–5.
6.1 The approximate solution to the Laplace equation
In the following we generalize the two-step Taylor–Padé formulation by Madsen et al. (Reference Madsen, Bingham and Liu2002) with the objective of removing the instability problems discussed in § 4. The first step is to use a flexible top level $z_{0}$ instead of using the conventional still-water level $z_{0}=0$. This calls for a generalization of the upper Taylor formulation (3.1)–(3.3), which will be expanded from $z_{0}$. At the same time, the lower Padé formulation (4.1)–(4.8) needs to be generalized so that it now provides Padé properties at $z_{0}$ as well as at the sea bottom. Both velocity formulations can be combined into the following fifth-order formulation
where ($u^{+}$, $w^{+}$) are the velocities at $z=z_{0}$, and ($u^{-}$, $w^{-}$) are the pseudo-velocities at $z=z_{1}$. We choose $z_{1}$ to be midway between the sea bottom $z_{b}=-h$ and $z_{0}$, while $z_{2}$ is introduced to represent half the distance from $z_{0}$ to $z_{b}$. Consequently we get
while the generalized velocity coefficients read
The new flexible-two-step formulation simplifies to the original two-step formulation for the conventional choice $z_{0}=0$.
6.2 Instability analysis and its numerical verification
In the following, we look for harmonic solutions of the form
and utilize
First, we determine the connection between $C^{+}$ and $B^{+}$ at $z=z_{0}$ and obtain the result
where $\unicode[STIX]{x1D706}\equiv k(z_{0}-z_{b})=kh(1+\unicode[STIX]{x1D70E})$. This is obviously similar to (4.16).
Second, we determine the coefficients in the homogeneous problem (3.11) and find that $m_{11}=1$, $m_{21}=-gk$, while ($m_{12}$, $m_{22}$) are given by
where $\unicode[STIX]{x1D6FE}\equiv \unicode[STIX]{x1D6FF}-\unicode[STIX]{x1D70E}$ and $\unicode[STIX]{x1D705}\equiv kh$. Obviously, this result is similar to (3.22)–(3.23). This directly leads to the determination of the linear celerity $c$ at the level of $z_{long}$, and we find that $c$ becomes a function of $\unicode[STIX]{x1D70E}$, $\unicode[STIX]{x1D6FF}$ and $\unicode[STIX]{x1D705}$.
Third, the problem of instability is again described by (3.24) with coefficients given by (3.25). Figure 12 shows the outcome of the analysis compared to the corresponding numerical results. Results are shown for $\unicode[STIX]{x1D70E}=-0.05$ (a) and $\unicode[STIX]{x1D70E}=-0.10$ (b). Both should be compared to figure 6, which was made with $\unicode[STIX]{x1D70E}=0$. We conclude that by pushing down the levels of $\unicode[STIX]{x1D70E}$, we also push down the critical values of $\unicode[STIX]{x1D6FF}$. In other words, for decreasing $\unicode[STIX]{x1D70E}$ we can accept lower and lower trough levels of the long waves without triggering the trough instabilities. We can also conclude that, if we choose $\unicode[STIX]{x1D70E}$ to be below the lowest occurring trough level (which corresponds to assuming that $\unicode[STIX]{x1D70E}\leqslant \unicode[STIX]{x1D6FF}$), trough instabilities will never occur in the system. We note that the stability results obtained from the numerical simulations tend to agree with the analytical curves.
Finally, it is of relevance to estimate the relative error of the celerity of the short wave when it travels on the long wave. We define this error by
Figure 13 shows the result for a fixed value of $\unicode[STIX]{x1D70E}=-0.10$, and for $\unicode[STIX]{x1D6FF}$ varying within the interval $-0.10\leqslant \unicode[STIX]{x1D6FF}\leqslant 0.10$ which represents horizontal levels from the trough to the crest of a linear long wave with amplitude $0.10h$. Obviously, equation (6.15) is only a crude estimate of the impact of a long wave on a short wave. A much more comprehensive solution for this problem was given by e.g. Zhang, Hong & Yue (Reference Zhang, Hong and Yue1993).
7 Discussion of older Boussinesq-type formulations
So far, we have analysed and discussed Boussinesq-type formulations which could be termed fully nonlinear in the sense that nonlinear dispersive terms are included. Other formulations of this type are found in, for example, Wei et al. (Reference Wei, Kirby, Grilli and Subramanya1995), Madsen & Schäffer (Reference Madsen and Schäffer1998), Gobbi et al. (Reference Gobbi, Kirby and Wei2000) and Lynett & Liu (Reference Lynett and Liu2004), and they all suffer from the trough instability identified and investigated in this work.
As an example, we analyse the formulation by Wei et al. (Reference Wei, Kirby, Grilli and Subramanya1995) in the following. On a flat bottom and in a single horizontal dimension this can be written in the form
where the nonlinear dispersive terms are given by
and
The expansion level $z_{E}$ is chosen so that $\unicode[STIX]{x1D6FC}=-2/5$ by which the linear dispersion relation becomes a Padé (2,2) expansion which is applicable up to $kh=2.34$ based on a threshold of 2 % error compared to the fully dispersive target. We follow the stability procedure from § 3 and obtain (3.11) with
while $m_{11}$ and $m_{21}$ are given by (3.12). The stability analysis follows (3.24) with (3.25) and the corresponding zones of instability are shown in figure 14. Note that these zones are located relatively deep below the still-water surface (typically for $\unicode[STIX]{x1D6FF}<-0.2$) and unless the Nyquist wavenumber of the simulation is very high, the instability will generally not be triggered.
As an alternative, we may consider the formulation by Nwogu (Reference Nwogu1993) including only linear dispersive terms. This is obtained by setting $\unicode[STIX]{x1D6EC}_{1}=\unicode[STIX]{x1D6EC}_{2}=0$ in (7.1)–(7.2). The embedded linear dispersion relation is the same as in Wei et al. (Reference Wei, Kirby, Grilli and Subramanya1995) but now the coefficients change to
This formulation contains no trough instabilities, and this is a general conclusion for all Boussinesq formulations based on linear dispersive terms. Examples are found in Peregrine (Reference Peregrine1967), Madsen & Sørensen (Reference Madsen and Sørensen1992) and Nwogu (Reference Nwogu1993).
8 Taylor formulations combined with the exact dispersion relation
All Boussinesq-type formulations incorporate an approximate linear dispersion relation, and as we have seen from §§ 3–7, the accuracy of this dispersion relation has a significant influence on the potential zones of instability in ($\unicode[STIX]{x1D6FF}$, $kh$)-space. It is therefore of interest to combine the Taylor series formulations such as (3.1)–(3.3) with the exact relation between $w_{0}$ and $u_{0}$ i.e. utilizing (3.9) with the connection
This corresponds to embedding the exact linear dispersion relation in the system. We analyse fourth-, fifth- and sixth-order Taylor formulations combined with (8.1) and conclude that none of them are prone to trough instabilities.
It should be emphasized that Dommermuth & Yue (Reference Dommermuth and Yue1987) used these Taylor formulations as the starting point for developing their classical high-order-spectral (HOS) method. The key was to invert the relations between the surface variables and the variables at $z=0$ by successive approximations and to derive an explicit expression for $w_{s}$ in terms of ($\unicode[STIX]{x1D702}$, $\unicode[STIX]{x1D6F7}_{s}$). By analysis, we conclude that the classical HOS formulations do not suffer from trough instabilities.
9 Summary and conclusions
In this work, we have analysed Boussinesq-type formulations for instabilities, which may occur in the trough of wave trains in connection with relatively high values of the Nyquist wavenumber. It can be concluded that this type of instability will occur if the formulation incorporates nonlinear dispersive terms and if the embedded linear dispersion relation is not exact. This excludes most of the classical Boussinesq formulations, but includes all of the so-called ‘fully nonlinear’ formulations. The importance of the potential instability depends on the Nyquist wavenumber ($k_{N}h$) and on the level of the deepest trough in the wave train ($\unicode[STIX]{x1D702}_{min}/h$). If these fall into the unstable (grey) regions shown throughout this paper, numerical models will be prone to trough instability.
We emphasize that the linear analysis of trough instabilities performed in this work is in fact nonlinear in the sense that it focuses on small disturbances occurring in the trough of surrounding finite amplitude waves represented by the offset $\unicode[STIX]{x1D6FF}h$ with $\unicode[STIX]{x1D6FF}=$$O(1)$. We also emphasize that the analysis focuses directly on the governing equations, and it is not dependent on the time step, the time-stepping scheme or the way in which spatial derivatives are numerically approximated.
In § 3, we have analysed two versions of the Boussinesq formulation by Agnon et al. (Reference Agnon, Madsen and Schäffer1999), where the Taylor expansion from $z=0$ to $z=\unicode[STIX]{x1D702}$ is truncated at fourth order and at fifth order, respectively. Both versions incorporate a Padé (4,4) linear dispersion relation accurate up to approximately $kh=6$. As shown in figures 4 and 5, trough instabilities may occur for certain levels of the overall wave troughs specified as $\unicode[STIX]{x1D6FF}h$, and the trend is that the trouble zones get closer and closer to the still-water level for increasing values of $k_{N}h$. The validity of the analysis is confirmed by numerical calculations and they are in very good agreement.
In § 4, we have analysed the one-step Padé and the two-step Taylor–Padé formulations by Madsen et al. (Reference Madsen, Bingham and Liu2002, Reference Madsen, Bingham and Schäffer2003). Both versions incorporate a linear dispersion relation accurate up to approximately $kh=26$. As shown in figures 6 and 7, trough instabilities may occur in both formulations, and again the trend is that the trouble zones get closer and closer to the still-water level for increasing values of the Nyquist wavenumber. It is, however, also obvious that the unstable (grey) zones in figures 6 and 7 are less pronounced than those in figures 4 and 5 within the same interval of Nyquist wavenumbers. The reason is the much higher accuracy of the embedded linear dispersion relation. Again, we note how the validity of the analysis is confirmed by the numerical calculations.
In § 5, we have analysed the recent multi-layer formulation by Liu et al. (Reference Liu, Fang and Cheng2018). Specifically, we have focused on their one-layer, two-layer, three-layer and four-layer formulations, each incorporating third-order operators. The embedded linear dispersion relations are accurate up to approximately $kh=10$, $62$, $277$ and $938$, respectively. As shown in figures 8–11, these formulations are also prone to trough instabilities. Again, we can conclude that the unstable zones become thinner and less pronounced when the accuracy of the linear dispersion relation is improved.
In § 6, we have shown how the two-step Taylor–Padé formulation can be modified to move or remove the instability zone. The idea is to generalize the velocity formulation so that Padé properties are obtained at the sea bed as well as at the arbitrary top level $z_{0}=\unicode[STIX]{x1D70E}h$. In figure 12, it is shown that by pushing down the level of $\unicode[STIX]{x1D70E}$, we also push down the unstable zone, so that lower and lower trough levels of the wave train can be accepted without triggering trough instabilities. By choosing $\unicode[STIX]{x1D70E}\leqslant \unicode[STIX]{x1D6FF}$ instabilities vanish completely. However, there is a penalty to be paid: The deeper we push $\unicode[STIX]{x1D70E}$, the more inaccurate the linear dispersion relation for the shortest waves will become. This is illustrated in figure 13. The technique demonstrated in § 6 can easily be incorporated in the other Boussinesq formulations discussed in §§ 3–5.
In § 7, we have discussed and analysed two of the popular older Boussinesq formulations from the 1990s: the weakly nonlinear formulation by Nwogu (Reference Nwogu1993), which includes only linear dispersive terms, and the ‘fully nonlinear’ formulation by Wei et al. (Reference Wei, Kirby, Grilli and Subramanya1995), which includes nonlinear dispersive terms. It is found that the fully nonlinear formulation is prone to trough instabilities (see figure 14), while the weakly nonlinear is not.
In § 8, we briefly discuss the option of combining the nonlinear Taylor formulation with the exact linear dispersion relation. This is relevant, because it forms the starting point of HOS perturbation methods as derived by e.g. Dommermuth & Yue (Reference Dommermuth and Yue1987). We conclude that introducing the exact linear dispersion relation removes the problem of trough instability, which is also absent in the HOS formulations.
The present paper has diagnosed a new mechanism which can promote numerical instabilities in numerous modern Boussinesq-type formulations for water waves. This problem has perplexed the authors for some time. We hope the analysis of and the solution to this problem may help other researchers who may have encountered similar issues.