Green function in finite depth

Green function’s Hankel form

Denoting by \(h\) the water depth, the Green function can be written as (eq (2.33) from [Del87])

(109)\[\begin{split}& -4 \pi G(x, \xi, \omega, h) = \frac{1}{|x - \xi|} + \frac{1}{|x - S_h(\xi)|} \\ & \quad + 2 \int_0^\infty F(\kappa) e^{- 2 \kappa h} \cosh (\kappa (x_3 + h)) \cosh(\kappa (\xi_3 + h)) J_0 \left(\kappa r \right) d \kappa\end{split}\]

where \(r = \sqrt{(\xi_1 - x_1)^2 + (\xi_2 - x_2)^2}\) and \(S_h\) denotes the symmetry across the horizontal plane \(z=h\):

(110)\[S_h(\xi) = (\xi_1, \xi_2, -\xi_3 - 2h).\]

Note

(111)\[\frac{1}{|x - \xi|} = \frac{1}{\sqrt{r^2 + (x_3 - \xi_3)^2}}\]
(112)\[\begin{split}\frac{1}{|x - S_h(\xi)|} & = \frac{1}{\sqrt{r^2 + (x_3 - (- \xi_3 - 2h))^2}} \\ & = \frac{1}{\sqrt{r^2 + ((- x_3 - 2h) - \xi_3)^2}} = \frac{1}{|S_h(x) - \xi|}\end{split}\]

And \(F\) is defined as (eq. (2.36) from [Del87]):

(113)\[F(\kappa) = \frac{\left(\kappa + \frac{\omega^2}{g}\right) e^{\kappa h}}{\kappa \sinh(\kappa h) - \frac{\omega^2}{g} \cosh(\kappa h)}\]

As in infinite depth, the integrand of (109) is singular for \(\kappa = k\), where \(k\) the wavenumber solution of \(\omega^2/g = k \tanh(kh)\). Replacing \(\omega^2/g\) in the definition of \(F\):

(114)\[\begin{split}F(\kappa) & = \frac{(\kappa + k \tanh(kh)) e^{\kappa h}}{\kappa \sinh(\kappa h) - k \tanh(kh) \cosh(\kappa h)} \\ & = \frac{(\kappa + k \tanh(kh))(1 + \tanh(\kappa h))}{\kappa \tanh(\kappa h) - k \tanh(kh)} \\\end{split}\]

Reduced variables

We have by definition of \(\cosh\):

(115)\[\begin{split}& \cosh (\kappa (x_3 + h)) \cosh(\kappa (\xi_3 + h)) \\ & \qquad = \frac{1}{4} \left( e^{\kappa(x_3 + h)} + e^{\kappa(- x_3 - h)}\right)\left(e^{\kappa(\xi_3 + h)} + e^{\kappa(- \xi_3 - h)} \right) \\ & \qquad = \frac{1}{4} \left( e^{\kappa(x_3 + \xi_3 +2h)} + e^{\kappa(x_3 - \xi_3)} + e^{\kappa(- x_3 + \xi_3)} + e^{\kappa(-x_3 - \xi_3 - 2h)} \right)\end{split}\]

hence

(116)\[\begin{split}& -4 \pi G(x, \xi, \omega, h) = \frac{1}{|x - \xi|} + \frac{1}{|x - S_h(\xi)|} \\ & \quad + \frac{1}{2} \int_0^\infty F(\kappa) e^{- 2 \kappa h} \left( e^{\kappa(x_3 + \xi_3 +2h)} + e^{\kappa(x_3 - \xi_3)} + e^{\kappa(- x_3 + \xi_3)} + e^{\kappa(-x_3 - \xi_3 - 2h)} \right) J_0 \left(\kappa r \right) d \kappa\end{split}\]

Following Newman [N85], we notice that the Green function can be written as two calls to a single function of three variables:

(117)\[-4 \pi G(x, \xi, \omega, h) = L(r, x_3 - \xi_3, h) + L(r, 2h + x_3 + \xi_3, h)\]

where

