scieee AI-readable full text Open interactive document viewer

Numerical Solution of the Azimuth-Dependent Fokker-Planck Equation in 1D Slab Geometry

López Pouso, Óscar; Jumaniyazov, Nizomjon

Abstract

This paper is devoted to solve the steady monoenergetic Fokker-Planck equation in the 1D slab when the incoming fluxes and the source term are allowed to depend on the azimuth θ. The problem is split into a collection of θ-independent problems for the Fourier coefficients of the full solution. The main difficulty is that, except for the zeroth Fourier coefficient, each of these problems contains an artificial absorption coefficient which is singular at the poles. Two numerical schemes capable of dealing with the singularities are proposed: one that is considered as the main scheme, and a second ‘security’ scheme which is used to verify that the results obtained by means of the first one are reliable. Numerical experiments showing second order of convergence are conducted and discussed.

Full text

Numerical solution of the azimuth-dependent Fokker-Planck equation in 1D slab geometry ´ Oscar L´opez Pouso * Nizomjon Jumaniyazov  November 13, 2020 Abstract This paper is devoted to solve the steady monoenergetic Fokker-Planck equation in the 1D slab when the incoming fluxes and the source term are allowed to depend on the azimuth θ. The problem is split into a collection of θ-independent problems for the Fourier coefficients of the full solution. The main difficulty is that, except for the zeroth Fourier coefficient, each of these problems contains an artificial absorption coefficient which is singular at the poles. Two numerical schemes capable of dealing with the singularities are proposed: one that is considered as the main scheme, and a second ‘security’ scheme which is used to verify that the results obtained by means of the first one are reliable. Numerical experiments showing second order of convergence are conducted and discussed. MSC 2020: Primary: 35K65, 35Q84, 42A16, 65M22, 78A35; Secondary: 65Z05. Keywords: transport problem, Fokker-Planck equation, finite difference method, Fourier expansion, continuous scattering operator, degenerate PDE with singular coefficients, forward-backward PDE, charged particles, electrons, heavy ions, surface PDEs. 1 Introduction Consider Zini, Zfin ∈Rsuch that Zini < Zfin. Let Qz,µ,θ ⊂R3be the open set (Zini, Zfin)×(−1,1) ×(0,2π), and let Qz,µ,θ be its closure, that is, [Zini, Zfin]×[−1,1]×[0,2π]. Also, let (z, µ, θ) be a generic element of Qz,µ,θ. These notations provide Qz,µ and Qz,µ with the natural meanings Qz,µ = (Zini, Zfin)×(−1,1) and Qz,µ = [Zini, Zfin]×[−1,1], and other * Dept. of Applied Mathematics, Faculty of Mathematics, University of Santiago de Compostela. C/ Lope G´omez de Marzoa s/n, Campus Vida, 15782 Santiago de Compostela (A Coru˜na, Spain). Email: [email protected].  Dept. of Natural Sciences, Urgench branch of Tashkent University of Information Technologies named after Muhammad al-Khwarizmi (Uzbekistan). Email: nizomjon [email protected]. 1 choices of one or two subscripts in the set {z, µ, θ}must be analogously understood in what follows. In a quite standard way, an expression like α=α(z, µ) will mean that αis a function of the two independent variables zand µ. In order to state that two functions are equal in the intersection of their domains, we will generally place between them the equal symbol ‘=’, but, for the sake of clarity, the notation ‘≡0’ will be employed on certain occasions to indicate that a given function is identically zero, so that the function is not confused with the real number 0. The goal of this paper is to solve for ψ: (z, µ, θ)∈Qz,µ,θ −→ ψ(z, µ, θ)∈R the partial differential equation (PDE) µ∂ψ ∂z +αψ =σ∂ ∂µ 1−µ2∂ψ ∂µ +1 1−µ2 ∂2ψ ∂θ2+W(1) in Qz,µ,θ, with α=α(z, µ), σ=σ(z, µ), and W=W(z, µ, θ) three given functions, accompanied by the following conditions: ψ|{z=Zini, µ∈(0,1]}=f, with f=f(µ, θ) given,(2) ψ|{z=Zfin, µ∈[−1,0)}=g, with g=g(µ, θ) given,(3) ψ|{θ=0}=ψ|{θ=2π},∂ψ ∂θ |{θ=0} =∂ψ ∂θ |{θ=2π} .(4) It must be understood that {z=Zini, µ ∈(0,1]}={(z, µ, θ) : z=Zini,(µ, θ)∈(0,1] ×Qθ},(5) {θ= 0}={(z, µ, θ) : (z, µ)∈Qz,µ, θ = 0},(6) and so on for {z=Zfin, µ ∈[−1,0)}and {θ= 2π}. It will always be assumed that αis nonnegative and that σis positive. Notice that functions fand gmust be (2π)-periodic with respect to θ in order that conditions (2)–(4) are compatible, but that Wis not obliged in principle to exhibit this periodicity. From the point of view of the numerical schemes, the main difficulties are associated to the facts that the PDE (1) degenerates for µ= 0, since this choice makes the term µ∂ψ ∂z be null, and also that tends to present another pair of degeneracies in ∂ ∂µ h1−µ2∂ψ ∂µ i, plus a couple of singularities in 1 1−µ2 ∂2ψ ∂θ2, as µapproaches 1 or −1. From the point of view of the computing time, the main issue is that the problem is three-dimensional. We can say, in this regard, that the technique used in this paper allows getting the solution by solving a generally small collection of two-dimensional problems. This technique cannot be applied, however, if any of the coefficients αor σdepends on θ, and the reason will be clear later, in Section 6. The paper is organized as follows: in Section 2 some words about the significance of the problem are said. The hypotheses on the data are established in Section 3. Section 4 explains some features of the problem that have to do with its physical meaning and fixes what we will understand by ‘the physically relevant case’. In Section 5 we prove that functions f, gand Wmust satisfy some compatibility conditions so that the solution can be regular in Qz×Qµ,θ, and that these compatibility conditions are 2 automatically satisfied in the physically relevant case. Section 6 shows how the problem can be split into a collection of θ-independent transport problems for the Fourier coefficients of ψwith respect to θ, and that all of these problems fit in with a general problem that we call ‘the core problem’. Upon the basis of certain assumptions, a numerical scheme for solving the core problem is presented in Section 7, and also a security ‘assumption-independent’ scheme is considered in order to check the results obtained with the first one. Sections 8 and 9 are devoted to show numerical results for the core and the full problem, respectively. Lastly, Section 10 contains the most significant conclusions drawn from this paper. 2 Significance of the problem Among the nuclear engineering community, the PDE in Equation (1) is known at times as the steady monoenergetic Fokker-Planck equation (FPE) in the 1D slab. The importance of this model comes from the fact that its solution ψis, under certain hypotheses, an approximation of the solution to the Boltzmann transport equation (see [5] and [8]), which is harder to solve. In such a context,  Function ψis representing the angular flux density of charged particles like, for example, electrons, and  Variable zstands for 1D space, µfor the cosine of the polar angle, and θfor the azimuthal angle.1The pair (µ, θ) specifies the direction in which particles travel from a given spatial location. Notice that the values µ=±1 are special ones because they are representing the North and South Poles, where the variation of θin [0,2π] should not imply a variation in the values of the functions. Concerning this issue, we advance that the presence of the term 1 1−µ2 ∂2ψ ∂θ2in the PDE obliges the two functions ψ(·,±1,·) to be independent of θunder rather mild assumptions; this assertion will be properly enunciated in Theorem 1. We do not consider it necessary to include a comprehensive explanation of the physical meaning of this problem, since it can be found in [6, Section 4], authored by us. In this regard, the only caveat is that the continuous scattering operator in the present paper is ∂ ∂µ 1−µ2∂· ∂µ+1 1−µ2 ∂2· ∂θ2,(7) while it is ∂ ∂µ 1−µ2∂· ∂µ(8) in reference [6]. This difference is nevertheless coherent because the problem studied in [6] is independent of θ. We recall that, in mathematical language, the continuous scattering operator is the Laplacian operator on the unit sphere. It is quite common for the FPE to be found in the literature without a source2term, i.e., with W≡0. Aside from the intrinsic value of adding a 1The reader must think of the standard spherical coordinate system centred at a generic point (x1, x2, x3)∈R3. Since in the 1D slab one assumes independency of x1and x2, it suffices to work, from the spatial standpoint, with the x3-coordinate, which is constantly called in this paper the z-coordinate. 2We will employ the generic word ‘source’ even though Wcould be negative (hence a ‘sink’) in part or in the whole of its domain. 3 new term to the PDE, there are another two reasons why it is important to include W: on the one hand, the transient and the energy dependent FPEs (even if there is no source in them) are reduced, after the corresponding time or energy discretization, to a collection of problems with non-zero source Wthat fit the framework herein; on the other hand, the presence of Wallows for the easy design of problems with known regular exact solution: one simply chooses any regular ψwhich is going to be the exact solution and computes Wso that the PDE is satisfied. Solutions obtained in such a way are sometimes known as manufactured solutions, and they permit one to check, numerically, the order of convergence of the schemes. We do not forget that the FPE in the 1D slab is usually presented under the additional hypothesis of planar-geometry symmetry, which is the expression that nuclear engineers use to indicate that the problem is independent of θ(see for instance [4, page 3]). From this perspective, problem (1)–(4) can be considered as an intermediate model between the typical θ-independent FPE in the 1D slab and more complex models that depend on θand incorporate the three spatial variables. 3 Hypotheses on the data Even though our goal is the plain numerical resolution, and not the statement of theoretical results on numerical analysis, existence, uniqueness or regularity issues, it is true that, in order to design numerical schemes, one needs to have in mind some idea about what the involved functions are like. In this spirit, the C0and C1requirements below have been thought as comfortable working hypotheses under which the mathematical operations have a justification rather than as precise conditions that must be met without fail; we are going to be able to prove some useful results under them, but at the same time we have found out that our numerical schemes also work even in cases where these hypotheses are not satisfied. Specifically, the data functions are supposed to fulfil the following requirements: f∈C1[0,1] ×Qθ, f|{θ=0}=f|{θ=2π},(9) g∈C1[−1,0] ×Qθ, g|{θ=0}=g|{θ=2π},(10) α, σ ∈C0Qz,µ,with α≥0 and σ > 0,(11) (1 −µ2)W∈C1Qz,µ,θ, W0∈C1Qz,µ,(12) where W0(z, µ) = 1 2πZ2π 0 W(z, µ, θ) dθ(13) is the zeroth Fourier coefficient of Wwith respect to θ. The regularity which is imposed by conditions (9), (10) and (12) guarantees convergence of the Fourier series with respect to θof functions f, gand W, a fact which is important in this paper. Following the line of (9) and (10), one could have expected, instead of (12), the stronger hypothesis W∈C1Qz,µ,θ. This is indeed reasonable in the physically relevant case, because, as we will see, the Physics of problem (1)–(4) obliges Wto be defined at µ=±1. However, we notice that, due to the presence of the coefficient 1 1−µ2in the PDE (1), sources W which are not defined at µ=±1 easily occur when building manufactured solutions. This explains why we have imposed (1 −µ2)W∈C1Qz,µ,θ. The second condition, W0∈C1Qz,µ, is reflecting the fact that W0acts 4 as the source of a problem which does not have any singularity at µ=±1; this assertion will be clarified later. When Wis not defined at µ=±1, one must understand in hypothesis (12) that functions (1 −µ2)Wand W0admit of C1extensions to Qz,µ,θ and Qz,µ, respectively, and that the same notations are being used for the extended functions. We state in the following lemma a useful characterization of the functions satisfying (12); its proof is a simple exercise. The notation (HW)0 will stand, as in Equation (13), for the zeroth Fourier coefficient of HW with respect to θ. Lemma 1 (Representation of the source W).Wsatisfies (12) if, and only if, it admits of the representation W(z, µ, θ) = c W(z, µ) + HW(z, µ, θ) 1−µ2∀(z, µ, θ)∈Qz×Qµ×Qθ,(14) being, on the one hand, c Wa function in C1Qz,µand, on the other hand, HWa function in C1Qz,µ,θsuch that (HW)0≡0in Qz,µ. Necessarily, c W=W0and HW= (1 −µ2)(W−W0), and so the representation (14) is unique. One of the consequences of Lemma 1 is that Wcan be extended with continuity to the whole Qz,µ,θ if HW(·,±1,·)≡0, because this condition permits defining W(z, ±1, θ) = c W(z, ±1) ∓1 2 ∂HW ∂µ (z, ±1, θ)∀(z, θ)∈Qz,θ (15) by means of the L’Hˆopital’s rule. In other words, if we assume that (12) holds, then W∈C0Qz,µ,θif, and only if, HW(·,±1,·)≡0 (one can easily prove separate continuity with respect to each variable, but in fact one has continuity; see Lemma 4 in the Appendix). 4 The physically relevant case Problem (1)–(4) can be solved without further considerations, from a pure mathematical viewpoint, or can be solved within its physical context. In the last case, we will say that the ‘physically relevant case’ of the problem is being solved. In this section we are going to explain those aspects affected by physical considerations and to precisely define what the expression ‘physically relevant case’ will mean in this paper. The physical meaning of this problem demands the fulfilment of the following conditions: 1. The angular flux density ψmust be nonnegative. Hence, the incoming fluxes fand gmust be nonnegative, while the internal source W, which has not got sign restrictions, could be negative only up to a point that still rendered ψ≥0. 2. All functions involved in this problem must be: (a) (2π)-periodic with respect to θ, and (b) Independent of θwhen they are restricted to the intersection of their domains with the affine hyperplanes µ=±1. Not only W(·,±1,·) (if Wis defined at µ=±1), f(1,·) and g(−1,·) must be independent of θ, but also the restrictions of the solution to µ=±1, i.e. ψ(·,±1,·), must result in two θ-independent functions. 5 The features in points (2a) and (2b) above are trivial consequences of the geometrical meaning of µand θin the spherical coordinate system. Giving necessary and sufficient conditions for ψ(·,±1,·) to be independent of θis not difficult if one makes the following assumptions: ψ∈C0(Qz,µ,θ),(16) ∂ψ ∂z ,∂2ψ ∂µ2∈C0Qz×Qµ,θ,(17) ∂2ψ ∂θ2∈C0Qz×Qµ,θ.(18) We notice that (18) is meaning that both ∂ψ ∂θ and ∂2ψ ∂θ2are assumed to exist as continuous functions defined on Qz×Qµ,θ, and an analogous comment is valid for ∂2ψ ∂µ2in (17). We have not put the assumption (18) within (17) because, occasionally, we will make reference to each of them separately. Lemma 2. Under the hypotheses (9)–(12), any function ψsatisfying the PDE (1) and the assumptions (16)–(18) also satisfies the following equality: σ(z, ±1)∂2ψ ∂θ2(z, ±1, θ) = −HW(z, ±1, θ)∀(z, θ)∈Qz×Qθ.(19) Proof. The existence of ∂2ψ ∂µ2guarantees that ∂ ∂µ 1−µ2∂ψ ∂µ =−2µ∂ψ ∂µ +1−µ2∂2ψ ∂µ2.(20) Now, using (14), the PDE (1) can be written as follows: µ∂ψ ∂z +αψ =σ−2µ∂ψ ∂µ +1−µ2∂2ψ ∂µ2+1 1−µ2 ∂2ψ ∂θ2+c W+HW 1−µ2, (21) which holds in Qz,µ,θ and hence in Qz,µ ×Qθby continuity. Multiplying Equation (21) by 1−µ2one gets an equality that holds in Qz×Qµ,θ, and evaluating the terms of this new equality at µ=±1 one obtains (19).  Theorem 1. Let ψbe the solution to the problem (1)–(4). Under the hypotheses (9)–(12) and the assumptions (16)–(18), functions ψ(·,±1,·) are independent of θif, and only if, Functions f(1,·)and g(−1,·)do not depend on θ (i.e., they are constant),and (22) Functions HW(·,±1,·)are identically 0.(23) Proof. The proof follows easily by taking into account the identity (19), the positivity of σ(really only the fact that σis never zero), and conditions (2)–(4).  Remark 1. From the mathematical viewpoint, it is interesting to notice that for ψ(·,±1,·)to be independent of θit is not necessary that W(·,±1,·) be independent of θ; take for instance W(z, µ, θ) = zµ + sin θ. 6 To properly understand the following definition, recall that, under the hypothesis (12), the source Wis continuous if, and only if, (23) holds (see Equation (15)). Definition 1 (Physically relevant case).Under the hypotheses (9)–(12), the physically relevant case of problem (1)–(4) is the one we have when  Functions fand gare nonnegative,  Condition (22) holds,  W∈C0Qz,µ,θ(equivalently, condition (23) holds),  W|{θ=0}=W|{θ=2π}, and  Functions W(·,±1,·)are independent of θ. To the authors’ knowledge, there is no theoretical result guaranteeing that assumptions (16)–(18) will always hold,3either under the hypotheses (9)–(12) or under any other set of conditions. Nevertheless, it is obvious that they will easily hold for manufactured solutions. It can be added that these assumptions are in accordance with the available numerical results, which suggest that ψis continuous on Qz,µ,θ and smooth on Qz×Qµ,θ for the problems of interest. The spatial domain Qzin (17) is open since there is strong numerical evidence that, even for constant data functions, ∂ψ ∂z can be infinity and ∂ψ ∂µ can fail to exist at (z, µ, θ) when (z, µ)∈ {(Zini,0),(Zfin,0)}(see [3], [6], [9], and also some plots within the numerical results of this paper). In other words, changing (17) by ∂ψ ∂z ,∂2ψ ∂µ2∈C0(Qz,µ,θ) would be inadequate. All mathematical operations involving ψin this paper are valid under assumptions (16)–(18). Remark 2. The reader can easily check that Theorem 1 is still valid if, maintaining assumption (18), assumptions (16) and (17) are weakened as follows: ψ∈C0(Qz,µ,θ),(24) ∂ψ ∂z ,∂2ψ ∂µ2exist in Rat every point of Qz,µ,θ,(25) provided that (1 −µ2)ψ,(1 −µ2)∂ψ ∂z ,(1 −µ2)∂ψ ∂µ and (1 −µ2)2∂2ψ ∂µ2tend to 0when µtends to ±1, for every (z, θ)∈Qz,θ. 5 Compatibility conditions As it occurs with other problems, a regular solution cannot exist unless certain compatibility conditions between the data hold. In this case, Equation (19) can be further exploited to state the following result, which makes it clear that there must be certain relationships between functions f,g, and Win order that a solution ψsatisfying (16)–(18) can exist. In the physically relevant case, these relationships are automatically met. 3Even the questions of existence and uniqueness are not treated in the existing literature. The reader is referred, however, to the paper [2], where these two issues are studied for a similar problem. 7 Theorem 2 (Compatibility conditions).Under the hypotheses (9)–(12), a necessary condition for the problem (1)–(4) to have got a solution satisfying assumptions (16)–(18) is that the following two equalities be satisfied: f(1, θ) = f(1,0) + 1 σ(Zini,1) θ 2πZ2π 0Zs 0 HW(Zini,1, t) dtds− Zθ 0Zs 0 HW(Zini,1, t) dtds∀θ∈Qθ,(26) g(−1, θ) = g(−1,0) + 1 σ(Zfin,−1) θ 2πZ2π 0Zs 0 HW(Zfin,−1, t) dtds− Zθ 0Zs 0 HW(Zfin,−1, t) dtds∀θ∈Qθ.(27) Proof. Both equalities hold trivially if conditions (22) and (23) are fulfilled, and so their proofs are not an issue in the physically relevant case. In order to prove (26) and (27) otherwise, firstly integrate Equation (19) between 0 and θto obtain ∂ψ ∂θ (z, ±1, θ) = ∂ψ ∂θ (z, ±1,0) −1 σ(z, ±1) Zθ 0 HW(z, ±1, s) ds. (28) We can remark here that the equality ∂ψ ∂θ (z, ±1,0) = ∂ψ ∂θ (z, ±1,2π), which is entailed by (4), is not in contradiction with Equation (28), because (HW)0≡0 implies (HW(·,±1,·))0≡0. Secondly, integrate Equation (28) between 0 and θto get ψ(z, ±1, θ) = ψ(z, ±1,0) + θ∂ψ ∂θ (z, ±1,0)− 1 σ(z, ±1) Zθ 0Zs 0 HW(z, ±1, t) dtds. (29) Evaluating Equation (29) at θ= 2πand taking into account that ψ(z, ±1,0) = ψ(z, ±1,2π), we obtain ∂ψ ∂θ (z, ±1,0) = 1 2πσ(z, ±1) Z2π 0Zs 0 HW(z, ±1, t) dtds, (30) what allows rewriting Equation (29) as ψ(z, ±1, θ) = ψ(z, ±1,0) + 1 σ(z, ±1) θ 2πZ2π 0Zs 0 HW(z, ±1, t) dtds− Zθ 0Zs 0 HW(z, ±1, t) dtds.(31) Finally, the compatibility conditions (26) and (27) are easily derived from Equation (31).  6 Reduction to a collection of θ-indepen- dent problems Throughout the whole of this section, the letter ‘i’ will stand for the imaginary unit. 8 The idea which will be developed right now for solving the θ-dependent problem (1)–(4) is fairly natural. Applied to a Fokker-Planck problem, we have seen this idea published for the first time in reference [3], although the problem therein solved is only that of the zeroth Fourier coefficient with a zero source term and with coefficients that depend solely on z. Notice that the periodicity conditions (4) invite one to use Fourier techniques for converting the problem (1)–(4) into a collection of θ-inde- pendent problems. Indeed, our intention is to compute ψfrom its Fourier series with respect to θ, that is to say, from ψ(z, µ, θ) = ∞ X m=−∞ ψm(z, µ) eimθ ∀(z, µ, θ)∈Qz,µ,θ,(32) where the coefficients ψmare given by the well-known formula ψm(z, µ) = 1 2πZ2π 0 ψ(z, µ, θ) e−imθ dθ∀(z, µ)∈Qz,µ.(33) Since ψis real, Equation (33) immediately implies that ψ−m=ψmfor every m∈Z. As a result, Equation (32) can be rewritten as ψ(z, µ, θ) = ψ0(z, µ) + 2 ∞ X m=1 Re[ψm(z, µ)] cos(mθ)−Im[ψm(z, µ)] sin(mθ).(34) For numerical purposes, Equation (34) is more appropriate than Equation (32), because it prevents spurious non-real values from appearing. Naturally, one must understand that the series will be truncated at a certain level. If the series converges rapidly, then one can get ψwith high accuracy from the knowledge of only a few coefficients ψm. We notice in this regard that, once the commanding harmonics have been reached, rapid convergence occurs if ψis, for each fixed pair (z, µ), the restriction to [0,2π] of a (2π)-periodic function of class Cp(R); the larger p, the faster rate of convergence (see for instance [10, Chapter 5, Section 8, Theorem 2]). Since there are continuous functions with divergent Fourier series, we must implicitly understand in this paragraph that p≥1. The point is that each ψmis the solution to a Fokker-Planck equation which is independent of θ, and hence much cheaper to solve than Equation (1). We proceed now to obtain this equation. Hereinafter, Gmwill denote the mth Fourier coefficient of a function Gwith respect to the variable θ. The first thing to do, according to Equation (33), is to multiply each term in Equation (1) by e−imθ, then integrate from θ= 0 to θ= 2π, and finally divide by 2π. The results are the following: 1 2πZ2π 0 µ∂ψ ∂z e−imθ dθ=µ∂ψm ∂z ,(35) 1 2πZ2π 0 αψ e−imθ dθ=αψm,(36) 1 2πZ2π 0 σ∂ ∂µ 1−µ2∂ψ ∂µ e−imθ dθ=σ∂ ∂µ 1−µ2∂ψm ∂µ ,(37) 1 2πZ2π 0 σ 1−µ2 ∂2ψ ∂θ2e−imθ dθ=−m2σ 1−µ2ψm,(38) 1 2πZ2π 0 We−imθ dθ=Wm.(39) 9 In this subsection, the subscript mis fixed to be m= 1, what is not a restriction for the purposes at hand, and the following problem is solved: µ∂ψ ∂z +aψ=σ∂ ∂µ 1−µ2∂ψ ∂µ +W(77) in Qz,µ, accompanied by the conditions ψ(Zini, µ) = f(µ) for µ∈(0,1],(78) ψ(Zfin, µ) = g(µ) for µ∈[−1,0),(79) where a=α+σ 1−µ2and W=H 1−µ2. We have been assuming that H ∈ C1(Qz,µ) or at least H ∈ C0(Qz,µ) (see Remark 6), but a good functioning of the scheme will also be observed when Hhas got lower regularity as long as it remains bounded; we will include some example where His discontinuous. Let us take Zini = 0, Zfin = 1,(80) α(z, µ) = |sin(12zµ)|,(81) σ(z, µ) = 1 + sin(12zµ) cos(12zµ),(82) and define Eabs = max |ψgrid −ψ|, where ψgrid is representing the approximate solution and the maximum is taken over the set of all nodes. The following numerical experiments have been conducted (when an exact manufactured solution is given, functions f,gand Ware computed so that Equations (77)–(79) are satisfied; when one is not building a manufactured solution, lack of differentiability is observed at points (z, µ)∈ {(Zini,0),(Zfin,0)}={(0,0),(1,0)}, as it is typical.): 1. Let us consider the exact solution ψ(z, µ) = ln(2 + µ2+z3). Then, f(µ) = ln(2 + µ2), g(µ) = ln(3 + µ2), and W(z, µ) = 3µz2 2 + µ2+z3+ α(z, µ) + σ(z, µ) 1−µ2ln(2 + µ2+z3) + 2σ(z, µ)(−2 + 7µ2+µ4−z3+ 3µ2z3) (2 + µ2+z3)2.(83) In this case, Wis unbounded and not defined, in an essential way, at |µ|= 1. Results obtained are collected in Table 1. (I, N)Eabs order (11,10) 3.04 ×10−3 (33,29) 3.37 ×10−42 ln(30.4 3.37 ) ln(10) = 1.91 (101,91) 3.61 ×10−51.94 (321,281) 3.58 ×10−62.01 (1001,901) 3.67 ×10−71.98 Table 1: Maximum error and order for test 1 (security scheme). Inasmuch as H(z, ±1) = σ(z, ±1) ln(3 + z3) (84) 16 we should obtain, according to Equation (50), ψ(z, ±1) = σ(z, ±1) ln(3 + z3) σ(z, ±1) = ln(3 + z3),(85) which is consistent with ψ(z, µ) = ln(2 + µ2+z3). Since the value of Eabs is taking into account comparison at all nodes, including boundary nodes, Table 1 shows that the numerical solution is indeed approaching ln(3 + z3) when µ=±1. 2. Let us consider the exact solution ψ(z, µ) = (1−µ2) ln(2+z3). Then, f(µ) = (1 −µ2) ln 2, g(µ) = (1 −µ2) ln 3, and W(z, µ) = 3z2(µ−µ3) 2 + z3+ ln(2 + z3)α(z, µ)(1 −µ2) + σ(z, µ)1 + 2(1 −3µ2).(86) Now W∈C0(Qz,µ). Results are shown in Table 2. (I, N)Eabs order (11,10) 8.15 ×10−3 (33,29) 6.32 ×10−42 ln(81.5 6.32 ) ln(10) = 2.22 (101,91) 6.76 ×10−51.94 (321,281) 6.71 ×10−62.01 (1001,901) 6.90 ×10−71.98 Table 2: Maximum error and order for test 2 (security scheme). Since H(·,±1) ≡0,(87) we should obtain, according to Equation (50), ψ(·,±1) ≡0,(88) which once more is true. 3. For this test, let us take f(µ) = 2, g(µ) = 1 1−sin(12) cos(12) , and W(z, µ) = 2 + zµ 1−µ2.(89) Then, the exact solution is not known, and H(z, µ) = 2+zµ. Notice that the compatibility conditions (48) and (49) are satisfied: f(1) = H(0,1) σ(0,1) = 2,(90) g(−1) = H(1,−1) σ(1,−1) =1 1−sin(12) cos(12).(91) Equation (50) predicts ψ(z, ±1) = H(z, ±1) σ(z, ±1) =2±z 1±sin(12z) cos(12z),(92) which is shown to be true in Table 3, where the results exhibit convergence to 0, with order about 3.5, of ψgrid −H σrestricted to µ=±1. 17 (I, N) max n  ψgrid −H σ  :µ=±1oorder (11,10) 7.53 ×10−1 (33,29) 6.07 ×10−32 ln(753 6.07 ) ln(10) = 4.18 (101,91) 1.18 ×10−43.43 (321,281) 1.99 ×10−63.54 (1001,901) 3.64 ×10−83.48 Table 3: Maximum value on µ=±1 of  ψgrid −H σ  for different meshes (security scheme). Test 3. The numerical solution is plotted in Figure 1. (a) Front. (b) Back. Figure 1: Approximate solution for I= 201, N= 200 (security scheme). Test 3. 4. Consider now f(µ) = exp[−1/(µ2(1 −µ2))] if µ∈(0,1), 0 if µ∈ {0,1},(93) g(µ) = 0,(94) and W(z, µ) = 2|zµ|if ∥(z, µ)−(0.5,0)∥2≤0.3, 0 otherwise.(95) Again, the exact solution is not known. Although Wis discontinuous, the solution ψ, plotted in Figure 2, is continuous due to the effect of the diffusion. (I, N) max{|ψgrid|:µ=±1}order (11,10) 6.19 ×10−4 (33,29) 7.41 ×10−62 ln(619 7.41 ) ln(10) = 3.84 (101,91) 8.29 ×10−83.90 (321,281) 1.40 ×10−93.54 (1001,901) 2.60 ×10−11 3.46 Table 4: Maximum value on µ=±1 of |ψgrid|for different meshes (security scheme). Test 4. Notice that H(·,±1) ≡0 and the compatibility conditions (48) and (49) hold. As predicted by Equation (50), one gets ψ(·,±1) ≡0. 18 (a) Front. (b) Back. Figure 2: Approximate solution for I= 201, N= 200 (security scheme). Test 4. Table 4 shows that the numerical solution restricted to µ=±1 goes to zero with order greater than 3 as the mesh is getting refined. 5. For the last test in this subsection, let us take f(µ) = 0,(96) g(µ) = 10 exp[−1/(µ2(1 −µ2))] if µ∈(−1,0), 0 if µ∈ {−1,0},(97) and W(z, µ) = 1 + z p1−µ2.(98) This is another example with unknown exact solution. Notice that the observed solution ψ, plotted in Figure 3, is zero at |µ|= 1, despite being the source Wunbounded. Once more, we have coincidence with the value predicted by Equation (50), since H(·,±1) ≡0 and the compatibility conditions (48) and (49) hold. Table 5 shows that the numerical solution restricted to µ=±1 goes to zero with order around 2 as the mesh is getting refined. (a) Front. (b) Back. Figure 3: Approximate solution for I= 201, N= 200 (security scheme). Test 5. 19 (I, N) max{|ψgrid|:µ=±1}order (11,10) 3.10 ×10−1 (33,29) 3.61 ×10−22 ln(31 3.61 ) ln(10) = 1.87 (101,91) 4.34 ×10−31.84 (321,281) 4.25 ×10−42.02 (1001,901) 4.36 ×10−51.98 Table 5: Maximum value on µ=±1 of |ψgrid|for different meshes (security scheme). Test 5. 9 Numerical results for the full problem The solution of problem (1)–(4) ψis approximated from Equation (34) via a truncation of the Fourier series, that is to say, ψ(z, µ, θ)≈ψ0(z, µ) + 2 M X m=1 Re[ψm(z, µ)] cos(mθ)−Im[ψm(z, µ)] sin(mθ).(99) Each ψm,m= 0, . . . , M, is computed as the solution of the problem (42)–(44). The case M= 0 must be understood as ψ(z, µ, θ)≈ψ0(z, µ). The representation (99) implies that ψwill be approximated by a function which is of class C∞with respect to the variable θ, and assures that the approximation satisfies the periodicity conditions (4). When f,gand Wdo not depend on θ, then the solution ψis θ-indepen- dent as well and the problem is actually the one which is solved in reference [6]; taking M= 0 is enough in this case. When the exact solution has got the form ψ(z, µ, θ) = ψ0(z, µ)+ ψcos(z, µ) cos(pθ)+ψsin(z, µ) sin(qθ), with p, q ∈N, it is enough to solve for the three values m= 0, p, q in order to have exactness with respect to the variable θ. Following the line of the previous section, when the exact solution is not known, the numerical solution which is shown is a converged one. Notice that Equation (99) allows computing approximations of the values ψ(zn, µi, θ) on grid nodes (zn, µi), for every θ∈[0,2π). In subsequent tables, we will use the notation Efull abs = max |ψgrid −ψ|, where ψgrid is representing the approximate solution and the maximum is taken over the set {(zn, µi, θj) : 1 ≤n≤N, 1≤i≤I, 1≤j≤J},(100) being θ1= 0 < θ2<···< θJ−1< θJ= 2πa uniform mesh of [0,2π] with J= 100. We will always take Zini = 0, Zfin = 1. 9.1 Test 1 Let us consider α(z, µ) = |sin(12µz)|,(101) σ(z, µ) = 1 + sin(12µz) cos(12µz).(102) The function ψ(z, µ, θ) = ln(2 + sin(3µz)) + (1 −µ2)esin θis the exact solution of problem (1)–(4) if f(µ, θ) = ln(2) + (1 −µ2)esin θ,(103) g(µ, θ) = ln(2 + sin(3µ)) + (1 −µ2)esin θ,(104) 20 and W(z, µ, θ) = 3µ2cos(3µz) 2 + sin(3µz)+α(z, µ)ψ(z, µ, θ)− σ(z, µ)−2µ3zcos(3µz) 2 + sin(3µz)−2µesin θ+ (1 −µ2)−18z2sin(3µz)−9z2 (2 + sin(3µz))2−2esin θ+ −sin θ+ cos2θesin θ.(105) This is an example where functions ψ(·,±1,·) do not depend on θ despite W(·,±1,·) do. Since the Fourier series of esin θis infinite, there is no expectancy that Equation (99) can be exact for any value of M. However, the high regularity of this function make the series converge fast, and so a small value of Mis enough to capture the solution. Tables 6, 7 and 8 show the results obtained for M= 5,6,7. One can compare the results for two successive values of Mand consider that the solution is good when there is no significant difference between them, but the criterion for not going beyond M= 7 in this case is simply that, for the meshes we are using, this value of Mpreserves for the full problem the order 2 of the core scheme; in other words, it is not worth taking M > 7 because the error due to the series truncation at level M= 7 is negligible when compared with the error due to discretization of the (z, µ)-domain. (I, N)Efull abs order (11,10) 1.24 ×10−1 (33,29) 3.74 ×10−32 ln(124 3.74 ) ln(10) = 3.04 (101,91) 4.04 ×10−41.93 (321,281) 8.17 ×10−51.38 (1001,901) 5.11 ×10−50.41 Table 6: Numerical results for test 1 with M= 5. (I, N)Efull abs order (11,10) 1.24 ×10−1 (33,29) 3.74 ×10−32 ln(124 3.74 ) ln(10) = 3.04 (101,91) 3.77 ×10−41.99 (321,281) 4.09 ×10−51.93 (1001,901) 6.99 ×10−61.53 Table 7: Numerical results for test 1 with M= 6. (I, N)Efull abs order (11,10) 1.24 ×10−1 (33,29) 3.74 ×10−32 ln(124 3.74 ) ln(10) = 3.04 (101,91) 3.79 ×10−41.99 (321,281) 3.92 ×10−51.97 (1001,901) 4.18 ×10−61.94 Table 8: Numerical results for test 1 with M= 7. 21 z∈ {Zini, Zfin}={0,1}, even when all data functions are of class C∞. To specify, one gets numerical results which seem to indicate that ∂ψ ∂µ (0,0, θ) and ∂ψ ∂µ (1,0, θ) do not exist and that ∂ψ ∂z (z, 0, θ)→ ∞ when z→0 or z→1. We show in Figures 4 and 5 some results for θ=π; plots for other values of θare similar. Notice that this example fits in with the physically relevant case (see Definition 1), and so one would expect that ψ(·,±1,·) were independent of θ(recall Theorem 1), while of course there is no need for ψ(·, µ, ·) to be independent of θwhen |µ| = 1. Both features can be observed in Figures 6 and 7. The security scheme has been used to solve the core problems, and so we have not forced the scheme to provide us with θ-independent functions ψ(·,±1,·). Remark 8. We do not know whether assumptions (16)–(18) are satisfied or not, but nonetheless the results are in agreement with Theorem 1. (a) µ=−1, and zand θvary. (b) µ= 1, and zand θvary. Figure 6: Approximate solution for I= 201, N= 400, showing that functions ψ(·,±1,·) are independent of θ. Test 9.2. Figure 7: µ= 0, and zand θvary. Approximate solution for I= 201, N= 400, showing that ψ(·,0,·) depends on θ. Test 9.2. We have taken N= 400 only to have at our disposal more points for the graphs, specifically for the plot (a) in Figure 5 showing that ∂ψ ∂z (z, 0, θ)→ ∞when z→0 or z→1. Nonetheless, a good converged solution is also obtained by taking N= 200, as in previous examples. 23 10 Conclusions and final thoughts The main conclusion drawn from this paper is that the 3D problem (1)–(4) can be reduced to a collection of θ-independent 2D problems. These core problems contain singularities which can be treated with the aid of several different ideas; the ones we have chosen rely on computing, a priori, the values of the solution at the singularities by means of analytical methods or on employing numerical schemes that avoid function evaluations at the conflictive points. The methods herein described exhibit order 2 of convergence, but this characteristic becomes less important for real problems where the solution is not regular, because the order ceases to be observed as soon as the solution loses regularity. It is an open problem to prove existence and uniqueness of solution for the problem (1)–(4), and also to prove the amount of regularity that this solution could have. Results in these directions would have great interest from the mathematical standpoint. Finally, it could be of interest to explore the potential relationship that our problem has got with the field of surface PDEs. This is because the continuous scattering operator (7) is the Laplace-Beltrami operator or, simply, the Laplacian over the sphere, which in turn means that the PDE (1) can be seen, with respect to the angular variables, as a PDE over the unit sphere. 11 Appendix The result of interest in this appendix will be Lemma 4, the proof of which will require the use of the following lemma. Lemma 3. Let pand nbe two natural numbers and consider a function f:x= (x1,...,xp)∈[0,1]p→f(x)∈R(114) in Cn([0,1]p). Fix j∈ {1, . . . , p}. Then, the function g: [0,1]p→Rdefined by g(x) =        f(x) xj if xj∈(0,1], ∂f ∂xj (x)if xj= 0 (115) belongs to Cn−1([0,1]p)if, and only if, f(x) = 0 whenever xj= 0, that is to say, if, and only if, f(x(j,0)) = 0 ∀(x1,...,xj−1, xj+1,...,xp)∈[0,1]p−1,(116) where x(j,0) = (x1,...,xj−1,0, xj+1,...,xp). When p= 1, Equation (116) must be understood as f(0) = 0. A proof of Lemma 3 can be done by using rather elementary concepts of Mathematical Analysis. Remark 9. In the context of Lemma 3, one has that g∈C∞([0,1]p) when f∈C∞([0,1]p)and satisfies condition (116). Remark 10. The corresponding adaptation of Lemma 3 is true when the domain of fis K1× · · · × Kpfor compact intervals K1,...,Kp⊂R, with the proviso that they have got nonvoid interior and that 0∈Kj. 24 Lemma 4 (Regularity of the source Win the physically relevant case). Suppose that (12) holds. Then, the following assertions are equivalent: 1. Condition (23) holds. 2. W∈C0(Qz,µ,θ). Proof. It suffices to prove that ‘1 ⇒2’, as the other implication is clear. So, assume that (12) and (23) hold. Thanks to Lemma 1, we can limit ourselves to demonstrate that the function G:Qz,µ,θ →Rdefined by G(z, µ, θ) =                  HW(z, µ, θ) 1−µ2if (z, µ, θ)∈Qz×Qµ×Qθ, 1 2 ∂HW ∂µ (z, −1, θ) if (z, µ, θ)∈Qz× {−1} × Qθ, −1 2 ∂HW ∂µ (z, 1, θ) if (z, µ, θ)∈Qz× {1} × Qθ (117) belongs to C0(Qz,µ,θ ), which in turn amounts to prove C0regularity of G at points of Qz,µ,θ with µ=±1 (briefly, ‘at µ=±1’).  C0regularity of Gat µ=−1. Define b H:Qz×[0,1] ×Qθ→Ras follows: b H(z, t, θ) = HW(z, t −1, θ).(118) Now notice that the function b G:Qz×[0,1] ×Qθ→Rdefined by b G(z, t, θ) =          b H(z, t, θ) tif (z, t, θ)∈Qz×(0,1] ×Qθ, ∂b H ∂t (z, 0, θ) if (z, t, θ)∈Qz× {0} × Qθ (119) belongs to C0(Qz×[0,1] ×Qθ), according to Lemma 3 (see Remark 10). Finally, simply observe that G(z, µ, θ) = b G(z, 1 + µ, θ) 1−µ∀(z, µ, θ)∈Qz×[−1,0] ×Qθ.(120)  C0regularity of Gat µ= 1. Similarly, if H⋆:Qz×[0,1] ×Qθ→R is given by H⋆(z, t, θ) = HW(z, 1−t, θ),(121) then, the function G⋆:Qz×[0,1] ×Qθ→Rdefined by G⋆(z, t, θ) =        H⋆(z, t, θ) tif (z, t, θ)∈Qz×(0,1] ×Qθ, ∂H⋆ ∂t (z, 0, θ) if (z, t, θ)∈Qz× {0} × Qθ (122) belongs to C0(Qz×[0,1]×Qθ), according again to Lemma 3. Finally, observe that G(z, µ, θ) = G⋆(z, 1−µ, θ) 1 + µ∀(z, µ, θ)∈Qz×[0,1] ×Qθ.(123)  25