Difference between revisions of "Computation of Infinite Depth Green's Function"
Line 101: | Line 101: | ||
<center><math> | <center><math> | ||
− | g_{1n}(x)=\frac12\int_\ | + | g_{1n}(x)=\frac12\int_{-\infty}^\infty\frac{\mbox{e}^{\mbox{i} kx}\mbox{d} k}{\kappa(\alpha_n^2-k^2)} |
</math></center> | </math></center> | ||
Revision as of 06:30, 25 December 2006
The normal incidence Green's function for infinite depth has already been published Squire and Dixon 2000, Dixon and Squire 2001, the solution being expressed in terms of the auxilary sine and cosine integrals, or equivalently in terms of the exponential integral (see Appendix~36). Similarly, the finite depth Green's function was derived by \can{EP03crack} and was also presented in Section~\ref{sec-fdGF} of this thesis for both normal and oblique incidence. However, at present, the required derivatives [math]\displaystyle{ g^{(n)}(x) }[/math] of the infinite depth Green's function for oblique incidence may only be calculated exactly when [math]\displaystyle{ x=0^\pm }[/math]. Formulae for these quantities were published by \can{WS02} and are also derived below in Appendix~27. Although the aforementioned derivatives may be calculated when [math]\displaystyle{ x\neq0 }[/math] by Fast Fourier Transform, as shown in Section~\ref{sec-GFinf}, this is often not the most efficient approach, especially when the Green's function is only required to be evaluated at a few points. The following two sections outline two approaches that are more suitable for such a scenario.
The first uses a partial fractions decomposition to reduce them (the required derivatives of [math]\displaystyle{ g }[/math], or more specifically of [math]\displaystyle{ g_1 }[/math]) into the sum of five simpler transforms which each satisfy linear inhomogeneous second order ordinary differential equations (ODEs). The inhomogeneous term is the zeroth order modified Bessel function of the second kind, [math]\displaystyle{ K_0 }[/math], which has a standard series representation \cite[p375]{AS65}. Using a method that is similar to both the Method of Undetermined Coefficients \cite[p164ff.]{BP97} and the Method of Frobenius \cite[p262ff.]{BP97}, we search for solutions that have similar expansions to that of [math]\displaystyle{ K_0 }[/math], and obtain simple recurrence relations for the series coefficients. The series obtained are convergent for all values of [math]\displaystyle{ x }[/math], with less terms needed in the expansion when [math]\displaystyle{ x }[/math] is smaller.
A second approach, which uses a contour integral to transform the inversion integral into one that may be calculated more easily by numerical quadrature, is more efficient for larger values of [math]\displaystyle{ x }[/math]. It is described below in Section~19, but first we will introduce the series expansion method.
Note that in both methods it is assumed in their derivations that the poles [math]\displaystyle{ \alpha_n }[/math] have imaginary part greater than zero. However, it will be seen that the final expressions for [math]\displaystyle{ g }[/math] retain the same form in the limits as any poles that need to be are allowed to return to the real line. Consequently, all results hold for any value of [math]\displaystyle{ \varpi }[/math].
Series Expansion
As stated in the introduction to this appendix, the series representation of [math]\displaystyle{ g_1(x) }[/math] is obtained by breaking it up into the sum of five simpler transforms which each satisfy a different ODE. Section~3 presents this decomposition and derives the ODEs that they satisfy. Section~10 solves these ODEs by proposing series solutions of a particular type, which are similar to the series expansion of the inhomogeneous term (a modified Bessel function of the second kind).
Ordinary Differential Equations
From (\ref{g1hat-inf}), the Fourier transform of the [math]\displaystyle{ 2n }[/math]-th derivative of [math]\displaystyle{ g_1 }[/math] may be expanded by partial fractions as
where the [math]\displaystyle{ A_n }[/math] were defined in Section~\ref{sec-GFinf} as [math]\displaystyle{ A_n=-\gamma_n^3/\alpha_n(4\gamma_n^5+1) }[/math], and
Multiplying this by [math]\displaystyle{ \alpha_n^2-k^2 }[/math] gives the Fourier transform of the ODE
where [math]\displaystyle{ K_0 }[/math] is a zeroth order modified Bessel function of the second type AS65. For [math]\displaystyle{ |=Arg= (w)|\lt \pi }[/math], it has the expansion
where [math]\displaystyle{ \gamma_e }[/math] is the Euler constant, [math]\displaystyle{ \chi_m=\sum_{r=1}^m1/r }[/math], and [math]\displaystyle{ I_0 }[/math] is the modified Bessel function of the first kind \citeaffixed{AS65}{also given by}:
The coefficients [math]\displaystyle{ a_m }[/math] and [math]\displaystyle{ d_m }[/math] are given by [math]\displaystyle{ a_m=1/2^{2m}(m!)^2 }[/math] and if [math]\displaystyle{ \chi_0=0 }[/math], [math]\displaystyle{ d_m=\log2-\gamma_e+\chi_m }[/math], so the above series converges for all [math]\displaystyle{ w }[/math]. Thus we anticipate that series representations for the [math]\displaystyle{ g_{1n} }[/math] that satisfy (6) will also converge for all [math]\displaystyle{ x }[/math]. The [math]\displaystyle{ a_n }[/math] and [math]\displaystyle{ d_n }[/math] themselves may be calculated most efficiently by the recurrence relations [math]\displaystyle{ a_n=a_{m-1}/4m^2 }[/math] and [math]\displaystyle{ d_m=d_{m-1}+1/m }[/math], with [math]\displaystyle{ a_0=1 }[/math] and [math]\displaystyle{ d_0=\log2-\gamma_e. }[/math]\\
The [math]\displaystyle{ g_{1n} }[/math] should also satisfy the initial conditions
where the [math]\displaystyle{ q_n }[/math] can be evaluated analytically as shown in Section~27 below.
In addition, we know that even derivatives of [math]\displaystyle{ g_1 }[/math] are even functions, and that odd derivatives are odd functions (since their Fourier transforms are). Consequently values of [math]\displaystyle{ g_1^{(n)} }[/math] for negative [math]\displaystyle{ x }[/math] can be generated in an obvious fashion from their values at [math]\displaystyle{ -x }[/math], and so we will assume [math]\displaystyle{ x\gt 0 }[/math] from here on.
Trial Series Solution
We will solve equations (6) by using a variation of the Method of Frobenius to obtain individual series expansions for each of the [math]\displaystyle{ g_{1n} }[/math]. Letting [math]\displaystyle{ w=lx }[/math], [math]\displaystyle{ \alpha=\alpha_n/l }[/math], and [math]\displaystyle{ J(w)=l^2\big(g_{1n}(x)-q_n\cos\alpha_nx\big) }[/math], [math]\displaystyle{ J }[/math] should now satisfy
J(0^+)=J'(0^+)=0.(13)
\end{matrix}</math>We can see from their transforms that each of the [math]\displaystyle{ g_{1n} }[/math] are continuous, even, and have continuous first derivatives, but that they have logarithmic singularities in their second derivatives, and so we propose a trial solution for (11) of the form
which clearly satisfies (13). This has first derivative
enabling odd derivatives of [math]\displaystyle{ g_1 }[/math] to also be produced once the previous even one has been calculated. Proceeding to find [math]\displaystyle{ J }[/math], however, we now substitute our trial solution into the left hand side of (12), giving
Consequently, [math]\displaystyle{ J }[/math] will satisfy (11) if our [math]\displaystyle{ b_m }[/math] and [math]\displaystyle{ c_m }[/math] satisfy the recurrence relations
(2m+2)(2m+1)c_m+\alpha^2c_{m-1}=-a_m\quad&=for [math]\displaystyle{ m\geq1 }[/math]= ,(18)
\end{matrix}</math>and if [math]\displaystyle{ 2c_0=-a_0 }[/math] and [math]\displaystyle{ 2b_0=a_0d_0-3c_0 }[/math] (i.e., if [math]\displaystyle{ b_0=(\log2+3/2-\gamma_e)/2 }[/math] and [math]\displaystyle{ c_0=-1/2 }[/math]). The latter relation (18) implies that [math]\displaystyle{ |c_m/c_{m-1}|\to0 }[/math] as [math]\displaystyle{ m\to\infty }[/math], and so the series involving those coefficients in (14) will converge for all [math]\displaystyle{ w }[/math]. This also implies that the [math]\displaystyle{ c_m }[/math] themselves tend towards zero as [math]\displaystyle{ m\to\infty }[/math], and so we can also deduce from (17) that the ratio [math]\displaystyle{ |b_m/b_{m-1}| }[/math] will do the same for large [math]\displaystyle{ m }[/math]. Consequently, (14) will converge in entirety for all [math]\displaystyle{ w }[/math], although it will have a branch cut along the negative real axis due to the logarithmic factor.
Contour Integration
An alternative means of calculating [math]\displaystyle{ g }[/math] is by using contour integration to transform the inverse Fourier transform into an integral which is more easily evaluated numerically. This technique is more efficient for larger values of [math]\displaystyle{ x }[/math], but it turns out that the resulting integral may actually be evaluated analytically when [math]\displaystyle{ x=0 }[/math]. Section~20 explains the contour used and outlines the numerical method of approximation of the resulting integral for general [math]\displaystyle{ x }[/math] values, while Section~27 derives the formula for that integral when [math]\displaystyle{ x=0 }[/math].
Some additional simplifications can be obtained for normal incidence. We show that the integral for general [math]\displaystyle{ x }[/math] reduces to an expression involving the well-known and easily evaluated exponential integral function. This also acts as a further check on the oblique incidence results because the normal incidence results can be compared to those obtained by \can{DS01}. This is done in Section~36.
Derivation and Numerical Approximation
For larger values of [math]\displaystyle{ x }[/math], when the series expansions for the [math]\displaystyle{ g_{1n} }[/math] take longer to converge, we would like to transform the integral
into one that is easier to evaluate numerically. To do this we close the contour in the upper half plane, allowing for the pole at [math]\displaystyle{ k=\alpha_n }[/math] and the branch cut along the line [math]\displaystyle{ k=\mbox{i}\times[l,\infty) }[/math]. Thus we can write
where [math]\displaystyle{ \epsilon_n=\mbox{sgn}\big(\mathfrak{Re}[\gamma_n]\big) }[/math], and
The [math]\displaystyle{ \epsilon_n }[/math] results from defining the square root in [math]\displaystyle{ \kappa }[/math] as having a branch cut along the negative real axis. Consequently, [math]\displaystyle{ \sqrt{a_n^2+l^2}=\epsilon_n\gamma_n }[/math] in the residue of [math]\displaystyle{ g_{1n} }[/math] at [math]\displaystyle{ \alpha_n }[/math]. In addition, [math]\displaystyle{ \kappa }[/math] in the left hand integral in (22) is taken from the positive imaginary axis.
Now let us define the analogous sum to (4):
From (21), we now can write the relationship between [math]\displaystyle{ g_1 }[/math] and [math]\displaystyle{ g_3 }[/math]:
Adding [math]\displaystyle{ g_0 }[/math] to [math]\displaystyle{ g_1 }[/math] then enables us to write [math]\displaystyle{ g(x)=g_2(x)+g_3(x) }[/math], where
This confirms the results (\ref{g2a}) and (\ref{g3a}), which were obtained by taking the limit in (\ref{g}) as [math]\displaystyle{ H\to\infty }[/math] directly.
[math]\displaystyle{ g_3(x) }[/math] as given by (23) is an integral that is more amenable to calculation by numerical quadrature than the inverse Fourier transform [math]\displaystyle{ g_1 }[/math]. The integrand will never have any singularities on the real line and, because it is also [math]\displaystyle{ O(\mbox{e}^{-kx}) }[/math] as [math]\displaystyle{ k\to\infty }[/math], [math]\displaystyle{ g_3 }[/math] will be infinitely differentiable for [math]\displaystyle{ x\gt 0 }[/math]. However, since the non-exponential factor is only [math]\displaystyle{ O(k^{-9}) }[/math] as [math]\displaystyle{ k\to\infty }[/math], its eighth derivative will be singular at the origin, as was mentioned in Section~\ref{sec-gsing}.
When [math]\displaystyle{ \theta=0 }[/math], [math]\displaystyle{ g_3 }[/math] may be calculated analytically in terms of the exponential integral [math]\displaystyle{ E_1 }[/math] as described below in Section~36. First, however, we will show how any derivative of [math]\displaystyle{ g_3 }[/math] may be efficiently calculated for oblique incidence.
Differentiating (23) [math]\displaystyle{ n }[/math] times gives
where [math]\displaystyle{ t=(\kappa-l)x }[/math]. This integral may now be found using generalised Gauss-Laguerre integration, using the weight function [math]\displaystyle{ t^{1/2}\mbox{e}^{-t} }[/math]. The remainder of the integrand will now be relatively smooth, with the exception of the [math]\displaystyle{ \sqrt{t+2lx} }[/math] term which has a branch cut on the line [math]\displaystyle{ (-\infty,-2lx] }[/math]. However, we don't need to integrate over that singularity and the larger [math]\displaystyle{ x }[/math] gets the further it moves away from the region of integration. Hence, the integral will converge faster for larger values of [math]\displaystyle{ x }[/math]. Also note that (26) shows that [math]\displaystyle{ g_3^{(n)} }[/math] decays exponentially as [math]\displaystyle{ x\to\infty }[/math].
Exact Calculation of Derivatives at the Origin
Equation (22) when [math]\displaystyle{ x=0 }[/math] is
where
and we have made the transformation [math]\displaystyle{ \kappa=l(1+w^2)/(1-w^2) }[/math]. If we also define [math]\displaystyle{ \b }[/math] and [math]\displaystyle{ \gamma }[/math] by the relations [math]\displaystyle{ \b^2=(\alpha+\mbox{i} l)/(\alpha-\mbox{i} l) }[/math] and [math]\displaystyle{ \b=\gamma/(\alpha-\mbox{i} l)=(\alpha+\mbox{i} l)/\gamma }[/math] (so that [math]\displaystyle{ \gamma^2=\alpha^2+l^2 }[/math]), (29) becomes
To simplify (30), we choose [math]\displaystyle{ \b }[/math] to be the square root from the upper half plane (which also implies that [math]\displaystyle{ 1+\b }[/math] is in the upper half plane, and that [math]\displaystyle{ \log(-\b)=\log\b-\mbox{i}\pi }[/math]). [math]\displaystyle{ 1-\b }[/math] will then be in the lower half-plane so the quotient [math]\displaystyle{ (1+\b)/(1-\b) }[/math] corresponds to an anti-clockwise rotation of [math]\displaystyle{ 1+\b }[/math]. Potentially this could rotate [math]\displaystyle{ 1+\b }[/math] across the branch cut in the logarithm on the negative real axis, but it can be shown explicitly that with our choice of [math]\displaystyle{ \b }[/math] the aforementioned quotient remains in the upper half plane. Thus, the normal logarithm rules for quotients hold, and so (30) may be written
Note that the above expression is even in [math]\displaystyle{ \gamma }[/math], so it doesn't matter after all which root we choose for it. Thus,
where [math]\displaystyle{ \Theta_n=(\gamma_n+\alpha_n)/(\gamma_n-\alpha_n) }[/math]. The latter step is justifed since if [math]\displaystyle{ \im[\alpha_n]\gt 0 }[/math] the argument of the first logarithm will be in the first quadrant, while the argument of the second logarithm will be in the second quadrant. This means that we can now write
Now, for small [math]\displaystyle{ l }[/math], [math]\displaystyle{ \alpha_n\sim\epsilon_n\gamma_n\big(1-l^2/2\gamma_n+O(l^4)\big) }[/math], where [math]\displaystyle{ \epsilon_n=\mbox{sgn}(\im[\gamma_n]) }[/math], so at first glance it seems like the above expression will become singular as [math]\displaystyle{ l\to0 }[/math]. However, this is not the case. If we define [math]\displaystyle{ A'_n=A_n\alpha_n/\gamma_n=-\gamma_n^2/(4\gamma_n^5+1) }[/math], [math]\displaystyle{ A_n\sim\epsilon_nA_n'+O(l^2) }[/math] and it is easily shown that for [math]\displaystyle{ n=0,1,2,3 }[/math] they satisfy the rules
which are similar to those presented by \can{SD00}. Thus as [math]\displaystyle{ l\to0 }[/math],
Normal Incidence Simplification
An alternative expansion to (28) for the [math]\displaystyle{ g_{3n} }[/math] is
Using the rules (34) to eliminate the Bessel function [math]\displaystyle{ K_0 }[/math], we can thus write the [math]\displaystyle{ 2n }[/math]-th derivative of [math]\displaystyle{ g_3 }[/math] as
Now, if we let [math]\displaystyle{ \theta\to0 }[/math], [math]\displaystyle{ l\to0 }[/math], [math]\displaystyle{ \alpha_n^2\to\gamma_n^2 }[/math], and [math]\displaystyle{ \kappa\to k }[/math] on the real line, (38) becomes
where [math]\displaystyle{ E_1 }[/math] is the well-known exponential integral function \cite[p228ff.]{AS65} defined as follows
Note that, since no imaginary solutions exist for the infinite depth dispersion relation, [math]\displaystyle{ \big|=Arg= [\pm \mbox{i}\gamma_nx]\big|\lt \pi }[/math], so the above formulae are valid. Also note that the [math]\displaystyle{ g_3^{2n} }[/math] will be everywhere bounded, despite the logarithmic singularities in [math]\displaystyle{ E_1 }[/math]. This also follows from the rules (34), allowing us to deduce that taking the limit in (39) as [math]\displaystyle{ x\to0^+ }[/math] gives
which agrees with (35). Recalling that [math]\displaystyle{ A_n\to\mbox{sgn}(\mathfrak{Im}[\gamma_n])A_n' }[/math] as [math]\displaystyle{ l\to0 }[/math], adding [math]\displaystyle{ g_2^{(2n)}(0^+) }[/math] to (41) and using (34) to simplify the product, then gives the following result for [math]\displaystyle{ g^{(2n)}(0^+) }[/math] itself:
The above result is unstable as [math]\displaystyle{ \gamma_2 }[/math] becomes negative and so is only reliable for [math]\displaystyle{ \varpi\gt \varpi_\infty }[/math]. For a result that holds for all [math]\displaystyle{ \varpi }[/math], use (42) and the ordinary definition of [math]\displaystyle{ g_2 }[/math].
Odd derivatives of [math]\displaystyle{ g_3 }[/math] may also be obtained by differentiating (39) directly, again making use of (40) and also (34) to eliminate any [math]\displaystyle{ 1/x }[/math] type singularities produced. Thus,
and so we can write the general [math]\displaystyle{ n^\mbox{th} }[/math] ([math]\displaystyle{ 0\leq n\leq7 }[/math]) derivative of [math]\displaystyle{ g_3 }[/math] as
Recall that from (\ref{god}) that we already know what values [math]\displaystyle{ g^{(2n+1)} }[/math] will take at the origin so there is no need to take the limit in (44) as [math]\displaystyle{ x\to0^+ }[/math]. In addition, we can also check the above results numerically by letting [math]\displaystyle{ l\to0 }[/math] and [math]\displaystyle{ \kappa\to k }[/math] in (25) and using generalised Gauss-Laguerre integration (with weight function [math]\displaystyle{ k^{n+1}\mbox{e}^{-kx} }[/math]).
A further confirmation of (45) can be obtained by checking the [math]\displaystyle{ n=0 }[/math] result against the equivalent result of \can{DS01}. Let us denote their nondimensional length variables as [math]\displaystyle{ x',z',\xi' }[/math] and [math]\displaystyle{ \zeta' }[/math], which equate to [math]\displaystyle{ x/a,z/a,\xi/a }[/math] and [math]\displaystyle{ \zeta/a }[/math] respectively. In their expression (6) for the Green's function in that scheme, which we shall denote [math]\displaystyle{ G_\mbox{SD} }[/math], the integral when [math]\displaystyle{ x'\gt \xi' }[/math] and [math]\displaystyle{ z',\zeta'\approx0 }[/math] is obtained by doubling the real part of equation (14b). Doing so, and then differentiating with respect to [math]\displaystyle{ \zeta' }[/math] followed by [math]\displaystyle{ z' }[/math] gives the result
where [math]\displaystyle{ \epsilon_n'=\sgn\big(\mbox{e}[\gamma_n]\big) }[/math]. The cosine term needs to be added to allow for the difference between taking the Cauchy Principal value of the integral (\ref{G1}) and letting the poles [math]\displaystyle{ \pm\alpha_0 }[/math] approach the real line from the upper or lower half plane as we did, while [math]\displaystyle{ g_\mbox{cos} }[/math] is the auxiliary cosine function AS65 which may be written as
Since the first summation in (46) is obviously [math]\displaystyle{ g_2(x) }[/math], the second sum must be [math]\displaystyle{ g_3(x) }[/math]. In light of the definition of [math]\displaystyle{ g_\mbox{cos} }[/math], the result presented by \can{DS01} clearly agrees with (45).