(118)\[\begin{split}L(r, z, h) & = \frac{1}{\sqrt{r^2 + z^2}} + \mathcal{L}(r, z, h) \\ \mathcal{L}(r, z, h) & = \frac{1}{2} \int_0^{\infty} F(\kappa) e^{- 2 \kappa h} \left( e^{\kappa z} + e^{- \kappa z } \right) J_0(\kappa r) \mathrm{d} \kappa \\ & = \frac{1}{2} \int_0^{\infty} F(\kappa) e^{\kappa(z - 2 h)} J_0(\kappa r) \mathrm{d} \kappa + \frac{1}{2} \int_0^{\infty} F(\kappa) e^{- \kappa(z + 2 h)} J_0(\kappa r) \mathrm{d} \kappa\end{split}\]

Since \(x_3 \in [-h, 0]\) and \(\xi_3 \in [-h, 0]\), we have \(x_3 - \xi_3 \in [-h, h]\) and \(2h + x_3 + \xi_3 \in [0, 2h]\), hence \(\mathcal{L}\) should be defined for \(z \in [-h, 2h]\). We kept a factor \(e^{-2\kappa h}\) outside of \(F\), such that the exponent of the exponential is negative, in order to use Lipschitz-Hankel integral later.

Singularities extraction

We extract the simple \(\kappa = k\) singularity in \(F\):

(119)\[\begin{split}(\kappa - k) F(\kappa) & = \frac{\kappa - k}{\kappa \tanh(\kappa h) - k \tanh(kh)} (\kappa + k \tanh(kh))(1 + \tanh(\kappa h))\\ & \longrightarrow_{\kappa \rightarrow k} \frac{1}{\tanh(kh) + kh(1 - \tanh^2(kh))} (k + k \tanh(kh))(1 + \tanh(kh)) \\ & \qquad = \frac{k (1 + \tanh(kh))^2}{\tanh(kh) + kh(1 - \tanh^2(kh))}\end{split}\]

such that

(120)\[\begin{split}F(\kappa) & = \frac{1}{\kappa - k} \frac{k (1 + \tanh(kh))^2}{\tanh(kh) + kh(1 - \tanh^2(kh))} + F_1(\kappa) \\ & = \frac{A(kh)}{\kappa h - k h} + F_1(\kappa)\end{split}\]

with \(F_1\) a bounded function (on \([0, \infty)\) for \(kh > 0\)) and \(A\) is defined as:

(121)\[A(kh) = \frac{k h \left(1 + \tanh(k h) \right)^2}{\tanh(kh) + kh \left(1-\tanh^2(kh)\right)}\]

also written in [Del87] and in the code as

(122)\[A(kh) = \frac{(k h)^2 + \left( kh \tanh(k h) \right)^2}{kh \tanh(kh) + kh^2 - \left(kh\tanh(kh)\right)^2}\]

or

(123)\[A(kh) = \frac{(1 + \tanh(kh))^2}{1 - \tanh(kh)^2 + \frac{\tanh(kh)}{kh}}\]

Revisiting \(\mathcal{L}\):

(124)\[\begin{split}\mathcal{L}(r, z, h) & = \frac{1}{2} \int_0^{\infty} \left(\frac{A(kh)}{\kappa h - k h} + F_1(\kappa)\right) e^{- 2 \kappa h} \left( e^{\kappa z} + e^{- \kappa z } \right) J_0(\kappa r) \mathrm{d} \kappa \\ & = \frac{A(kh)}{2h} \int_0^{\infty} \frac{e^{- 2 \kappa h} \left( e^{\kappa z} + e^{- \kappa z } \right)}{\kappa - k} J_0(\kappa r) \mathrm{d} \kappa \\ & \qquad + \frac{1}{2} \int_0^\infty F_1(\kappa) e^{- 2 \kappa h} \left( e^{\kappa z} + e^{- \kappa z } \right) J_0(\kappa r) \mathrm{d} \kappa \\\end{split}\]

Terms of the form \(\int_0^\infty \frac{e^{\kappa Z}}{\kappa - k} J_0(\kappa r) d\kappa\) have been seen in Green function in infinite depth as infinite-depth free surface term, and the same numerical evaluation method can be used.

Namely,

(125)\[\begin{split}& \frac{A(kh)}{2h} \int_0^{\infty} \frac{e^{- 2 \kappa h} \left( e^{\kappa z} + e^{- \kappa z } \right)}{\kappa - k} J_0(\kappa r) \mathrm{d} \kappa \\ & \qquad = \frac{A(kh)}{2h} \frac{1}{2} \left(\mathcal{G}^+(r, z - 2h) + \mathcal{G}^+(r, -(z + 2h))\right)\end{split}\]

