1 Introduction

The energy conservation for wind generated waves in deep water is stated as

$$\begin{aligned} \frac{\mathrm{d}E}{\mathrm{d}t} = S_{\mathrm{inp}}+S_{\mathrm{nl}}+S_{\mathrm{wcap}}, \end{aligned}$$
(1)

where E denotes the two-dimensional energy spectrum with respect to the wave number \(\overrightarrow{k}\) at the spatial position and time t, \(S_{\mathrm{inp}}\) is the energy input by wind, \(S_{\mathrm{nl}}\) is the nonlinear quadruplet wave–wave interactions and \(S_{\mathrm{wcap}}\) is the energy dissipation by white capping, see e.g., (Hasselmann 1960) [that gives Eq. (1)]. In the theoretical description of growth and decay of wind waves, nonlinear wave–wave interactions play an important role, which results in a continuous transfer of energy between the components of the wave field. A full solution of \(S_{\mathrm{nl}}\) is time consuming because of its complex functional form and therefore it is impractical for implementation in operational wave models (Cavaleri et al. 2007).

Phillips (1960) studied interactions between waves of arbitrary lengths and directions and found that under certain circumstances resonance occurs in the system from third order, resulting in growth of some components at the expense of others. Hasselmann (1962) derived an expression which describes the irreversible energy transfer between four water waves in resonant mode. This expression is known as the Hasselmann’s equation or Boltzmann equation. Hasselmann (1963a) simplified the Boltzmann equation and discussed some of its properties. Hasselmann (1963b) evaluated the Boltzmann equation for a Neumann spectrum on deep water and obtained the positive–negative–positive three lobe structure of the transfer rate within the spectrum. Hasselmann and Hasselmann (1985a, b) developed Discrete Interaction Approximation (DIA) method which is computationally efficient. It has several shortcomings which are reported in Van Vledder (2000). Extensions and modifications to the DIA method are done by Hashimoto and Kawaguchi (2001) and Tolman (2004, 2013a, b). Despite its shortcomings, DIA is employed in third generation wave models such as WAM (see Hasselmann et al. 1988). Webb (1978) employed Dirac delta function properties and analytically removed the \(\delta \) functions of Hasselmann’s equation. Masuda (1980) performed detailed analysis of the kernel function and tested its scheme with different types of spectra. Young and Van Vledder (1993) gave a review of the role played by nonlinear wave–wave interactions in operational wave models. Lavrenov (2001) used Gauss–Legendre quadratures to treat the singularities arising from the manipulation of Boltzmann integral. This work was further developed by Gagnaire-Renou et al. (2010). Benoit (2005) compared the results of nonlinear wave–wave interactions with two exact methods (Webb 1978; Lavrenov 2001) and approximate techniques. Cavaleri et al. (2007) summarized the phenomenon and modelling of nonlinear four wave interactions.

A computationally fast and accurate method being considered currently on the nonlinear problem, focuses on the improvement of the Webb’s method. This method called the WRT method is based on the method of Webb (1978) with contributions from Tracy and Resio (1982) and Resio and Perrie (1991). A detailed description of the WRT method can be found in Van Vledder (2006) who suggested several filtering techniques in both radial and directional resolutions to reduce the computational time. In that paper, Trapezoidal rule is applied to the inner integral, whereas the importance of higher-order quadrature methods such as the Gauss–Legendre quadrature is also indicated. The method has been implemented in various operational wave prediction models such as Wave Watch III (Tolman 1991), SWAN (Booij et al. 1999), CREST (Ardhuin et al. 2001) and PROWAM (Monbaliu et al. 1999).

In the present work, the WRT method is considered for the calculation of the nonlinear source term. Siraj-ul-Islam et al. (2010) and Imran et al. (2011) urge that wavelets are well suited for evaluating the integrals. Further, through numerical examples they proved that Haar wavelets are computationally efficient over the quadrature methods. The aim of this paper is to employ Haar wavelets to the inner integral, which needs the calculation of nodes alone as the weights are constant. Through multi-resolution analysis, the convergence and accuracy of the method is substantiated.

