A numerical method is developed for calculation steady nonlinear water waves traveling over the free surface of an inviscid, incompressible fluid under the assumption of potential flow. The problem is treated as two dimensional for stream function of disturbed flow. The numerical model uses a boundary element method for discretization in space. For definition of the unknown free boundary an iterative procedure is proposed. This procedure based on the solution of the third boundary problem on an each step. The features of the method are a comparatively small computational effort and enhance efficiency and precision. For illustration, some computational results are presented for the shape and integral properties of the solitary waves.
Solitary waves in shallow water have been preoccupied since the classical observations by Scott Russel in 1838. For reviews of modern numerical calculations of this type of wave see surveys of Miles [1] and Schwartz and Fenton [2]. After that solitary waves in water of finite depth have also been calculated by Hunter and Vanden-Broeck [3], and Tanaka [4]. The numerical calculations of the nonlinear waves are based on two techniques:
In the present work the direct boundary element method and new iterative procedure have been used for the solution of the solitary wave problem. The mathematical problem is formulated in §2, where an equation is written for a stream function ψ in a physical plane. In §3 the method of calculation of nonlinear problem is described. The numerical results for shape and integral properties of solitary waves are presented in §4.
We consider a steady solitary wave, moving with speed U to the right, on the surface of a frictionless, irrotational, incompressible fluid of finite depth H, as in figure 1. The free surface is at constant pressure, and has zero surface tension.