For the evaluation of the remaining term involving \(F_1\), the strategy chosen by Guével, Daubisse and Delhommeau is to approximate it by Prony decomposition, that is as a sum of exponentials, in order to employ the other kind of integral that was evaluated in Green function in infinite depth, namely the Lipschitz integrals.

We look for a Prony decomposition of \(F_1\) of the following form:

(126)\[F_1(\kappa) \simeq 2 + \sum_{i=1}^N a_i e^{-\lambda_i h \kappa}\]

with \(\forall i \ge 1, \lambda_i > 0\) to always recover \(\lim_{\kappa \rightarrow \infty} F_1(\kappa) = 2\). Note that \(F_1\) depends on the water depth and the frequency, and so does \(a_i\) and \(\lambda_i\). They are recomputed for each new \((k, h)\). The number of terms \(N\) is chosen big enough to ensure a good accuracy of the approximation.

Then,

(127)\[\begin{split}& \frac{1}{2} \int_0^\infty F_1(\kappa) e^{- 2 \kappa h} \left( e^{\kappa z} + e^{- \kappa z } \right) J_0(\kappa r) \mathrm{d} \kappa \\ & \qquad \qquad \simeq \int_0^\infty e^{\kappa (z - 2h)} J_0(kr) d\kappa + \int_0^\infty e^{-\kappa (z + 2h)} J_0(kr) d\kappa \\ & \qquad \qquad \qquad + \sum_{i=1}^N \frac{a_i}{2} \int_0^\infty e^{\kappa (z - 2h - \lambda_i h)} J_0(kr) d\kappa + \sum_{i=1}^N \frac{a_i}{2} \int_0^\infty e^{- \kappa (z + 2h + \lambda_i h)} J_0(kr) d\kappa \\ & \qquad \qquad = \frac{1}{\sqrt{r^2 + (z - 2h)^2}} + \frac{1}{\sqrt{r^2 + (z + 2h)^2}} \\ & \qquad \qquad \qquad + \sum_{i=1}^N \frac{a_i}{2} \frac{1}{\sqrt{r^2 + (z- 2h - \lambda_i h)^2}} + \sum_{i=1}^N \frac{a_i}{2} \frac{1}{\sqrt{r^2 + (z + 2h + \lambda_i h)^2}}\end{split}\]

So \(\mathcal{L}\) reads:

(128)\[\begin{split}\mathcal{L}(r, z, h) & \simeq \frac{A(kh)}{4h} \left(\mathcal{G}^+(r, z - 2h) + \mathcal{G}^+(r, -(z + 2h))\right) \\ & \qquad + \frac{1}{\sqrt{r^2 + (z - 2h)^2}} + \frac{1}{\sqrt{r^2 + (z + 2h)^2}} \\ & \qquad \qquad + \sum_{i=1}^N \frac{a_i}{2} \frac{1}{\sqrt{r^2 + (z- 2h - \lambda_i h)^2}} + \sum_{i=1}^N \frac{a_i}{2} \frac{1}{\sqrt{r^2 + (z + 2h + \lambda_i h)^2}}\end{split}\]

And the full unabrigde Green function reads:

(129)\[\begin{split}-4 \pi G(x, \xi, h) & = \frac{1}{\sqrt{r^2 + (x_3-\xi_3)^2}} + \frac{1}{\sqrt{r^2 + (x_3 - \xi_3 - 2h)^2}} + \frac{1}{\sqrt{r^2 + (x_3 - \xi_3 + 2h)^2}} \\ & \qquad + \frac{A(kh)}{4h} \mathcal{G}^+(r, x_3 - \xi_3 - 2h) + \frac{A(kh)}{4h} \mathcal{G}^+(r, -(x_3 - \xi_3 + 2h)) \\ & \qquad \qquad + \sum_{i=1}^N \frac{a_i}{2} \frac{1}{\sqrt{r^2 + (x_3 - \xi_3- 2h - \lambda_i h)^2}} + \sum_{i=1}^N \frac{a_i}{2} \frac{1}{\sqrt{r^2 + (x_3 - \xi_3 + 2h + \lambda_i h)^2}} \\ & + \frac{1}{\sqrt{r^2 + (x_3 + \xi_3 + 2h)^2}} + \frac{1}{\sqrt{r^2 + (x_3 + \xi_3)^2}} + \frac{1}{\sqrt{r^2 + (x_3 + \xi_3 + 4h)^2}} \\ & \qquad + \frac{A(kh)}{4h} \mathcal{G}^+(r, x_3 + \xi_3) + \frac{A(kh)}{4h} \mathcal{G}^+(r, -(x_3 + \xi_3 + 4h)) \\ & \qquad \qquad + \sum_{i=1}^N \frac{a_i}{2} \frac{1}{\sqrt{r^2 + (x_3 + \xi_3 - \lambda_i h)^2}} + \sum_{i=1}^N \frac{a_i}{2} \frac{1}{\sqrt{r^2 + (x_3 + \xi_3 + 4h + \lambda_i h)^2}}\end{split}\]

