Response Matrix/Discrete Ordinates Solution of the 1D Fokker-Planck Equation
Abstract
The Fokker-Planck equation (FPE) is one of the quintessential equations of particle transport theory. Representing small angle scattering characteristics of electron and photon transport by differential scattering indeed is a mathematical/numerical challenge. Here, we address the challenge with the method of response matrix applied to the Sn approximation to arrive at a nearly six-place-precision benchmark. Our approach aligns with the response matrix solution of the radiative transfer equation for anisotropic scattering published previously. We conclude with the comparison of the response matrix benchmark to a classical finite difference approximation.
Full text
1 Response Matrix/Discrete Ordinates Solution of the 1D Fokker-Planck Equation B.D. Ganapol Aerospace and Mechanical Department University of Arizona Tucson Arizona, USA and O. Lopez Pouso Department of Applied Mathematics University of Santiago de Compostela Santiago de Compostela, Coruña, Spain ABSTRACT The Fokker-Planck equation (FPE) is one of the quintessential equations of particle transport theory. Representing small angle scattering characteristics of electron and photon transport by differential scattering indeed is a mathematical/numerical challenge. Here, we address the challenge with the method of response matrix applied to the SN approximation to arrive at a nearly six place precision benchmark. Our approach aligns with the response matrix solution of the radiative transfer equation for forward peaked scattering previously published. We conclude with the application of the benchmark to a finite difference approximation. I. INTRODUCTION Appropriate characterization of particle scattering is crucial in any transport application. For neutrons, there is the scattering phase function, which generally is expressible as a Legendre polynomial expansion. For the FPE, say for electrons, the scattering is differential, but, like neutrons, has a matrix representation in the discrete ordinates sense. The matrix formulations for both neutrons and electrons enables application of the response matrix method of solution RM/DOM[1] previously applied for neutrons and photons. In extreme forward scattering however, such as required for detection of tumors by light or for screen-Rutherford scattering of electrons in cancer treatment, Fokker-Planck scattering could be an effective scattering model. Thus, our focus in this work is the application of response matrix theory for application of the 1D FPE, which is a new and promising application. We begin by specifying the discrete ordinates and their ordering, determined by the SN balance equation incorporating the discrete version of the directional FP operator. The formal exponential solution, leads to the evaluation of the matrix exponential through diagonalization, which we show to be equivalent to a spectral eigenfunction Manuscriot Click here to access/download;Manuscript;Response Matrix FPEqn ictt27.docx
3 positive directions from left to right and negative directions from right to left as shown in Fig. 1. The choice of how one discretizes is essentially arbitrary but we have found some choices may give better numerical results than others may. For example, for the integrated intensity or current density 12 1 1 12 1 1 , , N mm m N m m m m z d z z J z d z z (2a,b) the discrete ordinate ( j) should be chosen for precise integration over the entire range [-1,1]. Thus, the most common choices are halfrange (HR) and full range (FR) Legendre Gauss quadrature (LGQ) and Clenshaw-Curtis quadrature (CCQ). Once the discrete ordinates are fixed, the derivation of the solution is independent of the ordinates. After experimentation, our choice will be FRLGQ. Apparently, HRLGQ as used for the neutron transport equation[1] performs poorly for the FPE. The discrete ordinates for FRLGQ come from the zeros of the Legendre Polynomials of degree 2N 20; 1,2,...,2 Nj P j N , (3) where j algebraically descends over the interval [1,-1]. The ordinates are formed into two sets algebraically descending in each half range Renamed Renamed ; 1,..., ; ,...,1 ; 1,...,2 ; 1,..., . jj jj j N j N j N N j N (4a,b) In vector notation, the two disjoint sets form a single set to define as 1 2 2 ... T T N , (4c) with corresponding quadrature weights
4 ; ,...,1 ; 1,..., j j jN jN (5a,b) T . (5c) It is important to note the complementary ordering of each directional set-- the reason becomes clear in the Appendix, where the angular Laplacian operator 2,z is finite differenced according to the Morel scheme[5] to preserve the zeroth and first moments. Once we have specified the vectors of Eqs(4a,b) and (5b), any symmetric quadrature set is permissible, such as for finite difference found in Ref [6], as long as the numbering convention is obeyed. In general, however, the zero and first moments of the intensity may not be preserved. 2. Angular Discretization of the FPE The partitioned intensity vector formed by vectors in forward and backward directions is z zz , (6a) where (6b) As discretized, the FP balance equation becomes 0 , dz z dz a A fg (7a,b) where 11 12 11 1 2 2 .... .... NN N T NN T N N N z z
7 1 . Nk k z z z diag e z diag e (11c,d) The solution therefore becomes 10 z zz 0 0 TT . (12) Continuing, if one partitions T into four square matrices each of size N 12 34 TT TTT (13a) and similarly partitions 1 12 112 34 34 TT TT TTT TT , (13b) the exponential matrix becomes 12 12 34 34 zz ez 0 0 ATT TT TT TT . (14) An alternative representation is possible by considering the transpose AT satisfying ; 1,..., Tk k k kN A X X , (15a) where the eigenvalues are identical to those of matrix A. Assuming k X and k T are normalized such that 1 T kk XT , (15b) then
8 1TTX ; (15c) and Eq(14) becomes 1 2 1 2 3 4 3 4 T zz ez 0 0 AT T X X T T X X , (16a) with 12 34 XX XXX (16b) implying 13 24 TT T TT XX XXX (16c) and 12 13 34 24 TT z TT z ez 0 0 ATT XX TT XX . (17) C. Superposition of Eigenfunctions 1. Without Scaling Equation (17), while disguised, represents the matrix of eigenfunctions for the solution expansion. To see this and to reproduce the solution corresponding to that of Ref [2], we first do the matrix multiplication explicitly in Eq(17) 1 1 2 2 1 3 2 4 3 1 4 2 3 3 4 4 T T T T z T T T T z z z z ez z z z AT X T X T X T X T X T X T X T X (18a) and then decompose into a sum of the matrices
9 1 1 1 3 3 1 3 3 2 2 2 4 4 2 4 4 TT TT TT TT zz zzz zz zzz T X T X WT X T X T X T X WT X T X (18b,c) to give z e z z AWW . (18d) The explicit matrix multiplications give the following matrix elements for indices (r,s) = 1,…,4 and (i,j)=1,…,N 1,, 1 ,, 1 . Nk k Nz TT r s r ik s kj ij k Nz TT r s r ik s kj ij k z e T X z e T X TX TX (19) On substitution 12 34 12 34 , z z W W WW W W W WW W (20a) into Eqs(18b,c), the matrix exponential becomes 11 11 1, 1, 1, 3, 2, 2, 2, 4, 1 1 1 1 3, 1, 3, 3, 4, 2, 4, 4, 1 1 1 1 N k N k k k N k N k k k N N N N z z z z T T T T k k k k k k k k k k k k z N N N N z z z z T T T T k k k k k k k k k k k k e e e e e e e e e A T X T X T X T X T X T X T X T X . (20b) By extracting the common summation from each element, there results
16 12 4 34 1 a a fTT = gTT . (36c) Solving for the coefficients yields 1 12 4 34 1 . a a TT f TT g (37) Next, evaluating, Eqs(36a) at z = a and 0 respectively 12 1 34 4 0 aa a TT TT (38a) or 12 1 34 4 0 a a a TT TT (38b) and substituting Eq(37), we find 0 a f Rg , (39a) where the response matrix without unbounded exponentials is 1 1 2 1 2 14 3 4 3 4 41 aa aa T T T T RT T T T . (39b) Finally, Eq(34b) with Eq(36d) gives the interior intensity
17 1 1 2 1 2 1 4 4 3 4 3 4 1 4 1 z a z a zz a z a T T T T f T T T T g . (40) We are now ready for numerical demonstrations. III. Numerical Implementation A. First Benchmark Demonstration A MATLAB program is available to find the exiting intensities and the spatial variation of the intensity from Eqs(39) and (40) for a 1cm thick slab with the following properties: 1 0.02cm , 1 0.01cm , 0.99, 1g a cm . (41a) with boundary conditions f = 1, g = 2. (41b) Table 1 shows the progression of convergence of the angular reflectance 0 and transmittance a with quadrature order 2N. We find 11 angular fluxes for each quadrature approximation. The last two columns give the relative error between consecutive quadrature. The discrepant digits with respect to the last tabular entry (2N = 1600), which is expected to be precise to its last digit, are marked in bold in each 2N approximation. As observed, 5-place precision is maintained after 2N = 600. For N = 1400 and 1600, all but two entries are off by one digit in the sixth place. Table I. Reflectance and Transmittance 2N= 400 Ref Trn RelErr/Ref RelErr/Trn 1.00e+00 1.000000e+00 9.799971e-01 0.00e+00 2.76e-08 8.00e-01 1.000000e+00 9.747933e-01 0.00e+00 1.10e-07 6.00e-01 1.000000e+00 9.678615e-01 0.00e+00 1.00e-05 4.00e-01 1.000000e+00 9.937384e-01 0.00e+00 3.01e-06 2.00e-01 1.000000e+00 1.166696e+00 0.00e+00 3.66e-05 0.00e+00 1.000000e+00 2.000000e+00 0.00e+00 0.00e+00 -2.00e-01 1.546495e+00 2.000000e+00 1.82e-05 0.00e+00 -4.00e-01 1.817811e+00 2.000000e+00 1.72e-05 0.00e+00 -6.00e-01 1.925804e+00 2.000000e+00 7.13e-06 0.00e+00 -8.00e-01 1.949563e+00 2.000000e+00 4.96e-07 0.00e+00 -1.00e+00 1.959994e+00 2.000000e+00 2.76e-08 0.00e+00
18 2N= 600 1.00e+00 1.000000e+00 9.799972e-01 0.00e+00 5.11e-09 8.00e-01 1.000000e+00 9.747933e-01 0.00e+00 2.01e-08 6.00e-01 1.000000e+00 9.678597e-01 0.00e+00 1.87e-06 4.00e-01 1.000000e+00 9.937390e-01 0.00e+00 5.42e-07 2.00e-01 1.000000e+00 1.166704e+00 0.00e+00 6.87e-06 0.00e+00 1.000000e+00 2.000000e+00 0.00e+00 0.00e+00 -2.00e-01 1.546490e+00 2.000000e+00 3.38e-06 0.00e+00 -4.00e-01 1.817805e+00 2.000000e+00 3.18e-06 0.00e+00 -6.00e-01 1.925806e+00 2.000000e+00 1.33e-06 0.00e+00 -8.00e-01 1.949563e+00 2.000000e+00 9.19e-08 0.00e+00 -1.00e+00 1.959994e+00 2.000000e+00 5.12e-09 0.00e+00 2N= 800 1.00e+00 1.000000e+00 9.799972e-01 0.00e+00 1.79e-09 8.00e-01 1.000000e+00 9.747933e-01 0.00e+00 7.01e-09 6.00e-01 1.000000e+00 9.678590e-01 0.00e+00 6.56e-07 4.00e-01 1.000000e+00 9.937391e-01 0.00e+00 1.88e-07 2.00e-01 1.000000e+00 1.166707e+00 0.00e+00 2.42e-06 0.00e+00 1.000000e+00 2.000000e+00 0.00e+00 0.00e+00 -2.00e-01 1.546488e+00 2.000000e+00 1.18e-06 0.00e+00 -4.00e-01 1.817803e+00 2.000000e+00 1.11e-06 0.00e+00 -6.00e-01 1.925807e+00 2.000000e+00 4.67e-07 0.00e+00 -8.00e-01 1.949563e+00 2.000000e+00 3.22e-08 0.00e+00 -1.00e+00 1.959994e+00 2.000000e+00 1.79e-09 0.00e+00 2N=1000 1.00e+00 1.000000e+00 9.799972e-01 0.00e+00 8.67e-10 8.00e-01 1.000000e+00 9.747933e-01 0.00e+00 3.27e-09 6.00e-01 1.000000e+00 9.678587e-01 0.00e+00 3.04e-07 4.00e-01 1.000000e+00 9.937392e-01 0.00e+00 8.63e-08 2.00e-01 1.000000e+00 1.166708e+00 0.00e+00 1.12e-06 0.00e+00 1.000000e+00 2.000000e+00 0.00e+00 0.00e+00 -2.00e-01 1.546487e+00 2.000000e+00 5.48e-07 0.00e+00 -4.00e-01 1.817802e+00 2.000000e+00 5.13e-07 0.00e+00 -6.00e-01 1.925808e+00 2.000000e+00 2.16e-07 0.00e+00 -8.00e-01 1.949563e+00 2.000000e+00 1.49e-08 0.00e+00 -1.00e+00 1.959994e+00 2.000000e+00 8.31e-10 0.00e+00
19 2N=1200 1.00e+00 1.000000e+00 9.799972e-01 0.00e+00 4.59e-10 8.00e-01 1.000000e+00 9.747933e-01 0.00e+00 1.77e-09 6.00e-01 1.000000e+00 9.678586e-01 0.00e+00 1.65e-07 4.00e-01 1.000000e+00 9.937393e-01 0.00e+00 4.67e-08 2.00e-01 1.000000e+00 1.166709e+00 0.00e+00 6.11e-07 0.00e+00 1.000000e+00 2.000000e+00 0.00e+00 0.00e+00 -2.00e-01 1.546487e+00 2.000000e+00 2.98e-07 0.00e+00 -4.00e-01 1.817802e+00 2.000000e+00 2.78e-07 0.00e+00 -6.00e-01 1.925808e+00 2.000000e+00 1.18e-07 0.00e+00 -8.00e-01 1.949563e+00 2.000000e+00 8.09e-09 0.00e+00 -1.00e+00 1.959994e+00 2.000000e+00 4.49e-10 0.00e+00 2N=1400 1.00e+00 1.000000e+00 9.799972e-01 0.00e+00 3.03e-10 8.00e-01 1.000000e+00 9.747933e-01 0.00e+00 9.44e-10 6.00e-01 1.000000e+00 9.678585e-01 0.00e+00 9.96e-08 4.00e-01 1.000000e+00 9.937393e-01 0.00e+00 2.80e-08 2.00e-01 1.000000e+00 1.166709e+00 0.00e+00 3.69e-07 0.00e+00 1.000000e+00 2.000000e+00 0.00e+00 0.00e+00 -2.00e-01 1.546486e+00 2.000000e+00 1.80e-07 0.00e+00 -4.00e-01 1.817801e+00 2.000000e+00 1.68e-07 0.00e+00 -6.00e-01 1.925808e+00 2.000000e+00 7.09e-08 0.00e+00 -8.00e-01 1.949563e+00 2.000000e+00 4.89e-09 0.00e+00 -1.00e+00 1.959994e+00 2.000000e+00 2.74e-10 0.00e+00 2N=1600 1.00e+00 1.000000e+00 9.799972e-01 0.00e+00 6.02e-11 8.00e-01 1.000000e+00 9.747933e-01 0.00e+00 9.19e-10 6.00e-01 1.000000e+00 9.678584e-01 0.00e+00 6.49e-08 4.00e-01 1.000000e+00 9.937393e-01 0.00e+00 1.81e-08 2.00e-01 1.000000e+00 1.166710e+00 0.00e+00 2.40e-07 0.00e+00 1.000000e+00 2.000000e+00 0.00e+00 0.00e+00 -2.00e-01 1.546486e+00 2.000000e+00 1.17e-07 0.00e+00 -4.00e-01 1.817801e+00 2.000000e+00 1.09e-07 0.00e+00 -6.00e-01 1.925808e+00 2.000000e+00 4.61e-08 0.00e+00 -8.00e-01 1.949563e+00 2.000000e+00 3.17e-09 0.00e+00 -1.00e+00 1.959994e+00 2.000000e+00 1.75e-10 0.00e+00 The table required about 5 minutes of computing time on a Dell/Precision 2.4GHz PC.
22 The comparison shows excellent agreement between the two benchmarks, which are only off one digit in the fifth place and three digits in the sixth place. CONCLUSION Another approach to the solution of the Fokker-Planck equation with constant coefficients has been presented. Our method features diagonalization of the matrix exponential representing the analytical solution. The result is the solution found in Ref 2, but by straightforward linear algebra that defines the spectral eigenfunction expansion directly. The solution expressible in terms of a response matrix that is independent of boundary conditions depending only on slab properties and thickness. We then provide a solid 5-place benchmark for a 1600 quadrature to take its place in the literature. REFERENCES [1] Ganapol, B.D., The response matrix discrete ordinates solution to the 1D radiative transfer equation, JQSRT 154, pp. 72–90, 2015. [2] Kim, D. K. and Tranquilli, P. Numerical solution of the Fokker-Planck equation with variable coefficients, JQSRT 109, pp. 727–740, 2008. [3] Efremenko, D.S., et. al., A review of the matrix-exponential formalism in radiative transfer, JQSRT, 196, pp. 17–45, 2017. [4] Waterman, P.C., Matrix-exponential description of radiative transfer, J. Opt. Soc. Am., 71, pp. 410422, 1981. [5] Morel, J., An Improved Fokker-Planck Differencing Scheme, NSE, 89. pp131136, 1985. [6] López Pouso, Ó., Jumaniyazov, N., Numerical Experiments with the Fokker- Planck Equation in 1D Slab Geometry, JCTT, 45, pp. 184–201, 2016. [7] Moler, C, and Van Loan, C., Nineteen Dubious Ways to Compute the Exponential of a Matrix, Twenty-Five Years Later, SIAM Rev., 45, pp. 3–49, 2003.
23 APPENDIX: Discretization of the FP Laplacian Operator Define 2 m as the discretized approximation to the FP operator 22 , 1 m mm zz ,. (A1a) specified at a Gauss abscissa m. In between, each abscissae is an intermediate -1 1 abscissae, m+1/2 1/2 1, m m m (A1b) not necessarily at the cell center. We approximate the angular derivative on the intermediate abscissae as 11/2 1 1/2 ,. mm m mm m z z z (A2) On the abscissae, the approximate FP operator then becomes 22 1/2 1/2 1/2 1/2 22 1/2 1/2 11 , 1 m m m m m mm mm zz . (A3) To ensure the conservation of the zeroth and first moments, we replace 21/2 1m by 1/2m and 1/2 1/2mm by m 21/2 1/2 1/2 1/2 1 m m m m m m m z , (A4) and force the following two moments to be satisfied. ½ …… m-1 m-1/2 m m+1/2 m+1 …… 2N+1/2
24 For the zeroth moment 12 1 , 10 z d (A5a) or 22 1 0 N mm m (A5b) which gives from Eq(A4) 22 21/2 1/2 1/2 1/2 11 0 NN m m m m m m m mm z . (A5c) On cancellation 2 1/2 1/2 1/2 1/2 2 1/2 2 1/2 1/2 1/2 1 0 N m m m m N N m (A6a) satisfied if 2 1/2 1/2 0 0, N (A6b,c) and the zeroth moment holds. For the first moment, from two integrations by parts 11 2 11 , 1 2 , z d d z (A7a) and Gauss quadrature
25 22 2 11 2 NN m m m m m m m mm zz . (A7b) On substitution of Eq(A4) 2 1/2 1/2 1/2 1/2 1 20 N m m m m m m m m m z (A8a) and from the definition of Eq(A2) 11 21/2 1/2 11 1 0. +2 m m m m Nmm m m m m m m mm z z z z z (A8b) Gathering terms 11 1/2 1/2 211 11/2 1/2 1 11 20 mm mm Nm m m m m m m mmm m m m m m zz z z (A9) and re-indexing the first term in square brackets, we find 211 1/2 1/2 111 Nmm m m m mm m m m z (A10a) to give for Eq(A9) 1 1/2 211 11 1/2 11 0 2 mm mm Nm m m m mmm m m m m m m m m m z zz (A10b)