The 1D Fokker-Planck equation (FPE) is one of the most consequential equations of particle transport theory. Small angle scattering of electrons and photons played a significant role in the early universe before the combination of protons and electrons to form the hydrogen atom allowing photons to scatter to the greater universe as the Cosmic Microwave Background (CMB) we see today. Here, we present a new method to solve the FPE employing adding and doubling as proposed by van de Hulst.1 Our approach is in contrast to previously published solutions, such as response matrix,2 finite differences3 and eigenfunction expansion4 and offers the simplicity of the direct numerical solution of a first order ODE. For its solution we choose adding and doubling, which had proven to be one of the more precise methods of solution of the transport equation.5
We begin with the formation of the discrete ordinate approximation to the FPE. The formulation includes the discretization of the angular Laplacian required to preserve the first and second moments of particle intensity. The first order form of the equation naturally leads to a matrix exponential solution for which we employ a Crank Nicolson numerical approximation. By an appropriate choice of exponential approximation, we find the response matrix, which gives the exiting angular intensity in terms of the incoming intensity. Finally, we evaluate the matrix multiplications to give our final numerical benchmark of exiting intensities for angularly uniform incoming intensities to which we compare to the response matrix benchmark of Ref. 2.
The SN equations
The 1D Fokker-Plank equation (FPE) without volume source is
(1a)
The solution is to include half-range boundary conditions
(1b)
at the boundaries x = 0 and a of a slab of width a. The momentum transfer,
, (1c)
also known as the transport cross section is characteristic of the FPE, where g is the average scattering cosine.
The method of adding and doubling requires discretization of both direction μ and spatial variable z, though spatial discretization has an analytical element to it. We first consider the directional (or angular) discretization, following from the N zeros of the Legendre Polynomial on the full-range interval [-1,1]
. (2a)
The discretization [also called the Sn (Segment N) approximation], where
(2b)
forms the basis of the discretized solution. Note that 2N assumes the role of quadrature order in the discrete ordinates solution of the radiative transfer equation and the zero ordinate is necessarily avoided since 2N is even.
Applying the Sn approximation, the exact solution relates to the approximate as
. (3a)
is the discretization error, and the Sn balance equation is
. (3b)
is the discretized FP operator,4,6
(4a)
expressed as2
(4b)
with
(4c)
For
(4d)
which is the corresponding Gauss quadrature weight for the prescribed ordinate at m.
If one defines the L matrix as
(5a)
with
; (5b)
then the balance equation, Eq(3b), becomes the following set of first order ODEs:
. (6a)
with
(6b)
Equation (6a) is to be resolved numerically within the slab; but for this presentation, we only report the exiting intensity at slab boundaries.
Before continuing, some additional explanation is in order to complete the derivation of the Sn equations. We have chosen the full-range discretization rather than the half- range over [-1,0),(0,1] since there is evidence that full-range gives better precision.2 Secondly, there are at least three known discretizations for the angular Laplacian. The one chosen preserves the diffusion limit in that the zeroth and first moments of the intensity are exact for the given quadrature order 2N.
The Response Matrix
A reformulated Eq(6a) is
(7a)
with formal solution in spatial cell of thickness h = zn+1-zn,
, (7b)
since A is independent of z.
To initiate a Crank-Nicolson finite difference approximation, the exponential in Eq(7b) is re-cast as
(8a)
and introducing the first two terms of the Taylor series for the exponential approximation
(8b)
giving
. (8c)
The spatial approximation across a single cell then follows as
. (8d)
Since the 1D transport equation tracks particles in either the forward or the backward directions away from the near and far boundaries, one considers the drift in each direction separately, with coupling through scattering. Of course, this is a convenient consequence of the half-range boundary conditions. Thus, we identify the forward (+) and backward (-) components as
(9a)
and when introduce into the spatial approximation
(9b)
gives, on re-arranging and matrix partitioning
. (9c)
The cell input and output is explicitly shown in Figure 1. By expanding the matrix multiplication.
Figure 1 Cell input and output.
(10a)
and re-arranging so that the incoming intensities are on the RHS and the outgoing on the LHS results in
. (10b)
Inverting for the outgoing intensities from both boundaries gives
(11a)
and the response matrix emerges as
. (11b)
Thus, we have successfully obtained an approximation to the response of an infinitesimal slab to boundary inputs. Note that the response is independent of the boundary intensities and depends only on slab properties and thickness--but we still require the response over the entire slab, so we will now add and double.
Adding and doubling
Once we find the response for a single small slab of any thickness, the interaction principle enables construction of the cumulative response for any number of slabs through adding.
We consider the response for two identical slabs as shown in Figure 2 each with response matrix R. Writing out the complete response for each slab, we have
(12a,b)
(12c,d)
and expanding the products
(13a,b,c,d)
Expressing the ingoing and outgoing intensities at the combined slab center interface with Eqs(13a,d) gives
, (14a)
and the incoming and outgoing for the second slab from Eqs(13b,c) gives
. (14b)
On solving Eq(14a), there results
, (15a)
where
(15b)
and introducing Eq(15a) into Eq(14b), gives the following combined response of two slabs:
(16a)
with
. (16b)
Doubling then follows by considering the two slabs as one with response R2 and replacing the components of R2 with those of R2 in Eqs(16b) to produce R4 for the combination of two by two slabs into the response for four slabs. We continue the replacement until the entire original slab is covered. Thus, for a single slab of width a, partitioned into 2l sub-slabs to give h = a/2l, it takes l doublings to find the total slab response
across the slab of width a.
Numerical Demonstration
Figure 3 shows the intensities exiting the boundaries. The circle
Figure 3 Exiting intensities for 2N=1600, l = 9 (15s CPU).
symbols are the 11 edits found in Table 1. The physical parameters for this case are
The plots are identical to those of Refs 2-4 and are insensitive to spatial discretization for l > 8.
As a further measure of precision, Table 1 gives a cubic spline approximation to 11 intensity edits exiting the surfaces for quadrature orders 2N =800(100)1600 and l = 9. The computational time was about 1min on a Dell Precision 2.4 Ghz PC. The last panel is in complete agreement with the results of the response matrix.2 The last two columns give the relative error from consecutive panels indicating improvement with quadrature order. The most significant observation is that one achieves six-place precision and that four places are guaranteed for 2N
800.