Notice it contains six Rankine terms that appears in all expressions of the finite depth Green function, \(4N\) other Rankine terms due to the approximation we used for the residual term, and four infinite-depth wave terms.

The Rankine terms are real-valued. The four infinite-depth Green functions \(\mathcal{G}^+\) are complex-valued.

Note

Interpreting the Rankine terms as reflections

Besides (111) and (112), the Green function contains the following Rankine terms:

(130)\[\frac{1}{\sqrt{r^2 + (x_3 - \xi_3 - 2h)^2}} = \frac{1}{|x - S_0(S_h(\xi))|} = \frac{1}{|S_h(S_0(x)) - \xi|}\]
(131)\[\frac{1}{\sqrt{r^2 + (x_3 - \xi_3 + 2h)^2}} = \frac{1}{|x - S_h(S_0(\xi))|} = \frac{1}{|S_0(S_h(x)) - \xi|}\]
(132)\[\frac{1}{\sqrt{r^2 + (x_3 + \xi_3)^2}} = \frac{1}{|x - S_0(\xi)|} = \frac{1}{|S_0(x) - \xi|}\]
(133)\[\begin{split}\frac{1}{\sqrt{r^2 + (x_3 + \xi_3 + 4h)^2}} & = \frac{1}{|x - S_h(S_0(S_h(\xi)))|} = \frac{1}{|S_h(S_0(S_h(x))) - \xi|} \\ & = \frac{1}{|x - S_{2h}(\xi)|} = \frac{1}{|S_{2h}(x) - \xi|}\end{split}\]

but also

(134)\[\frac{1}{\sqrt{r^2 + (x_3 - \xi_3 - 2h - \lambda_i h)^2}} = \frac{1}{|x - S_0(S_{(1 + \lambda_i/2)h}(\xi))|}\]
(135)\[\frac{1}{\sqrt{r^2 + (x_3 - \xi_3 + 2h + \lambda_i h)^2}} = \frac{1}{|x - S_{(1+\lambda_i/2)h}(S_0(\xi))|}\]
(136)\[\frac{1}{\sqrt{r^2 + (x_3 + \xi_3 - \lambda_i h)^2}} = \frac{1}{|x - S_{(-\lambda_i/2) h}(\xi)|}\]
(137)\[\frac{1}{\sqrt{r^2 + (x_3 + \xi_3 + 4h + \lambda_i h)^2}} = \frac{1}{|x - S_{(2+\lambda_i/2)h}(\xi)|}\]

such that most terms of the Green function can be interpreted as Rankine term with \(6 + 4N\) reflexions of \(\xi\) (or \(x\)).

Note

Singularities

Since \(\lambda_i > 0\), all the reflected terms are outside of the fluid domain and do not need a special treatment when integrating the Green function on a panel to avoid a singularity.

The only terms that should be taken care of are (111) (always), (112) (when the panel is on the sea bottom) and (132) (when the panel is on the free surface).

Beside the singularities of Rankine term, the infinite-depth wave terms \(\mathcal{G}^+\) have a logarithmic singularity, but only the \(\mathcal{G}^+(r, x_3 + \xi_3)\) term may reach its singularity.

Evaluation of the Prony decomposition

For each \(k\) and \(h\), the coefficients \(a_i\) and \(\lambda_i\) need to be precomputed.

The function \(\kappa h \mapsto F(\kappa h) - \frac{A(kh)}{\kappa h - k h} - 2\) is evaluated for a range of values of \(\kappa h\) in \([-0.1, 20]\). Looking for an approximation as small as possible, we start by evaluating the function at a few reference points and fit a Prony decomposition with few exponentials. If the resulting accuracy computed with more reference evaluations of the function is not sufficient, the number of points and the number of exponentials is increased (until a maximal value of 30 exponential terms).