We choose Cartesian coordinates connected with wave with the x-axis parallel to the bottom and the z-axis directly vertically upwards. The coordinate z is measured from the level of the free surface at |x|=∞. There is a uniform gravitational field. Acceleration of the gravity g is acting in the negative z-direction.
We choose U as the unit of velocity and L=U2/2g as the unit of length. Thus the problem has one parameter - dimensionless depth h=2gH / U2.
The governing equation for the 2D flows in dimensionless variables is
|
Δψ = 0 |
(1) |
where ψ is the disturbed stream function (stream function in fixed coordinate system); the velocity in moving coordinate system (x,z) is
|
Vx=1+ψ ,z , |
Vz=-ψ,x |
The boundary conditions can be described in the following way. As |x| → ∞, the flow is require to approach a uniform stream with constant velocity U in x-direction and uniform depth h. The kinematics condition on free surfaces (x(s), z(s)) and horizontal bottom is
|
Vn=-ψ,s =0, |
(2) |
where n is the unit outward normal vector,s is the unit tangential vector, s represents the curvilinear abscissa of the point on a free streamline. Equation (2) indicates that the flux through the boundary is zero. This equation can be integrated over the free streamline with the condition ψ (∞)=0 and it becomes
|
ψ (s)=z(s), |
(3) |
The horizontal bottom is a streamline also on which we require ψ =0.
On the free surface, where a pressure is constant, the Bernoulli's equation yields
|
Vs2 + z = 1, |
(4) |
where Vs=ψ,n -x' is a tangential velocity on the free surface in the moving coordinate system. Then the dynamic boundary condition on the free boundary may be described in following manner
|
ψ,n = x' - (1-z)½, |
(5) |
where s - is a curvilinear abscissa of the point on free streamline.
On the infinity
|
limx →∞ ψ = 0 |
(6) |
Thus, we have a classic free boundary problem: a location of the free streamline is unknown and two boundary conditions (3) and (5) is known on the free surface. For this problem, one parameter defines a unique solution: dimensionless depth h . Of course, we must denote that trivial solution ( ψ =0 and flat free surface) exists for any h.
Let be initial location of the free surface (x0(s),z0(s)) is known. The boundary integral representation of solution of the equation
|
½ψ = ∫S (ψP,n GMP -ψ P GMP,n) dSP |
(7) |
where GMP=FMP-FLP is a Green's function for half-plane; M(x,z) and P(ξ,η ) are points on the boundary, L(x,-2h-z) is a point symmetric M relatively bottom plane; FMP = -(2π)-1 ln rMP is a fundamental solution of the Laplace equation for infinity isotropic 2D medium; rMP is a distance between points M and P.
Consider on the free surface the boundary condition of the third kind
|
ψ,n = x'0 - ½(1-z0)-½(2-z0-ψ) = αψ +β, |
(8) |
where α and β are coefficients, depending upon shape of free surface.
The discretization of (7), which leads to the classic "boundary element method" technique (see, Brebbia and others [8] is described below. In the boundary element method, the above integral equation is solved numerically by dividing the boundary S into N boundary elements, in each of which ψ and ψ ,n are approximated by constants. We denote these values by ψi and ψi,n , i=1,…N; and apply equation (8) at one nodal point Mi in the center of each boundary element to obtain
|
½ψ i =Aij ψ j,n +Bij ψ j |
(9) |
|
Aij=∫SjGij,ndSP |
Bij=-∫SjGijdSP |
where ∫Sj denotes integration over the j-th boundary element. Here and what follows the summation over repeating indices is assumed. Coefficients Aij and Bij of the linear system of equations (9) are integrated analytically over boundary elements using the analytical formulas.
Eliminating the ψi,n from each elements on the free surface by applying the boundary condition (8) in each nodal point, we thus obtain a system of N linear algebraic equations with N unknown ψi
|
(Aij αj + Bij - ½δ ij ) ψ j = - Aij βj |
(10) |
where δij is the Kroneker delta. The system of N linear algebraic equations (10) was solved by the direct Gaussian elimination method.
In order to solve the problem of the free boundary, the shape of the free streamline must be calculated by successive iterations. The new location of the free surface is calculated by formula
|
z = ½ (z0 + ψ), |
(10) |
after that iterative cycle continued. If iteration process is coincided, then formula (8) translates in dynamic boundary condition (5). The iterative procedure is continued until a converge criterion is satisfied. Usually, 15÷30 iterations demanded for the coincidence. Number of iterations increased for highest waves to 40÷50. On the free boundary, the velocity component normal to the free surface will be zero only at the convergence of the iterative process. After finishing the iterative process , the maximum height of wave and other characteristics have been defined as a function of dimensionless depth h.
Number of boundary elements for the half of the wave was N=200 for all computations. Initial approximation of the free streamline calculated by formula
|
z = a sech² cx, |

The highest wave had been computated at h=1.2043 and her amplitude was Zmax=0.9976. Extrapolation for Zmax=1 gave value hmin=1.205. In table 1 the ratio Zmax compared with data of other authors.
| works | zmax/hmin |
| Lenau [9] | 0.827 |
| Longuet-Higgins and Fenton [10] | 0.827 |
| Yamada and others [11] | 0.8262 |
| Witting [12] | 0.8332 |
| Cooker [13] | 0.83 |
| present work | 0.8284 |
Thus, we
can say that velocity of solitary waves may be in range √gH
÷ 1.294√gH.
The trajectory of point on the free boundary are presented in figure 3 for
solitary waves shown in figure 2. To calculate the trajectory of a surface
fluid particle we find its velocity and integrate by the time-stepping
algorithm of two order. Denote that this curves are very similar cycloids.

Now we shall consider some integral quantities of the solitary wave relative to fixed coordinate system. Firstly, we may define net displacement, or excess mass
|
Sw = ∫S z dx. |
We may define the dimensionless gravitational potential energy
|
Ep =¼ ∫S z² dx. |
and the kinetic energy of the relative motion, which can be written using Green's theorem as follows
|
Ek =½ ∫S ψψ ,n dx. |
In article [12] is shown, that the integrated properties of the solitary waves satisfy to a condition
| I = 3 Ep - (1-h/2) Sw ≡ 0 |
The computed values of Zmax, Ek, Ep, Sw and I are shown in table 2.
| h | zmax | EK | EP | Sw | I |
|---|---|---|---|---|---|
| 1.90 | 0.10061 | 0.00506 | 0.03262 | 1.9521 | 0.00008 |
| 1.80 | 0.20150 | 0.02030 | 0.08668 | 2.5984 | 0.00007 |
| 1.70 | 0.30339 | 0.04602 | 0.14912 | 2.9812 | 0.00006 |
| 1.60 | 0.40677 | 0.08272 | 0.21373 | 3.2055 | 0.00003 |
| 1.50 | 0.51247 | 0.13130 | 0.27594 | 3.3112 | 0.00001 |
| 1.40 | 0.62242 | 0.19368 | 0.33148 | 3.3152 | -.00003 |
| 1.30 | 0.74168 | 0.27501 | 0.37489 | 3.2140 | -.00008 |
| 1.25 | 0.81060 | 0.32853 | 0.38891 | 3.1115 | -.00003 |
| 1.21 | 0.88202 | 0.38897 | 0.39245 | 2.9814 | -.00010 |
| 1.20 | 0.90947 | 0.41355 | 0.39042 | 2.9292 | -.00013 |
| 1.20 | 0.983832 | 0.48395 | 0.37837 | 2.8407 | -.00038 |
The wave amplitude Zmax, potential and kinetic energy and also displacement S are presented in figure 4 as a functions of dimensionless depth h (curves 1, 2, 3 and 4 accordingly).

If h is decreased than amplitude Zmax of the solitary wave is increased right up to 1 for h=1.19392. In range 1.3 < h < 2 the amplitude Zmax change nearly linearly and solitary waves can be accurately approximated by solutions to the Kortveg-de Vries equation. Other functions are changed no monotonically with h, but the potential energy always exceeds the kinetic.
The basic principle of the boundary element method has been presented in this paper for the calculation of the solitary waves in a nonlinear formulation. The advantage of this method is the simplicity of the boundary calculations in the physical plane. Comparisons with analytical and numerical data of other authors suggest that the solutions obtained by the present numerical method are quite accurate. The flow is especially well modeled in the case of the highest waves. Similar numerical technique could be used to investigation of the gravity-capillary and periodic nonlinear waves.