The structure of the paper is as follows: Sect. 2 contains a brief description of the WRT method used for solving the nonlinear source term, and Sect. 3 deals with (i) the basics of multi-resolution analysis, (ii) the application of Haar wavelets to the transfer integral in the WRT method and (iii) a comparative study of the results for the nonlinear source term using the present WRT method with the earlier results of Resio and Perrie (1991) and benchmark results of the WRT method. Finally, the applicability and advantages of the present method is summarized in Sect.  4.

2 Webb–Resio–Tracy’s method

The nonlinear source term in the wave model (Hasselmann 1962),

$$\begin{aligned} \frac{\partial n_1}{\partial t}= & {} \int \!\!\int \!\!\int G(\overrightarrow{k_1},\overrightarrow{k_2},\overrightarrow{k_3}, \overrightarrow{k_4}) \times \delta (\overrightarrow{k_1}+\overrightarrow{k_2}-\overrightarrow{k_3}-\overrightarrow{k_4})\nonumber \\&\times \delta \left( W\right) \times D(\overrightarrow{k_1},\overrightarrow{k_2},\overrightarrow{k_3},\overrightarrow{k_4}) \,\mathrm{d}\overrightarrow{k_2} \,\mathrm{d}\overrightarrow{k_3}\,\mathrm{d}\overrightarrow{k_4}, \end{aligned}$$
(2)

describes the rate of change of action density \(n_1\) at a particular wave number \(\overrightarrow{k_1}\) due to all the wave resonating quadruplet interactions involving in it. Here, G and \(\delta (\cdot )\) denote the coupling coefficients and Dirac delta function, respectively. The term W is defined by \(W=\omega _1+\omega _2-\omega _3-\omega _4\), where \(\omega _{i}\) is the angular frequency corresponding to the ith wave number \({k_i}\) (\(i=1,\ldots 4\)) and \(n_{i}=n(\overrightarrow{k_i})\) represent the action density spectrum which is related to the wave number spectrum by \(n_{i}=\frac{F(\overrightarrow{k_i})}{\omega _i}\). The expression for G can be found in Webb (1978). The density term containing the product of action densities is a cubic expression given by \(D(\overrightarrow{k_1},\overrightarrow{k_2},\overrightarrow{k_3},\overrightarrow{k_4})=[n_1n_3(n_4-n_2)+n_2n_4(n_3-n_1)]\).

The contribution to the integral in Eq. (2) comes from the set of all three wave number vectors \(\{\overrightarrow{k_2}, \overrightarrow{k_3}, \overrightarrow{k_4} \}\) interacting with \(\overrightarrow{k_1}\) due to the presence of the delta functions. In other words, this contribution is obtained from the set of all four wave vectors \(\{\overrightarrow{k_1}, \overrightarrow{k_2}, \overrightarrow{k_3}, \overrightarrow{k_4} \}\) each satisfying the following resonance conditions

$$\begin{aligned} \overrightarrow{k_1}+\overrightarrow{k_2}=\overrightarrow{k_3}+\overrightarrow{k_4} \end{aligned}$$
(3)

and

$$\begin{aligned} \omega _1+\omega _2=\omega _3+\omega _4. \end{aligned}$$
(4)

The linear dispersion relation relating the angular frequency \(\omega \) and the wave number k is expressed as

$$\begin{aligned} \omega ^{2}={gk~\tanh (kd)}, \end{aligned}$$
(5)

where g is the acceleration due to gravity and d is the water depth.

The \(\delta \)-function over the wave numbers in Eq. (2) is eliminated by integrating over \(\overrightarrow{k_4}\), to form

$$\begin{aligned} \frac{\partial n_1}{\partial t} = \int T(\overrightarrow{k_1}, \overrightarrow{k_3})\,d\overrightarrow{k_3}, \end{aligned}$$
(6a)