Because of the singularity, the expression above cannot be evaluated when \(\kappa = k\), even if the function is mathematically smooth at this point. In Nemoh and in the legacy Fortran code of Capytaine, the function is replaced by a polynomial interpolation in \([k - \max(0.1, 0.1k), k + \max(0.1, 0.1k)]\) to avoid this. In practice we noticed that, in double floating point precision, the effect of the singularity on the computational accuracy is restricted to a much smaller interval. Instead of patching the function, we add some small noise on the choice of the reference points ensure that among the several tries with different resolutions, most of them will not hit the singularity.

A remaining issue with this method is the second singularity of \(F\): the function has another pole of opposite sign in \(\kappa = -k\). When \(kh\) is small, this singularity interferes with the evaluation of the Prony decomposition (see also GH635). For this reason, it is currently not possible to compute finite depth problems in Capytaine with \(kh < 0.1\).

Asymptotics

Deep water asymptotics

When \(h \rightarrow \infty\), we have

(138)\[F(\kappa) \sim_{h \rightarrow \infty} 2 \frac{\kappa + k}{\kappa - k}\]

and (116) becomes:

(139)\[-4 \pi G(x, \xi, \omega, h) = \frac{1}{|x - \xi|} + \int_0^\infty \frac{\kappa + k}{\kappa - k} e^{\kappa(x_3 + \xi_3)} J_0 \left(\kappa r \right) d \kappa\]

recovering the expression found in Green function in infinite depth.

Alternatively, showing that

(140)\[A(kh) \sim_{h \rightarrow \infty} 4 kh\]

and

(141)\[F_1(\kappa) \sim_{h \rightarrow \infty} 2\]

hence

(142)\[\forall i \ge 1, \quad a_i(kh) \sim_{h \rightarrow \infty} 0\]

makes (129) simplify as follows

(143)\[\begin{split}-4 \pi G(x, \xi, h) & = \frac{1}{\sqrt{r^2 + (x_3-\xi_3)^2}} + \cancel{\frac{1}{\sqrt{r^2 + (x_3 - \xi_3 - 2h)^2}}} + \cancel{\frac{1}{\sqrt{r^2 + (x_3 - \xi_3 + 2h)^2}}} \\ & \qquad + \cancel{\frac{A(kh)}{4h} \mathcal{G}^+(r, x_3 - \xi_3 - 2h)} + \cancel{\frac{A(kh)}{4h} \mathcal{G}^+(r, -(x_3 - \xi_3 + 2h))} \\ & \qquad \qquad + \sum_{i=1}^N \cancel{\frac{a_i}{2} \frac{1}{\sqrt{r^2 + (x_3 - \xi_3- 2h - \lambda_i h)^2}}} + \sum_{i=1}^N \cancel{\frac{a_i}{2} \frac{1}{\sqrt{r^2 + (x_3 - \xi_3 + 2h + \lambda_i h)^2}}} \\ & + \cancel{\frac{1}{\sqrt{r^2 + (x_3 + \xi_3 + 2h)^2}}} + \frac{1}{\sqrt{r^2 + (x_3 + \xi_3)^2}} + \cancel{\frac{1}{\sqrt{r^2 + (x_3 + \xi_3 + 4h)^2}}} \\ & \qquad + \frac{A(kh)}{4h} \mathcal{G}^+(r, x_3 + \xi_3) + \cancel{\frac{A(kh)}{4h} \mathcal{G}^+(r, -(x_3 + \xi_3 + 4h))} \\ & \qquad \qquad + \sum_{i=1}^N \cancel{\frac{a_i}{2} \frac{1}{\sqrt{r^2 + (x_3 + \xi_3 - \lambda_i h)^2}}} + \sum_{i=1}^N \frac{a_i}{2} \cancel{\frac{1}{\sqrt{r^2 + (x_3 + \xi_3 + 4h + \lambda_i h)^2}}}\end{split}\]

hence

(144)\[-4 \pi G(x, \xi, h) = \frac{1}{\sqrt{r^2 + (x_3-\xi_3)^2}} + \frac{1}{\sqrt{r^2 + (x_3 + \xi_3)^2}} + k \mathcal{G}^+(r, x_3 + \xi_3)\]

where we also used the fact that

(145)\[\mathcal{G}^+(r, z) \rightarrow_{z\rightarrow -\infty} 0\]

