# Eigenfunction Matching for a Semi-Infinite Change in Depth

## Contents

## Introduction

The problem consists of a region to the left with a free water surface with depth [math]d[/math] and to the right a region of depth [math]h[/math]. The problem with a finite change in depth is treated in Eigenfunction Matching for a Finite Change in Depth

## Governing Equations

We begin with the Frequency Domain Problem for a submerged dock which occupies the region [math]x\gt 0[/math] (we assume [math]e^{-\mathrm{i}\omega t}[/math] time dependence). The depth of is constant [math]h[/math] for [math]x\lt 0[/math] and constant [math]d[/math] for [math]x\gt 0[/math]. The [math]z[/math]-direction points vertically upward with the water surface at [math]z=0[/math]. The boundary value problem can therefore be expressed as

We must also apply the Sommerfeld Radiation Condition as [math]|x|\rightarrow\infty[/math]. This essentially implies that the only wave at infinity is propagating away and at negative infinity there is a unit incident wave and a wave propagating away.

## Solution Method

We use separation of variables in the two regions, [math]x\lt 0[/math] and [math]x\gt 0[/math].

We express the potential as

[math] \phi(x,z) = X(x)Z(z)\, [/math]

and then Laplace's equation becomes

[math] \frac{X^{\prime\prime}}{X} = - \frac{Z^{\prime\prime}}{Z} = k^2 [/math]

### Separation of variables for a free surface

We use separation of variables

We express the potential as

[math] \phi(x,z) = X(x)Z(z)\, [/math]

and then Laplace's equation becomes

[math] \frac{X^{\prime\prime}}{X} = - \frac{Z^{\prime\prime}}{Z} = k^2 [/math]

The separation of variables equation for deriving free surface eigenfunctions is as follows:

[math] Z^{\prime\prime} + k^2 Z =0. [/math]

subject to the boundary conditions

[math] Z^{\prime}(-h) = 0 [/math]

and

[math] Z^{\prime}(0) = \alpha Z(0) [/math]

We can then use the boundary condition at [math]z=-h \, [/math] to write

[math] Z = \frac{\cos k(z+h)}{\cos kh} [/math]

where we have chosen the value of the coefficent so we have unit value at [math]z=0[/math]. The boundary condition at the free surface ([math]z=0 \,[/math]) gives rise to:

which is the Dispersion Relation for a Free Surface

The above equation is a transcendental equation. If we solve for all roots in the complex plane we find that the first root is a pair of imaginary roots. We denote the imaginary solutions of this equation by [math]k_{0}=\pm ik \,[/math] and the positive real solutions by [math]k_{m} \,[/math], [math]m\geq1[/math]. The [math]k \,[/math] of the imaginary solution is the wavenumber. We put the imaginary roots back into the equation above and use the hyperbolic relations

[math] \cos ix = \cosh x, \quad \sin ix = i\sinh x, [/math]

to arrive at the dispersion relation

[math] \alpha = k\tanh kh. [/math]

We note that for a specified frequency [math]\omega \,[/math] the equation determines the wavenumber [math]k \,[/math].

Finally we define the function [math]Z(z) \,[/math] as

[math] \chi_{m}\left( z\right) =\frac{\cos k_{m}(z+h)}{\cos k_{m}h},\quad m\geq0 [/math]

as the vertical eigenfunction of the potential in the open water region. From Sturm-Liouville theory the vertical eigenfunctions are orthogonal. They can be normalised to be orthonormal, but this has no advantages for a numerical implementation. It can be shown that

[math] \int\nolimits_{-h}^{0}\chi_{m}(z)\chi_{n}(z) \mathrm{d} z=A_{n}\delta_{mn} [/math]

where

[math] A_{n}=\frac{1}{2}\left( \frac{\cos k_{n}h\sin k_{n}h+k_{n}h}{k_{n}\cos ^{2}k_{n}h}\right). [/math]

### Expansion of the potential

We need to apply some boundary conditions at plus and minus infinity, where are essentially the the solution cannot grow. This means that we only have the positive (or negative) roots of the dispersion equation. However, it does not help us with the purely imaginary root. Here we must use a different condition, essentially identifying one solution as the incoming wave and the other as the outgoing wave.

Therefore the scattered potential (without the incident wave, which will be added later) can be expanded as

[math] \phi(x,z)=\sum_{m=0}^{\infty}a_{m}e^{k_{m}^{h} x}\phi_{m}^{h}(z), \;\;x\lt 0 [/math]

and

[math] \phi(x,z)=\sum_{m=0}^{\infty}b_{m} e^{-k_{m}^{d}x}\phi_{m}^{d}(z), \;\;x\gt 0 [/math]

where [math]a_{m}[/math] and [math]b_{m}[/math] are the coefficients of the potential in the left and right respectively and [math]k_{m}^{h}[/math] denotes the solution for depth [math]h[/math] etc.

### Incident potential

To create meaningful solutions of the velocity potential [math]\phi[/math] in the specified domains we add an incident wave term to the expansion for the domain of [math]x \lt 0[/math] above. The incident potential is a wave of amplitude [math]A[/math] in displacement travelling in the positive [math]x[/math]-direction. We would only see this in the time domain [math]\Phi(x,z,t)[/math] however, in the frequency domain the incident potential can be written as

[math] \phi_{\mathrm{I}}(x,z) =e^{-k_{0}x}\chi_{0}\left( z\right). [/math]

The total velocity (scattered) potential now becomes [math]\phi = \phi_{\mathrm{I}} + \phi_{\mathrm{D}}[/math] for the domain of [math]x \lt 0[/math].

The first term in the expansion of the diffracted potential for the domain [math]x \lt 0[/math] is given by

[math] a_{0}e^{k_{0}x}\chi_{0}\left( z\right) [/math]

which represents the reflected wave.

In any scattering problem [math]|R|^2 + |T|^2 = 1[/math] where [math]R[/math] and [math]T[/math] are the reflection and transmission coefficients respectively. In our case of the semi-infinite dock [math]|a_{0}| = |R| = 1[/math] and [math]|T| = 0[/math] as there are no transmitted waves in the region under the dock.

### An infinite dimensional system of equations

The potential and its derivative must be continuous across [math]x=0[/math]. Therefore, the potentials and their derivatives at [math]x=0[/math] have to be equal or equal to zero as appropriate. We obtain:

For the first equation we multiply both sides by [math]\phi_{n}^{h}(z) \,[/math] and integrating from [math]-h[/math] to [math]0[/math] to obtain:

and for the second equation we multiply both sides by [math]\phi_{n}^{d}(z) \,[/math] and integrating from [math]-d[/math] to [math]0[/math] to obtain:

Solving the equations above will yield the coefficients of the water velocity potential in the dock covered region.

### Inner product between free surface and dock modes

where

## Matlab Code

A program to calculate the coefficients for the semi-infinite change in depth can be found here semi_infinite_change_in_depth.m

### Additional code

This program requires