with the transfer integral \(T(\overrightarrow{k_1}, \overrightarrow{k_3})\) given by

$$\begin{aligned} T(\overrightarrow{k_1},\overrightarrow{k_3}) = \int G \times D(\overrightarrow{k_1},\overrightarrow{k_2},\overrightarrow{k_3}, \overrightarrow{k_4}) \times \delta \left( W\right) \,\mathrm{d}\overrightarrow{k_2}.\nonumber \\ \end{aligned}$$
(6b)

In the present work, the entire domain is considered and no filtering technique is used.

An important step in the WRT method is to find the wave resonating quadruplets \(\{\overrightarrow{k_1}, \overrightarrow{k_2}, \overrightarrow{k_3}, \overrightarrow{k_4} \}\). This can be achieved by fixing two wave number vectors. Thus, for input vectors \(\overrightarrow{k_1}\) and \(\overrightarrow{k_3}\), the locus of \(\overrightarrow{k_2}\) traces out an egg-shaped closed curve. For the case when the magnitudes of the input vectors are the same, the locus of \(\overrightarrow{k_2}\) is a straight line. The locus of \(\overrightarrow{k_4}\) can then be constructed using Eq. (3).

Further, \(\overrightarrow{k_2}\) is segregated into tangential-normal coordinate system \((\overrightarrow{s}, \overrightarrow{n})\) as \(\overrightarrow{k_{2,s}}\) and \(\overrightarrow{k_{2,n}}\). Using the properties of the Dirac delta function and integrating along the normal component \(\overrightarrow{k_{2,n}}\), the nonlinear transfer integral in Eq. (6b) reduces to a line integral of the form

$$\begin{aligned} T(\overrightarrow{k_1},\overrightarrow{k_3}) = \oint G \times D(\overrightarrow{k_1}, \overrightarrow{k_2}, \overrightarrow{k_3}, \overrightarrow{k_4}) \times J \times \,\mathrm{d}s. \end{aligned}$$
(7)

Here J = \(\left| \frac{\mathrm{d}W}{\mathrm{d}n}\right| ^{-1}\) is the normal derivative term or Jacobian.

Now, Eq. (6a) is written in terms of polar coordinates as

$$\begin{aligned} \frac{\partial n\left( k_{1},\theta \right) }{\partial t}= \iint T(\overrightarrow{k_1}, \overrightarrow{k_3})\,{k_3}\,\mathrm{d}{\theta _3}\,\mathrm{d}{k_3}. \end{aligned}$$
(8)

Following Tracy and Resio (1982), the double integral in Eq. (8) is evaluated. Having computed \(\frac{\partial n\left( k,\theta \right) }{\partial t}\), \(S_{\mathrm{nl}}\left( f,\theta \right) \) is retrieved using the relation \(S_{\mathrm{nl}}\left( f,\theta \right) = \frac{4\pi \omega ^{4}}{g^{2}}\frac{\partial n\left( k,\theta \right) }{\partial t}\). The one-dimensional nonlinear source term \(S_{\mathrm{nl}}\left( f\right) \) is determined by integrating \({S_{\mathrm{nl}}\left( f,\theta \right) }\) with respect to \(\theta \).

3 Multi-resolution analysis and Haar wavelets

The application of wavelets to the nonlinear wave–wave interactions starts with the approximation of the integrand in the transfer integral using Haar wavelets through multi-resolution analysis and ends up with the integration scheme.

3.1 Multi-resolution analysis or multi-level representation of function

The aim of multi-resolution analysis is to develop representation of a function \(f\left( x\right) \) at various levels of resolution. To this end, we seek to expand \(f\left( x\right) \in L^2\left( R\right) \) in terms of basis functions called scaling function \(\phi (x)\) and the wavelet function \(\psi (x)\) which can be scaled to give the multiple resolution of the function.