Infinite frequency asymptotics

When \(k \rightarrow \infty\), we have

(146)\[F(\kappa) \sim - (1 + \tanh(\kappa h)) = - 2 \frac{1}{1 + e^{-2 \kappa h}} = - 2 - 2 \sum_{i=1}^\infty (-1)^i e^{-2 i \kappa h}\]

There is no \(\kappa - k\) singularity directly visible anymore at the high-frequency asymptotics, so no infinite-depth wave terms, only Rankine terms are left.

Note

(147)\[\lim_{k \rightarrow \infty} \lim_{\kappa \rightarrow \infty } F(\kappa) = 2 \neq \lim_{\kappa \rightarrow \infty} \lim_{k \rightarrow \infty } F(\kappa) = -2\]

because the \(\kappa - k\) singularity is still around and messing with us.

A Prony decomposition of \(F\) can be written as

(148)\[a_i = - 2 (-1)^i, \qquad \lambda_i = 2i\]

and the Green function reads

(149)\[\begin{split}& -4 \pi G(x, \xi, h) \\ & = \frac{1}{\sqrt{r^2 + (x_3-\xi_3)^2}} - \frac{1}{\sqrt{r^2 + (x_3 - \xi_3 - 2h)^2}} - \frac{1}{\sqrt{r^2 + (x_3 - \xi_3 + 2h)^2}} \\ & \qquad \qquad - \sum_{i=1}^\infty (-1)^i \frac{1}{\sqrt{r^2 + (x_3 - \xi_3- 2(1+i)h)^2}} - \sum_{i=1}^\infty (-1)^i \frac{1}{\sqrt{r^2 + (x_3 - \xi_3 + 2( 1 + i)h)^2}} \\ & + \frac{1}{\sqrt{r^2 + (x_3 + \xi_3 + 2h)^2}} - \frac{1}{\sqrt{r^2 + (x_3 + \xi_3)^2}} - \frac{1}{\sqrt{r^2 + (x_3 + \xi_3 + 4h)^2}} \\ & \qquad \qquad - \sum_{i=1}^\infty (-1)^i \frac{1}{\sqrt{r^2 + (x_3 + \xi_3 - 2 i h)^2}} - \sum_{i=1}^\infty (-1)^i \frac{1}{\sqrt{r^2 + (x_3 + \xi_3 + 2 (2 + i) h )^2}}\end{split}\]

or equivalently

(150)\[\begin{split}& -4 \pi G(x, \xi, h) \\ & = - \sum_{i=0}^\infty (-1)^i \frac{1}{\sqrt{r^2 + (x_3 - \xi_3- 2(1+i)h)^2}} - \sum_{i=0}^\infty (-1)^{i+1} \frac{1}{\sqrt{r^2 + (x_3 - \xi_3 + 2 i h)^2}} \\ & \qquad - \sum_{i=0}^\infty (-1)^i \frac{1}{\sqrt{r^2 + (x_3 + \xi_3 - 2 i h)^2}} - \sum_{i=0}^\infty (-1)^{i+1} \frac{1}{\sqrt{r^2 + (x_3 + \xi_3 + 2 (1 + i) h )^2}}\end{split}\]

That is an infinity of identical (up to the sign) reflected Rankine terms meant to enforce the boundary conditions

(151)\[\Phi = 0, \text{ on } z = 0, \qquad \frac{\partial \Phi}{\partial z} = 0, \text{ on } z = -h.\]

Zero frequency asymptotics

As discussed in Evaluation of the Prony decomposition, the function \(F\) has a second singularity in \(\kappa+k\) cancelling out the \(\kappa-k\) singularity for \(k = 0\).

(152)\[F(\kappa) \sim \frac{1 + \tanh(\kappa h)}{\tanh(\kappa h)} = 2 + 2 \sum_{i=1}^\infty e^{-2 i \kappa h}\]

which would result in a infinite sum of Rankine kernels, similarly to the infinite-frequency case, ensuring the zero-frequency boundary conditions:

(153)\[\frac{\partial \Phi}{\partial z} = 0, \text{ on } z = 0, \qquad \frac{\partial \Phi}{\partial z} = 0, \text{ on } z = -h.\]

This is currently not implemented in Capytaine.

Gradient of the Green function

We already know from Green function in infinite depth how to compute the derivative of all the terms constituing the finite depth Green function.