A multi-resolution analysis (MRA) of the set of square integrable functions denoted by \(L^{2}(R)\), equipped with the standard inner product \((\cdot ,\cdot )\), is a chain of closed subspaces indexed by all integers

$$\begin{aligned} \ldots V_{-1}\subset V_{0}\subset V_{1} \ldots \end{aligned}$$

such that

  1. (i)

    \(\bigcup \limits _{n}V_{n}=L^{2}(R)\)

  2. (ii)

    \(\bigcap \limits _{n}V_{n}=\left\{ 0\right\} \)

  3. (iii)

    \(f(\cdot )\in V_{n}\Leftrightarrow f(2\cdot ) \in V_{n+1}\)

  4. (iv)

    Let \(\phi (\cdot )\) be a scaling function such that \({\left\{ \phi (\cdot -k): k\in Z\right\} }\) constitutes a complete orthonormal basis of \(V_{0}\).

To obtain an MRA, it suffices to construct the scaling function \(\phi (\cdot )\). The entire space chain can then be reconstructed from \(\phi (\cdot )\) according to (iii) and (iv). Since \(V_{0} \subset V_{1}\) and from (iii) and (iv), it is easy to see that \(\phi (\cdot )\) must be a linear combination of \({\phi (\cdot -k):k\in Z}\), leading to the two scale relation

$$\begin{aligned} \phi (\cdot )=2\sum _{k\in Z}h_{k}\phi (2\cdot -k), \end{aligned}$$

for a suitable set of coefficients \((\ldots , h_{-1},h_{0},h_{1},\ldots )\).

Let \(W_{0}\) denote the orthogonal complement of \(V_{0}\) in \(V_{1}\). A function \(\psi (\cdot )\) whose integer translates \(\left\{ \psi (\cdot -k):k\in Z\right\} \) constitutes an orthonormal basis of \(W_{0}\) is called a wavelet. This wavelet function \(\psi (\cdot )\) satisfies the two scale relation

$$\begin{aligned} \psi (\cdot )=2\sum _{k\in Z}g_{k}\psi (2x-k), \end{aligned}$$

for a suitable set of coefficients \((\ldots , g_{-1},g_{0},g_{1},\ldots )\). From (i)–(iv) it is clear that

$$\begin{aligned} \phi _{j,k}(\cdot )=2^{j/2}\phi (2^{j} \cdot -k; j,k\in Z). \end{aligned}$$

and

$$\begin{aligned} \psi _{j,k}(\cdot )=2^{j/2}\psi (2^{j} \cdot -k; j,k\in Z). \end{aligned}$$

form an orthonormal bases of \(L^{2}(R)\), where j and k are the scaling and translating parameters. For the well-known Haar wavelet, the scaling and wavelet functions are given by

$$\begin{aligned} \phi (x)={\left\{ \begin{array}{ll}1, &{}\quad 0\le x<1,\\ 0, &{}\quad \text {otherwise}, \end{array}\right. } \end{aligned}$$
$$\begin{aligned} \psi (x)={\left\{ \begin{array}{ll}1, &{}\quad 0\le x<\frac{1}{2},\\ -1, &{}\quad \frac{1}{2}\le x <1. \end{array}\right. } \end{aligned}$$
Fig. 1
figure 1

Relation between \(V_{j}\) and \(W_{j}\)

Fig. 2
figure 2

MRA for \(x^2\)

Fig. 3
figure 3

MRA for \(x^2\) at \(J=5\)

Figure 1 shows the relationship between scaling and wavelet functions at different levels, i.e., \(V_{n}=V_{n-1}\oplus W_{n-1}\).

For any function \(L^{2}(R)\), define \(P_{J}:L^{2}(R) \longrightarrow V_{J}\) to be the projection of f onto the resolution space \(V_{J}\) by

$$\begin{aligned} f(x)= & {} \sum _{k\in Z}c_{0,k}(f)\phi _{0,k}(x)\nonumber \\&+\sum _{0\le j \le J}~\sum _{\begin{array}{c} 0\le k\le 2^{j}-1 \\ k\in Z \end{array}}d_{j,k}(f)\psi _{j,k}(x), \end{aligned}$$
(9)

where

$$\begin{aligned} c_{0,k}=\int f(x) \phi (x-k) \,\mathrm{d}x \end{aligned}$$
(10)

and

$$\begin{aligned} d_{j,k}=\int f(x) \psi _{j,k}(x) \,\mathrm{d}x. \end{aligned}$$
(11)

The parameter J denotes the maximum level of resolution of Haar wavelets to represent the function f(x). The analysis of the function can be done using the scaling coefficients \(c_{0,k}\) and the wavelet coefficients \(d_{j,k}\). These coefficients are also called the average and detailed coefficients of the corresponding function. Consider

$$\begin{aligned} f(x)={\left\{ \begin{array}{ll}x^2, &{}\quad 0\le x<1,\\ 0, &{}\quad \text {otherwise}. \end{array}\right. } \end{aligned}$$

In order to approximate f(x) at the resolution level \(J=1\), the following coefficients have to be calculated using Eqs. (10) and (11) as follows:

$$\begin{aligned} c_{0,0}= \int _{0}^{1} x^2 \phi (x)\,\mathrm{d}x=\frac{1}{3}, \end{aligned}$$
$$\begin{aligned} d_{0,0}= \int _{0}^{1} x^2 \psi _{0,0}(x) \,\mathrm{d}x= \int _{0}^{0.5} x^2\,\mathrm{d}x -\int _{0.5}^{1} x^2\,\mathrm{d}x= \frac{-1}{4}, \end{aligned}$$
$$\begin{aligned} d_{1,0}= \int _{0}^{1} x^2 \psi _{1,0}(x) \,\mathrm{d}x= \int _{0}^{0.25} x^2\,\mathrm{d}x -\int _{0.25}^{0.5} x^2\,\mathrm{d}x = -\frac{\sqrt{2}}{32}, \end{aligned}$$

and

$$\begin{aligned} d_{1,1}= \int _{0}^{1} x^2 \psi _{1,1}(x) \,\mathrm{d}x= \int _{0.5}^{0.75} x^2 \,\mathrm{d}x-\int _{0.75}^{1} x^2\,\mathrm{d}x= -\frac{3\sqrt{2}}{32}. \end{aligned}$$

Using Eq. (9), \(f(x)\approx [\frac{1}{3}\phi _{0,0}(x)]+[\frac{-1}{4}\psi _{0,0}(x)]+[-\frac{\sqrt{2}}{32}\psi _{1,0}(x)+\frac{-3\sqrt{2}}{32}\psi _{1,1}(x)].\)

The function approximation is shown in Fig. 2f. As the level increases, the function approximation converges towards the function f which can be seen from Fig. 3 with \(J=5\).

For a detailed introduction to wavelet theory, refer to Strang and Nguyen (1996) and Hernandez and Weiss (1996). The evaluation of the definite integrals using Haar wavelets can be carried out by

$$\begin{aligned} \int _{a}^{b} f(x)~\mathrm{d}x =\frac{b-a}{2^{J+1}}\sum _{q=1}^{2^{J+1}}f(x_{q}), \end{aligned}$$

where \(x_{q}=a+\frac{(b-a)(q-0.5)}{2^{J+1}}\), with J representing the maximum level of resolution of Haar wavelets. More details can be found in Siraj-ul-Islam et al. (2010) and Imran et al. (2011).

3.2 Procedure for approximating the locus curve using Haar wavelets

Let \(\Omega \) be the locus of \(\overrightarrow{k_2}\) in the Cartesian plane. Let \(\Omega \) be approximated by a parametric cubic spline curve \(\Gamma \): (x(s), y(s)), where s is the normalized cumulative chord length and x(s) and y(s) are the cubic splines (Hanna et al. 1986). The steps involved in this procedure are described below.

Step 1 Obtain an ordered set of points \(\left\{ x_{i},y_{i}\right\} _{i=0}^{n-1}\) on the locus of \(\overrightarrow{k_2}\), using a standard polar method such as the explicit polar method presented in Van Vledder (2000), with starting point on the symmetry axis.

The standard polar method consists of obtaining first the end radial points (or minimum and maximum radial values) of \(\overrightarrow{k_2}\) on the symmetry axis and then obtaining the points on either side of the locus for which the radial values of \(\overrightarrow{k_2}\) vary between this maximum and minimum values. In this method, n number of points on the symmetry axis are chosen to give \(2(n-1)\) points on the locus. Thus, the number of points on the locus of \(\overrightarrow{k_{2}}\) is always even.

Step 2 Obtain the cubic splines x(s) and y(s) (Gerald and Wheatly 2008) from the points of \(\Omega \) as follows.

Let \(s_{i}\) denote the value of the normalized cumulative chord length at the ith point on the locus \(\Omega \). For the data \(\left\{ s_{i},x_{i}\right\} _{i=0}^{n-1}\) and \(\left\{ s_{i},y_{i}\right\} _{i=0}^{n-1}\), obtain the cubic splines x(s) and y(s) using not-a-knot end conditions, respectively. For a closed locus, the parameter s varies from 0 to 1.

Step 3 By considering the discrete values of s to be the nodes of the Haar wavelets and using the cubic spline approximants x(s) and y(s) for the locus points, one can obtain a new set of points on the locus of \(\overrightarrow{k_2}\). Since the nodes of the Haar wavelets are equally spaced, the locus points are uniformly distributed.

The top panel of Fig. 4 shows the distribution of 32 and 64 points on the locus of \(\overrightarrow{k_2}\) for an input pair of wave number vectors \(\overrightarrow{k_1}=(0.15, 0)\) and \(\overrightarrow{k_3}=(0.2, 0.1)\). The locus curves are approximated using Haar wavelets, corresponding to the fourth and fifth levels of resolution. From this, it was found that the new set of points are equispaced with the spacing being 0.07, 0.036 and 0.018 approximately, corresponding to \(J= 3,~4\) and 5, respectively. The bottom panel of Fig. 4 shows the distribution of 32 and 64 points on the locus of \(\overrightarrow{k_2}\) for an input pair of wave number vectors \(\overrightarrow{k_1}=(0.1, 0)\) and \(\overrightarrow{k_3}=(0.15, 0.05)\) with depth 1.5 m. The locus curves are approximated using Haar wavelets, corresponding to the fourth and fifth levels of resolution. Here, it was found that the new set of points are equispaced with the spacing being 0.07, 0.035 and 0.017 approximately, corresponding to the levels 3, 4 and 5, respectively.

Fig. 4
figure 4

Approximation of locus results of \(\mathop {k_{2}}\limits ^{\rightarrow }\) for both deep and finite depths using Haar wavelets at different levels of resolution

Application of Haar wavelets to Eq. (7) yields,

$$\begin{aligned} T(\overrightarrow{k_1},\overrightarrow{k_3})=\frac{L}{2^{J+1}}\sum _{k=1}^{2^{J+1}}G(s_k) \times D\left( s_k\right) \times J\left( s_k\right) , \end{aligned}$$
(12)

where \(s_k\) are the Haar nodes along the locus of \(\overrightarrow{k_2}\), L is the length of the closed curve and J is the maximum level of resolution. For the lower limit of line integration, (a) is always 0 and the upper limit (b) is L. Subsequently, Eq. (8) is evaluated.

Figure 5 depicts the flow chart and further explanations about the computation of nonlinear transfer.

Fig. 5
figure 5

Flow chart showing the computation of nonlinear transfer

To compute the nonlinear transfer, a polar grid with 60 different wave numbers and 36 different angles have been considered. In these calculations, the directional resolution is 10\(^\circ \), ranging from 0\(^\circ \) to 360\(^\circ \), and the frequencies are geometrically spaced. The input spectrum is chosen to be the JONSWAP spectrum with \(-5\) tail, and the shape parameters are \(\alpha =0.01\), \(f_p=0.3\) Hz and \(\sigma ={\left\{ \begin{array}{ll}0.07, &{} f<f_p\\ 0.09, &{} f \ge f_{p}.\end{array}\right. }\). The two-dimensional input frequency–direction spectra are shown in Fig. 6.

Fig. 6
figure 6

Input frequency–directional distribution \(E(f,\theta )\) for different peak enhancement factors: a \(\gamma =1\), b \(\gamma =3.3\) and c \(\gamma =7\)

Fig. 7
figure 7

Comparison of 1-D nonlinear transfer results \(S_{\mathrm{nl}}(f)\), using the present WRT method (blue lines with dots) with benchmark of the WRT results (pink line with dots) and the WRT results taken from Resio and Perrie (1991) (straight line) for case 13, case 2 and case 15 of Hasselmann and Hasselmann (1981)

Figure 7 shows the comparison of 1-D nonlinear transfer results of \(S_{\mathrm{nl}}(f)\) for the PM spectrum, JONSWAP spectra with peak enhancement factor \(\gamma =3.3\) and \(\gamma =7\), respectively, using the present WRT method with the earlier results. In the present method, J is chosen to be 4 for the PM spectrum, and 5 for the other two spectra. In the earlier results of Resio and Perrie (1991), sector grid ranging from \(-120^{\circ }\) to \(120^{\circ }\) was considered for integration, whereas the present method and the benchmark of the WRT results use circular grid. It is clear from Fig. 7 that the present results are comparable and in good agreement with earlier results.

Fig. 8
figure 8

Two-dimensional nonlinear transfer results \( S_{\mathrm{nl}}(f,\theta )\)

Figure 8 depicts the 2-D nonlinear transfer results obtained using the present method for the same input spectra and the level of resolution J considered in Fig. 6.

The effect of the directional resolution on the directional transfer rate \(S_{\mathrm{nl}}(\theta )\), for the varying values of \(\gamma \) are shown in Fig. 9. Here, \(\theta \) ranges from \(0^{\circ }\) to \(360^{\circ }\) with \(10^{\circ }\) spacing. As \(\gamma \) increases, the two positive lobes and the negative lobe approach a narrow distribution.

Better accuracy of the nonlinear transfer results can be achieved by increasing the maximum level of resolution J. Figure 10 shows the convergence of the 1-D nonlinear transfer \(S_{\mathrm{nl}}(f)\) of the present method for the input PM spectrum with increasing values of J. The adaptation of wavelets have been explored by varying the number of locus points as 8, 16, 32 and 64, which fixes the resolution levels as 2, 3, 4 and 5, respectively. A detailed study has to be made regarding the performance of the present method (accuracy vs computational time) and will be considered in our future work.

Fig. 9
figure 9

Frequency-integrated nonlinear transfer results \(S_{\mathrm{nl}}(\theta )\) as a function of direction \(\theta \) for 3 values of peakedness parameter

Fig. 10
figure 10

1-D nonlinear transfer results for \(\gamma =1\) with varying points on the locus

4 Conclusions

In this paper, the potential of Haar wavelets for the nonlinear wave–wave interactions in the WRT method is examined at different resolution levels. This is achieved by applying MRA using Haar wavelets for the transfer integral. The advantage of applying Haar wavelets is that it involves constant weights and equal spacing of the nodes. The adaptation of wavelets have been explored by varying the number of locus points which fixes the resolution level J. Variations of nonlinear transfer with respect to both frequency and direction are discussed. The one-dimensional nonlinear results obtained through Haar wavelets are found to be comparable with earlier results. The study of applying other wavelets to the nonlinear wave–wave interactions through the WRT method will be considered as a continuation of the present work.