校园网页 · 学校官网
A Petrov-Galerkin spectral method for the inelastic Boltzmann equation using mapped Chebyshev functions.pdf
Kinetic and Related Models doi:10.3934/krm.2020023 © American Institute of Mathematical Sciences Volume 13, Number 4, August 2020 pp. 1–XX A PETROV-GALERKIN SPECTRAL METHOD FOR THE INELASTIC BOL TZMANN EQUA TION USING MAPPED CHEBYSHEV FUNCTIONS Jingwei Hu∗ and Jie Shen Department of Mathematics, Purdue University, West Lafayette, IN 47907 USA Yingwei W ang SAS Institute, Inc., Cary, NC 27513 USA (Communicated by Lorenzo Pareschi) Abstract. We develop in this paper a Petrov-Galerkin spectral method for the inelastic Boltzmann equation in one dimension. Solutions to such equations typically exhibit heavy tails in the velocity space so that domain truncation or Fourier approximation would suffer from large truncation errors. Our method is based on the mapped Chebyshev functions on unbounded domains, hence requires no domain truncation. Furthermore, the test and trial function spaces are carefully chosen to obtain desired convergence and conservation proper- ties. Through a series of examples, we demonstrate that the proposed method performs better than the Fourier spectral method and yields highly accurate results. 1. Introduction. Since the beginning of 1990s, significant attention has been de- voted to modeling of granular materials, e.g., sand, powders, grains, snow, or even asteroids. Among the main motivations are the need for new insights concerning how granular materials behave under shaking, how flows are evolving or how to prevent them, how to facilitate mixing, how matter aggregates in a newborn so- lar system, etc. At the kinetic level, granular materials can be described by the so-called inelastic Boltzmann equation [14, 1, 11, 2], wherein particles interact like hard spheres but with some energy loss. Recently, the inelastic Boltzmann equation has also been used in the modeling of social and biological systems, see [35]. This paper is devoted to the development of efficient spectral methods for in- elastic kinetic models. Specifically, we will focus on the following one-dimensional spatially homogeneous Boltzmann equation: ∂f ∂t =Qe,λ(f,f )(v), t> 0, v ∈ R, (1) 2010 Mathematics Subject Classification. Primary: 65M70, 35Q20, 41A50; Secondary: 65R20. Key words and phrases. Inelastic Boltzmann equation, heavy tail, granular material, Petrov- Galerkin spectral method, mapped Chebyshev function, unbounded domain. J. Hu’s research was supported by NSF grant DMS-1620250 and NSF CAREER grant DMS- 1654152. J. Shen’s research was supported in part by NSF DMS-1720442 and AFOSR FA9550- 16-1-0102. ∗ Corresponding author: Jingwei Hu. 1 2 JINGWEI HU, JIE SHEN AND YINGWEI W ANG where f = f(v,t ) represents the probability density of particles at time t with velocity v, and Qe,λ(f,f ) is a quadratic integral operator modeling binary colli- sions among particles. The operator Qe,λ(f,f ) is most conveniently written in the following weak form:∫ R Qe,λ(f,f )(v)φ(v) dv =1 2 ∫∫ R2 Bλ(|v−w|)f(v)f(w) [φ(v′) +φ(w′)−φ(v)−φ(w)] dv dw, (2) where φ∈ C(R) is a test function. ( v,w ) and ( v′,w′) are the velocities of two particles before and after a collision, defined as v′ = 1 2(v +w) +e 2(v−w), w ′ = 1 2(v +w)− e 2(v−w), (3) with 0≤e≤ 1 being the restitution coefficient. Note that perfectly elastic (resp., inelastic) collisions correspond to the casee = 1 (resp.,e = 0) and partially inelastic collisions are obtained if e∈ (0, 1). In fact, from (3), one can easily derive that v′ +w′ =v +w; v′2 +w′2−v2−w2 =−1−e2 2 (v−w)2≤ 0, (4) which implies the momentum is always conserved while the energy is dissipative. Finally the function Bλ in (2) is the collision kernel, given by Bλ =Cλ|v−w|λ, (5) where 0 ≤ λ ≤ 1 characterizes the strength of particle interactions and Cλ is some positive constant. The case λ = 1 corresponds to hard spheres and λ = 0 corresponds to Maxwell molecules. There are several interesting features of the inelastic model considered above, compared to the perfectly elastic ones (indeed the collision operator is trivial in 1D when e = 1), such as non-Maxwellian equilibrium states, finite time energy extinction, quasi-elastic asymptotics, large-time behaviors and so on, see for ex- ample, the studies in [5, 12, 39, 4], also the review papers [41, 13] and the ref- erences therein. Numerically, mainly two classes of methods have been consid- ered for the inelastic Boltzmann equation, one stochastic and one deterministic. The direct simulation Monte Carlo (DSMC) method, due to its simplicity and efficiency, is historically popular and still quite appealing nowadays for full 3D simulations [25, 36]. On the other hand, as the computing power grows, the de- terministic methods have received a lot of attention in the past decade, among which the spectral methods based on Fourier series/transform constitute the main- stream thanks to their high accuracy and relatively low computational complexity [32, 19, 26, 20, 45, 27]. Nevertheless, compared to their success for elastic Boltz- mann equations [33, 8, 34, 21, 31, 18, 26, 17, 28, 44, 22], the Fourier spectral method does not seem to be the optimal choice for the inelastic equation, especially for long time steady state calculation. It is well-known that the quality of Fourier approx- imation depends heavily on the support of the approximated function, due to the truncation from unbounded domain R to a finite one [−L,L ]. If the approximated function is a Gaussian, as is typical for the solution to the elastic Boltzmann equa- tion, then the errors from truncation of the domain can be negligible as long as L is chosen large enough. However, the solution to the inelastic Boltzmann equation is usually far from Gaussian distributions. Actually, the steady state of (1) is the Dirac delta function. Using a velocity rescaling technique, one can show that the MAPPED CHEBYSHEV APPROXIMATIONS FOR THE BOLTZMANN EQUATION 3 distribution function, in the case of Maxwell molecules, has an algebraic tail like |v|−4 for|v|→∞ , see [1, 7]. Furthermore, if a driving mechanism, say, thermal bath, is added to the system (to prevent energy loss, as is done in many exper- iments of granular materials), the steady state solution would also exhibit heavy tails like exp(−a|v|b) with 1≤b≤ 3/2 as|v|→∞ , see [40, 6, 23]. In either of these two cases, one needs a much larger computational domain than that for Gaussians in order to capture the solution accurately. Another problem associated with the Fourier spectral method for both the elastic and inelastic Boltzmann equations is that momentum and energy conservation properties can not be easily satisfied (the energy can be conserved in the inelastic case if a velocity rescaling technique is applied, see Section 2.1). These issues motivate us to seek an alternative approach. In this paper, we develop a spectral method for the inelastic Boltzmann equation (1) using mapped Chebyshev functions on unbounded domains [9, 38], in which no domain truncation is required. Yet, since the solution of (1) converges to zero as|v| → ∞, the space of trial functions can not include any polynomials such as 1, v, v2. Therefore, a Galerkin approach, with test space being the same as trial space, will not be able to conserve or well approximate physically important quantities such as mass, momentum and energy. This leads us to develop a Petrov- Galerkin approach, for both the velocity rescaling case and the heated case, in which test functions are carefully chosen so that the mass, momentum and energy can be automatically conserved or well approximated. Therefore, our proposed method enjoys the following merits: (i) There is no domain truncation so no need to set any artificial boundary conditions; (ii) The method is of Petrov-Galerkin type with test and trial functions chosen carefully to achieve the desired convergence and conservation properties; (iii) The mapped Chebyshev polynomials have excellent approximation properties and are amenable to fast Fourier transforms thanks to their close relations to Fourier series [30]. Our discussion in this paper is limited to the one-dimensional case since our main purpose here is to demonstrate the better approximation properties of the proposed mapped Chebyshev bases compared to Fourier basis. We mention that there are several recent works [24, 29, 42] which propose different spectral approximations to the Boltzmann equation (using Hermite polynomials, etc.). While these methods can achieve better approximation property than Fourier, to the best of our knowl- edge, there does not exist any fast algorithm (at least with a similar complexity as the Fourier spectral method). Our framework, however, has the potential to be accelerated by the nonuniform fast Fourier transform. Some perspectives are given at the end of the paper and constitute our ongoing work. The remaining sections are organized as follows. In Section 2, we summarize briefly the properties of the inelastic Boltzmann equation. In Section 3, we intro- duce the mapped Chebyshev approximation and describe in detail our proposed Petrov-Galerkin spectral method. Approximation property for the function and conservation property for the moments are proved as well. In Section 4, we present several numerical examples to demonstrate the accuracy of the new method. Fi- nally, Section 5 contains some concluding remarks. 2. The inelastic Boltzmann equation and its basic properties. In this sec- tion, we briefly summarize the basic properties of the inelastic Boltzmann equation (1) and focus in particular on its long time asymptotics. 4 JINGWEI HU, JIE SHEN AND YINGWEI W ANG First of all, it is sometimes convenient to use an alternative weak form of the Boltzmann equation: ∂ ∂t ∫ R fφ dv = ∫∫ R2 Bλ(|v−w|)f(v)f(w) [φ(v′)−φ(v)] dv dw, (6) which can be derived from (2) by a simple change of variables (swapv andw, hence v′ and w′ due to (3), in the second and fourth terms in the bracket of (2)). Define the moments of f as ρ = ∫ R f dv, m =ρu = ∫ R fv dv, E = 1 2ρu2 + 1 2ρT = ∫ R fv2 2 dv, (7) where ρ is the density, m is the momentum, u is the bulk velocity, E is the total energy, andT is the temperature. Then taking the moments ∫ R· (1,v,v 2/2)T dv on both sides of (1), we obtain • conservation of mass ∂ρ ∂t = ∫ R Qe,λ(f,f ) dv = 0; (8) • conservation of momentum ∂m ∂t = ∫ R Qe,λ(f,f )v dv = 0; (9) • dissipation of energy ∂E ∂t = ∫ R Qe,λ(f,f )v2 2 dv =−1−e2 8 ∫∫ R2 Bλ(|v−w|)f(v)f(w)(v−w)2 dv dw≤ 0, (10) where we used the weak form (2) by choosing φ = 1,v,v 2/2 and the relation (4). Equations (8)-(10) imply that if e <1, the temperature of the system will de- crease to zero and the solution will eventually approach a Dirac delta function ρδ (v−u). 2.1. A velocity rescaling technique. To better study the long time behavior of the system, a standard way is to look for a self-similar solution by rescaling the velocity as (see for instance [13]) ˜v = v√ T (t) , g (˜v,t ) = √ T (t)f(v,t ). (11) Without loss of generality, we assume the initial data satisfies ρ0 = 1, u 0 = 0, T 0 = 1. (12) Then for the new function g, one has∫ R g d˜v≡ 1, ∫ R g˜v d˜v≡ 0, ∫ R g˜v2 d˜v≡ 1, (13) i.e., its temperature is a fixed constant 1. Furthermore, it can be derived from (6) that g(˜v,t ) satisfies the following equation ∂ ∂t ∫ R gφ d˜v =−1 2T−1∂T ∂t ∫ R ˜vg∂φ ∂˜v d˜v + ∫∫ R2 Bλ( √ T|˜v− ˜w|)g(˜v)g( ˜w)[φ(˜v′)−φ(˜v)] d˜v d ˜w. (14) MAPPED CHEBYSHEV APPROXIMATIONS FOR THE BOLTZMANN EQUATION 5 For Maxwell molecules (λ = 0 in (5)), if we assume C0 = 1, the above equation becomes (dropping∼ for simplicity) ∂ ∂t ∫ R gφ dv =−1 2T−1∂T ∂t ∫ R vg∂φ ∂v dv + ∫∫ R2 g(v)g(w)[φ(v′)−φ(v)] dv dw. (15) On the other hand, for initial data (12) and Maxwell molecules, (10) reduces to ∂T ∂t =−1−e2 2 T. (16) Applying this in (15), one obtains ∂ ∂t ∫ R gφ dv = 1−e2 4 ∫ R vg∂φ ∂v dv + ∫∫ R2 g(v)g(w)[φ(v′)−φ(v)] dv dw. (17) Compared to (6), the functiong satisfies a similar inelastic Boltzmann equation but with a drift term. Using the Fourier transform of (17) (in the velocity variable), it can be shown that [1, 7]: 1. if e = 1, the steady state is the Maxwellian function g(v,t =∞) =M0(v) = 1√ 2π exp { −v2 2 } ; (18) 2. if e< 1, the steady state is the Lorentz function g(v,t =∞) =M1(v) = 2 π(1 +v2)2. (19) 2.2. The heated inelastic Boltzmann equation. Many experiments about gran- ular materials include shaking, as a way to input energy into the system, counter- balancing the freezing due to energy loss. Mathematically, this amounts to adding to the right hand side of the equation (1) a diffusion term [43, 3]: ∂f ∂t =Qe,λ(f,f )(v) +ε∂2f ∂v 2, t> 0, v ∈ R, (20) where 0≤ε≤ 1 is a small diffusion coefficient. The weak form of this equation is ∂ ∂t ∫ R fφ dv = ∫∫ R2 Bλ(|v−w|)f(v)f(w) [φ(v′)−φ(v)] dv dw−ε ∫ R ∂f ∂v ∂φ ∂v dv, (21) from which one can still derive the conservation of mass and momentum. The equation for energy becomes ∂E ∂t =−1−e2 8 ∫∫ R2 Bλ(|v−w|)f(v)f(w)(v−w)2 dv dw +ερ. (22) If we consider again the initial data (12), and Maxwell molecules such that C0 = 1, then the above equation reduces to ∂T ∂t =−1−e2 2 T + 2ε. (23) Therefore, the temperature evolution is given by T (t) = ( T0− 4ε 1−e2 ) exp { −1−e2 2 t } + 4ε 1−e2. (24) 6 JINGWEI HU, JIE SHEN AND YINGWEI W ANG This analytical formula can be used to validate the accuracy of the numerical solu- tion. See Section 4.2.3. The asymptotic behavior of the steady state solution to the heated inelastic Boltzmann equation (20) has been studied in many works [6, 40, 23]. In particular, it was shown that 1. for Maxwell molecules ( λ = 0), the steady state behaves asymptotically as f(v,t =∞)∼M2(v) = exp(−a|v|), |v|→∞ ; (25) 2. for hard spheres ( λ = 1), the steady state behaves asymptotically as f(v,t =∞)∼M3(v) = exp(−a|v|3/2), |v|→∞ . (26) 3. Mapped Chebyshev spectral methods. From the previous section, we have seen that the typical solutions to the inelastic Boltzmann equation are very different from Gaussians. Due to their heavy velocity tails, it is expected that the Fourier approximation, which requires the truncation of an infinite domain into a bounded one, will not yield the optimal result. To deal with unbounded domains, popular spectral methods include Hermite functions, rational functions through mapped Jacobi functions, etc. [9, 37, 15, 47]. In this section, we will employ the mapped Chebyshev functions in [38] to construct a Petrov-Galerkin spectral method for the inelastic Boltzmann equation. To this end, we first introduce two kinds of mapped Chebyshev functions, which will be used later as bases for trial functions and test functions, respectively. Then we describe in detail the proposed Petrov-Galerkin spectral method for the inelastic Boltzmann equation including both the rescaled case (17) and the heated case (21). The approximation property for the function and conservation property for the moments are carried out later. 3.1. Mapped Chebyshev functions and useful properties. First, let us define the inner product (·,·)ω on I = (−1, 1) and (·,·)R on R respectively by (U,W )ω = ∫ I ω(ξ)U(ξ)W (ξ)dξ, (u,w )R = ∫ R u(v)w(v)dv, (27) where the weight function ω(ξ) is given by ω(ξ) = (1−ξ2)−1/2. (28) Next, let us consider the one-to-one mapping v =v(ξ) :I→ R, satisfying dv dξ = S (1−ξ2)1+r/2 = ω(ξ) [µ(ξ)]2, v (±1) =±∞, (29) where S >0 is the scaling parameter, r≥ 0 is the tail parameter, ω(ξ) is defined by (28) and the function µ(ξ) is defined as µ(ξ) = (1−ξ2)(1+r)/4 √ S , ξ ∈I = (−1, 1). (30) Hereafter, the function pair u(v) and U(ξ) satisfy u(v)≡U(ξ), v ∈ R, ξ∈I, (31) where the mapping v(ξ) is determined by (29). Moreover, suppose both u(v),U (ξ) and w(v),W (ξ) satisfy the relation (31), then we have (u,w )R = (µ−2U,W )ω, (U,W )ω = (µ2u,w )R. (32) MAPPED CHEBYSHEV APPROXIMATIONS FOR THE BOLTZMANN EQUATION 7 To simplify the notations, we use µ to denote both µ(ξ) and µ(ξ(v)). Recall that the Chebyshev polynomials {Tk(ξ)}k=0 on the interval I are orthog- onal with respect to the weight ω(ξ), i.e., (Tk,Tj)ω = ∫ 1 −1 Tk(ξ)Tj(ξ)ω(ξ)dξ =ckδkj, (33) where c0 =π, ck =π/2 for k≥ 1. By (32) and (33), we have the following orthogonal relation: ∫ R [µ(ξ(v))]2 Tk(ξ(v))√ck Tj(ξ(v))√cj dv = 1√ckcj ∫ 1 −1 Tk(ξ)Tj(ξ)ω(ξ)dξ =δkj. (34) We consider two sets of mapped Chebyshev functions on R: ˆTN ={ ˆTk(v)}N k=0 and ˜TN ={ ˜Tk(v)}N k=0 defined by ˆTk(v) := [µ(ξ(v))]−2 √ck Tk(ξ(v)), ∀ ˆTk∈ ˆTN, (35) ˜Tk(v) := [µ(ξ(v))]4 √ck Tk(ξ(v)), ∀ ˜Tk∈ ˜TN, (36) where v∈ (−∞, +∞) and ξ(v) is determined by (29). Thanks to (34), we have ( ˜Tk, ˆTj ) R = 1√ckcj (Tk,Tj)ω =δkj, ∀ ˜Tk∈ ˜TN, ˆTj∈ ˆTN. (37) Suppose u(v) can be expanded by { ˜Tk(v)}∞ k=0, i.e., u(v) = ∞∑ k=0 ˜uk[µ(ξ(v))]4Tk(ξ(v))√ck = ∞∑ k=0 ˜uk ˜Tk(ξ(v)). (38) Then the expansion coefficients {˜uk}∞ k=0 are determined by ˜uk = ( u, ˆTk ) R = ∫ R u(v) ˆTk(v)dv = 1√ck ∫ 1 −1 U(ξ) [µ(ξ)]4Tk(ξ)ω(ξ)dξ = 1√ck ( µ−4U,Tk ) ω. (39) Note that the Chebyshev transform shown in (39) can be performed in O(N logN) operations via FFTs in general. Two useful examples for the mapping between v∈ (−∞,∞) and ξ∈ (−1, 1) defined by (29) are r = 0 and r = 1, which can be explicitly written as follows (1) logarithmic mapping ( r = 0): v = S 2 ln (1 +ξ 1−ξ ) , ξ = tanh (v S ) , with µ(ξ) = 1√ S (1−ξ2)1/4; (40) (2) algebraic mapping ( r = 1): v = Sξ√ 1−ξ2, ξ = v√ S2 +v2, with µ(ξ) = 1√ S (1−ξ2)1/2. (41) Note that in the Petrov-Galerkin method to be described in Section 3.2, we use ˜TN as the set of trial functions while ˆTN as the set of test functions. Next, we derive some useful properties related to these two mapped Chebyshev function sets. 8 JINGWEI HU, JIE SHEN AND YINGWEI W ANG Lemma 3.1 (Decay property of { ˜Tk} and increase property of { ˆTk}). For any k≥ 0 and|v|≫ 1, we have | ˜Tk(v)|∼ { e−2|v|, r = 0, |v|−4, r = 1; (42) | ˆTk(v)|∼ { e|v|, r = 0, |v|2, r = 1. (43) Proof. It is easy to know that lim |v|→∞ |Tk(ξ(v))| = 1, ∀k = 0, 1,.... (44) It follows that lim |v|→∞ | ˜Tk(v)|∼ lim |v|→∞ [µ(ξ(v))]4, (45) lim |v|→∞ | ˆTk(v)|∼ lim |v|→∞ [µ(ξ(v))]−2. (46) Setting S = 1 in (40) and (41), respectively, leads to r = 0, µ 2 = (1−ξ2)1/2 = sech(v)∼ e−|v|, (47) r = 1, µ 2 = 1−ξ2 = 1 1 +v2∼|v|−2, (48) as|v|≫ 1. Then the properties (42) and (43) follow directly from (45), (46), (47) and (48). The orthonormality (37) implies that the mass matrix associated with the pair (˜TN, ˆTN) is the identity matrix. Next, we consider the first order and second order stiffness matrices, denoted respectively by S(1) = (s(1) j,k)N j,k=0 and S(2) = (s(2) j,k)N j,k=0, with each entry defined by s(1) j,k := ∫ R [ v ˜Tk(v) ][ ∂ ∂v ˆTj(v) ] dv, (49) s(2) j,k := ∫ R [ ∂ ∂v ˜Tk(v) ][ ∂ ∂v ˆTj(v) ] dv. (50) Recall the useful properties of Chebyshev polynomials: for ∀k≥ 1, ξTk(ξ) = Tk+1(ξ) +Tk−1(ξ) 2 , (51) (1−ξ2)T′ k(ξ) = k 2 (Tk−1(ξ)−Tk+1(ξ)). (52) Now we give the explicit formulas for the stiffness matrices in two useful cases:r = 1 for S(1) andr = 0 for S(2), based on the properties of Chebyshev polynomials shown above. These matrices will appear in the next subsection when we introduce the spectral method. (I) The matrix S(1) with r = 1. Starting from (49), we have s(1) j,k = ∫ 1 −1 v(ξ)µ4(ξ)Tk(ξ)√ck ∂ ∂ξ ( µ−2(ξ)Tj(ξ)√cj ) dξ = 1√ckcj ∫ 1 −1 v(ξ)Tk(ξ) ( µ2T′ j(ξ)− 2µµ′Tj(ξ) ) dξ. MAPPED CHEBYSHEV APPROXIMATIONS FOR THE BOLTZMANN EQUATION 9 Forr = 1, v(ξ) and µ(ξ) are given by (41). Then we have s(1) j,k = 1√ckcj {∫ 1 −1 ω(ξ)ξTk(ξ)(1−ξ2)T′ j(ξ)dξ + 2 ∫ 1 −1 ω(ξ)ξ2Tk(ξ)Tj(ξ)dξ } . (53) Using the properties (51)-(52), we have s(1,1) j,k = 1√ckcj ∫ 1 −1 ω(ξ)ξTk(ξ)(1−ξ2)T′ j(ξ)dξ = j 4√ckcj ∫ 1 −1 ω(ξ) [Tk+1(ξ) +Tk−1(ξ)] [Tj−1(ξ)−Tj+1(ξ)] dξ = 1√ 2, k = 0,j = 2, 1 4, k = 1,j = 1, j 4, j =k + 2, 1≤k≤N− 2, −j 4, j =k− 2, 3≤k≤N, 0, otherwise; (54) s(1,2) j,k = 1√ckcj ∫ 1 −1 ω(ξ) [ξTk(ξ)] [ξTj(ξ)] dξ = 1 4√ckcj ∫ 1 −1 ω(ξ) [Tk+1(ξ) +Tk−1(ξ)] [Tj+1(ξ) +Tj−1(ξ)] dξ = 1 2, k = 0,j = 0, 3 4, k = 1,j = 1, 1 2 √ 2, k = 0,j = 2 or k = 2,j = 0, 1 2, j =k≥ 2, 1 4, j =k− 2, 3≤k≤N or j =k + 2, 1≤k≤N− 2, 0, otherwise. (55) It follows that for r = 1, we have s(1) j,k =s(1,1) j,k + 2s(1,2) j,k . (56) (II) The matrix S(2) with r = 0. Starting from (50), we have s(2) j,k = 1√ckcj ∫ 1 −1 ∂ ∂ξ [ µ4Tk(ξ) ] ∂ ∂ξ [ µ−2Tj(ξ) ] dξ dv dξ = 1√ckcj ∫ 1 −1 [ 4µ3µ′Tk(ξ) +µ4T′ k(ξ) ][ −2µ−3µ′Tj(ξ) +µ−2T′ j(ξ) ]µ2 ω dξ = 1 S2√ckcj {∫ 1 −1 ω(1−ξ2)r+2T′ k(ξ)T′ j(ξ)dξ− 2(1 +r) ∫ 1 −1 ωξ(1−ξ2)r+1Tk(ξ)T′ j(ξ)dξ −(1 +r) ∫ 1 −1 ωξ(1−ξ2)r+1T′ k(ξ)Tj(ξ)dξ + 2(1 +r)2 ∫ 1 −1 ωξ 2(1−ξ2)rTk(ξ)Tj(ξ)dξ } . (57) 10 JINGWEI HU, JIE SHEN AND YINGWEI W ANG Forr = 0, µ(ξ) is given by (40). Then we have s(2,1) j,k := 1 S2√ckcj ∫ 1 −1 ω [ (1−ξ2)T′ k(ξ) ][ (1−ξ2)T′ j(ξ) ] dξ = 3 4S2, k = 1,j = 1, k2 2S2, 2≤k =j≤N, − (k+2)(k+4) 4S2 , j =k + 2, 1≤k≤N− 2, −k(k+2) 4S2 , j =k− 2, 3≤k≤N, 0, otherwise; (58) s(2,2) j,k := 1 S2√ckcj ∫ 1 −1 ω [ξTk(ξ)] [ (1−ξ2)T′ j(ξ) ] dξ = √ 2 2S2, k = 0,j = 2, 1 2S2, k = 1,j = 1, k2 4S2, 2≤k =j≤N, k+2 4S2, j =k + 2, 1≤k≤N− 2, −k−2 4S2, j =k− 2, 3≤k≤N, 0, otherwise; (59) s(2,3) j,k := 1 S2√ckcj ∫ 1 −1 ω [ξTk(ξ)] [ξTj(ξ)] dξ = 1 S2s(1,2) j,k , (60) where s(1,2) j,k is given in (55). It follows that for r = 0, we have s(2) jk =s(2,1) j,k − 2s(2,2) j,k −s(2,2) k,j + 2s(2,3) j,k . (61) 3.2. Petrov-Galerkin spectral methods for the inelastic Boltzmann equa- tion. We now introduce our spectral method for the inelastic Boltzmann equation using the previously defined mapped Chebyshev functions. For the weak form (6), a Petrov-Galerkin method of the semi-discretization with respect to the variable v is: find fN(v,t )∈ ˜VN such that ∂ ∂t (fN,φ )R =Qe,λ(fN,φ ), ∀φ∈ ˆVN, (62) where the operatorQe,λ(·,·) is defined as Qe,λ(f,φ ) = ∫∫ R2 Bλ(|v−w|)f(v)f(w)[φ(v′)−φ(v)] dv dw, (63) with v′ given by v′ = 1 2(v +w) +e 2(v−w). (64) The approximation functionfN is represented as the truncated mapped Chebyshev series fN(v,t ) = N∑ k=0 ˜fk(t) ˜Tk(v), (65) where{ ˜fk}N k=0 are the expansion coefficients depending ont and{ ˜Tk(v)}N k=0 are de- fined by (36). Let ˜f = [ ˜f0(t), ˜f1(t),..., ˜fN(t)]T denote the solution vector. Plugging MAPPED CHEBYSHEV APPROXIMATIONS FOR THE BOLTZMANN EQUATION 11 (65) to (62) yields the following system of ODEs d˜f dt = ˜Q e,λ (˜f), (66) where ˜Q e,λ (˜f) is a vector with k-th component defined by ˜Qe,λ k = ∫ R ∫ R Bλ(|v−w|)fN(v)fN(w) [ ˆTk(v′)− ˆTk(v) ] dv dw = ∑ i,j ˜fi ˜fj ∫ R ∫ R Bλ(|v−w|) ˜Ti(v) ˜Tj(w) [ ˆTk(v′)− ˆTk(v) ] dv dw := ∑ i,j ˜fi ˜fj [ ˜I1(i,j,k )− ˜I2(i,j,k ) ] , (67) where the integrals ˜I1(i,j,k ) and ˜I2(i,j,k ) are given, respectively, as follows: ˜I1(i,j,k ) = ∫ R ∫ R Bλ(|v−w|) ˜Ti(v) ˜Tj(w) ˆTk(v′) dv dw = ∫ 1 −1 ∫ 1 −1 Bλ(|v−w|)[µ(ξ(v))]4 √ci Ti(ξ(v))[µ(ξ(w))]4 √cj Tj(ξ(w)) Tk(ξ(v′)) [µ(ξ(v′))]2√ck · dv dξ(v) dw dξ(w)dξ(v)dξ(w) = ∫ 1 −1 ∫ 1 −1 ω(ξ(v))ω(ξ(w))Ti(ξ(v))Tj(ξ(w))√cicj Bλ(|v−w|)Tk(ξ(v′))√ck · [µ(ξ(v))µ(ξ(w)) µ(ξ(v′)) ]2 dξ(v)dξ(w), (68) ˜I2(i,j,k ) = ∫ R ∫ R Bλ(|v−w|) ˜Ti(v) ˜Tj(w) ˆTk(v) dv dw, = ∫ 1 −1 ∫ 1 −1 ω(ξ(v))ω(ξ(w))Ti(ξ(v))Tj(ξ(w))√cicj Bλ(|v−w|)Tk(ξ(v))[µ(ξ(w))]2 √ck dξ(v)dξ(w). (69) Therefore, for each fixed k, ˜I1(i,j,k ) and ˜I2(i,j,k ) are the forward Chebyshev transforms of the 2D functions Bλ(|v−w|)Tk(ξ(v′))√ck [ µ(ξ(v))µ(ξ(w)) µ(ξ(v′)) ]2 and Bλ(|v−w|)Tk(ξ(v))[µ(ξ(w))]2 √ck , respectively, which can be computed efficiently using the fast Chebyshev transform. I. With the velocity rescaling , one should use the weak form (17), whose Petrov-Galerkin approximation is: find gN(v,t ) = ∑N k=0 ˜gk(t) ˜Tk(v) ∈ ˜VN such that ∂ ∂t (gN,φ )R = 1−e2 4 S (1)(gN,φ ) +Qe,0(gN,φ ), ∀φ∈ ˆVN, (70) where the operators Qe,0 is the special case of (63) when λ = 0 andS (1)(·,·) is defined as S (1)(g,φ ) = ∫ vg∂φ ∂v dv. (71) 12 JINGWEI HU, JIE SHEN AND YINGWEI W ANG Using the same vector notation as before, (70) becomes d˜g dt = 1−e2 4 S(1)˜g + ˜Q e,0 (˜g), (72) where the matrix S(1) is defined in (49), and ˜Q e,0 is the special case of ˜Q e,λ when λ = 0. II. With the heated term , one starts with the weak form (21), whose Petrov- Galerkin approximation is: find fN(v,t )∈ ˜VN such that ∂ ∂t (fN,φ )R =Qe,λ(fN,φ )−εS (2)(fN,φ ), ∀φ∈ ˆVN, (73) where the operatorS (2)(·,·) is defined as S (2)(f,φ ) = ∫ R ∂f ∂v ∂φ ∂v dv. (74) Using the same vector notation as before, (73) becomes d˜f dt = ˜Q e,λ (˜f)−εS(2)˜f, (75) where the matrix S(2) is defined in (50). Remark 1. The time discretization for the ODE systems (66), (72) and (75) is immaterial since there is no stiff term in these equations. The numerical results presented in the next section are obtained using a fourth order explicit Runge- Kutta scheme. Remark 2. In the case of velocity rescaling, if the particles are non-Maxwell molecules, one needs to solve an additional equation for T (t). This can be done in the same spectral framework proposed here. We omit the detail. 3.3. Approximation property for the function. Now we consider the error estimates for mapped Chebyshev approximations. Without loss of generality, we assume the scaling parameter S = 1 in the µ defined by (30). Let PN be the set of polynomials with degree less than or equal to N and define a more general approximation space with a parameter α, Vα N := span{Tα k (v) := [µ(ξ(v))]αTk(ξ(v)), k= 0, 1,...,N }. (76) Our two sets of approximation spaces correspond toα = 4 andα =−2, respectively, i.e., ˜VN = V4 N = span ( ˜TN ) , ˆVN = V−2 N = span ( ˆTN ) . (77) In what follows, in addition to the pair ( u,U ) shown in (31), we use (ˆuα,ˆUα) to denote another pair related by: ˆuα(v) =u(v)[µ(ξ(v))]−α =U(ξ(v))[µ(ξ(v))]−α = ˆUα(ξ(v)). (78) Letω(ξ) be the Chebyshev weight defined by (28) and Π c N :L2 ω(I)→ PN be the Chebyshev orthogonal projection defined by ( Πc NU−U, Φ ) L2ω(I) = 0, ∀Φ∈ PN. (79) Let µ(ξ(v)) be defined in (30). We define the projector πα Nu :L2 µ2−2α(R)→ Vα N by πα Nu :=µαΠc N(Uµ−α) =µα(Πc NˆUα)∈ Vα N. (80) MAPPED CHEBYSHEV APPROXIMATIONS FOR THE BOLTZMANN EQUATION 13 We verify from the definition that ∫ ∞ −∞ (πα Nu−u)Tα k (v)µ2−2α dv = ∫ 1 −1 ( Πc N(Uµ−α)− (Uµ−α) ) Tk(ξ)µ2 dv dξ dξ = ∫ 1 −1 ( Πc NˆUα−ˆUα) Tk(ξ)ω(ξ)dξ = 0, ∀0≤k≤N. (81) To describe the approximation error, we introduce the following differential opera- tor: Dα,vu :=a(v) d dv ˆuα, (82) where a(v) = dv dξ is defined by (29) and ˆuα(v) =u(v)[µ(ξ(v))]−α. We can derive by recursion that dˆUα dξ =adˆuα dv :=Dα,vu, d2ˆUα dξ2 =a d dv ( adˆuα dv ) :=D2 α,vu, ... dkˆUα dξk =a d dv ( a d dv ( ······ ( adˆuα dv ) ··· )) k−1 parentheses :=Dk α,vu. (83) Next, we define the following function space Bm α (R) = { u : u is measurable in R and ∥u∥Bmα (R) <∞ } , (84) equipped with the norm and semi-norm ∥u∥Bmα (R) = ( m∑ k=0 Dk α,vu 2 L2 ϖk+(1+r)/2 (R) )1/2 , |u|Bm(R) = Dm α,vu L2 ϖm+(1+r)/2 (R) (85) where the weight function ϖs(v) := (1−ξ2(v))s. We are now ready to present the main results on the mapped Chebyshev approx- imations. Theorem 3.2. Consider α∈ R, r≥ 0. If u∈Bm α (R), we have πα Nu−u L2 µ2−2α (R) ≲N−mDm α,vu L2 ϖm+(1+r)/2 (R). (86) Proof. We recall [?] that Πc NU−U L2ω(I) ≲N−m∥dm ξ U∥L2 (1−ξ2 )m−1/2 (I). On the other hand, similar to (81), we have ∫ ∞ −∞ (πα Nu−u)2µ2−2α dv = ∫ 1 −1 ( Πc N(Uµ−α)− (Uµ−α) )2 µ2 dv dξ dξ = ∫ 1 −1 ( Πc NˆUα−ˆUα)2 ω(ξ) dξ. (87) 14 JINGWEI HU, JIE SHEN AND YINGWEI W ANG Henceπα Nu−u L2 µ2−2α (R) = Πc NˆUα−ˆUα L2ω(I) ≲N−m∥dm ξ ˆUα∥L2 (1−ξ2 )m−1/2 (I) ≲N−mDm α,vu L2 ϖm+(1+r)/2 (R). (88) 3.4. Approximation property for the moments. We show below that our Petrov-Galerkin method enjoys excellent approximation properties for physically important moments such as mass, momentum and energy. Theorem 3.3. In the velocity rescaling case ( r = 1), the functions 1 andv2 are in- cluded in the test space ˆVN so that the mass and energy are automatically conserved; on the other hand, the error estimate for the momentum is given by |(g,v )R− (g,π−2 N v)R| ≲∥g∥L2 µ−6 (R)N−2. (89) Furthermore, the convergence rate can be improved for smoother g: |(g,v )R− (g,π−2 N v)R| ≲∥Dm −2,v(gµ−6)∥L2 ϖm+1 (R)N−2−m. (90) In the heated case ( r = 0), the error estimate for any moment vk (k = 0, 1, 2,... integer) is given by |(f,vk)R− (f,π−2 N vk)R| ≲∥f∥L2 µ−6 (R)N−1. (91) Furthermore, the convergence rate can be improved for smoother f : |(f,vk)R− (f,π−2 N vk)R| ≲∥Dm −2,v(fµ−6)∥L2 ϖm+1/2 (R)N−1−m. (92) Proof. We recall that in the case of velocity rescaling, we use the algebraic mapping (41), while in the heated case we use the logarithmic mapping (40). The velocity rescaling case. We show first that withr = 1, the functions 1 and v2 are included in the test space ˆVN so that the zeroth and second moments are automatically conserved. Starting from the first three Chebyshev polynomials T0(ξ) = 1, T 1(ξ) =ξ, T 2(ξ) = 2ξ2− 1, (93) we can get T0(ξ(v)) = 1, T 1(ξ(v)) = v√ S2 +v2, T 2(ξ(v)) = v2−S2 v2 +S2, (94) =⇒ ˆT0(ξ(v)) = v2 +S2 S , ˆT1(ξ(v)) = v S √ v2 +S2, ˆT2(ξ(v)) = v2−S2 S , (95) =⇒ 1 = 1 2S ( ˆT0(ξ(v))− ˆT2(ξ(v)) ) , v 2 = S 2 ( ˆT0(ξ(v)) + ˆT2(ξ(v)) ) , (96) which show that 1 and v2 are included in the test space ˆVN = V−2 N . Unfortunately, v is not in the test space. But we can easily check that Dm α,vv L2 ϖm+1 (R) <∞ for m = 0, 1, 2 and α =−2. (97) Thanks to Theorem 3.2, we can derive from (86) with α =−2,m = 2 that ∥v−π−2 N v∥L2 µ6 (R) ≲N−2. (98) MAPPED CHEBYSHEV APPROXIMATIONS FOR THE BOLTZMANN EQUATION 15 Hence, the first moment (g,v )R can be approximated by our Petrov-Galerkin method (g,π−2 N v)R with error |(g,v )R− (g,π−2 N v)R|≤∥ g∥L2 µ−6 (R)∥v−π−2 N v∥L2 µ6 (R) ≲∥g∥L2 µ−6 (R)N−2. (99) Furthermore, the convergence rate can be improved for smoother g. Indeed, we recall from (81) that (v−π−2 N v,wN)µ6 = 0 ∀wN∈ V−2 N . (100) Hence, we derive from the above, (98) and (86) that |(g,v )R− (g,π−2 N v)R| =|(g,v−π−2 N v)R| =|(gµ−6,v−π−2 N v)µ6| =|(gµ−6−π−2 N (gµ−6),v−π−2 N v)µ6| ≲∥gµ−6−π−2 N (gµ−6)∥µ6N−2 ≲∥Dm −2,v(gµ−6)∥L2 ϖm+1 (R)N−2−m. (101) The heated case. In this case r = 0, and the polynomials {1,v,v 2} are not in the test space ˆVN. However, we shall show below Dm α,v(vk) L2 ϖm+1/2 (R) <∞ for α =−2, m = 0, 1, and any integer k = 0, 1, 2,... . For the sake of notational simplicity, let us assume S = 1. We have [µ(ξ(v))]2 = (1−ξ2)1/2 = 2 ev/S + e−v = sech (v), (102) a(v) = dv dξ = (1−ξ2)−1 = (ev + e−v 2 )2 = cosh2(v), (103) ϖm+1/2(v) = (1−ξ2)m+1/2 = ( 2 ev + e−v )2m+1 = sech2m+1 (v). (104) It follows that for m = 0, we have ∥D0 α,v(vk)∥2 L2 ϖ1/2 (R) = ∫ R v2ksech3 (v) dv <∞. (105) Form = 1, we have ∥D1 α,v(vk)∥2 L2 ϖ3/2 (R) = ∫ R 1 sech (v) [ d dv ( vksech(v) )]2 dv (106) = ∫ R ( v2k tanh2(v)sech(v) + terms with faster decay ) dv (107) <∞. (108) It follows from (86) with α =−2,m = 1 in Theorem 3.2 that ∥vk−π−2 N vk∥L2 µ6 (R) ≲N−1. (109) Then |(f,vk)R− (f,π−2 N vk)R|≤∥ f∥L2 µ−6 (R)∥vk−π−2 N vk∥L2 µ6 (R) ≲∥f∥L2 µ−6 (R)N−1. (110) Furthermore, with smoother f, one can derive similarly as above that |(f,vk)R− (f,π−2 N vk)R| ≲∥Dm −2,v(fµ−6)∥L2 ϖm+1/2 (R)N−1−m. (111) 16 JINGWEI HU, JIE SHEN AND YINGWEI W ANG Remark 3. We recall that in the Fourier Galerkin method [34, 16], only the zeroth moment is preserved, while the first and second moments converge as N−1/2 and N−3/2 (for f ∈ L2), respectively. For our method, (i) in the velocity rescaling case (r = 1), the method preserves exactly the zeroth and second moments, and the first moment converges as N−2 (for g ∈ L2 µ−6), and (ii) in the heated case (r = 0), all polynomial moments converge as N−1 (for f ∈ L2 µ−6). Hence, our Petrov-Galerkin methods improve over the Fourier Galerkin method with respect to physically important moments (for r = 1 the rate is better for first three moments; for r = 0 all polynomial moments decay). If the function f is smooth, then all methods would converge exponentially. Furthermore, the test and trial functions in our Petrov-Galerkin methods enjoy the following nice properties: • They are orthogonal to each other which leads to the sparsity in the mass and stiffness matrices. • They are linked to the Chebyshev polynomials so that fast transforms between function values and expansion coefficients are available through FFT. 4. Numerical examples. In this section, we present several numerical examples showing the accuracy of the proposed spectral method. We first compare the ap- proximation errors obtained from Fourier and mapped Chebyshev approximations for the typical steady state functions appearing in the inelastic Boltzmann equation. Then we use the method to solve the equation. 4.1. Approximation results. First, let us consider the spectral approximation to the functions {Mk(v)}3 k=0 defined in (18), (19), (25) and (26), whose plots are shown in Figure 1. We compare the results from three methods: (1) F ourier: Fourier approximation in truncated domain [−L,L ]; (2) Chebyshev-0: Mapped Chebyshev approximation with r = 0; (3) Chebyshev-1: Mapped Chebyshev approximation with r = 1. We chooseL = 16 in Fourier approximation and the scaling parameter S = 4 in mapped Chebyshev approximations. The numerical results are shown in Figures 2 - 3, where the L2 error is defined as (∫L −L(Mext(v)−Mnum(v))2dv )1/2 in the Fourier method and (∫ R(Mext(v)−Mnum(v))2dv )1/2 in the Chebyshev method. We can observe that: • For the functions M0(v),M 2(v) and M3(v), the tails of which decay expo- nentially, the mapped Chebyshev approximation with both r = 0 and r = 1 perform better than Fourier approximation. • For the functionM1(v) with algebraic decay, the mapped Chebyshev approx- imation with r = 0 does not converge. However, the mapped Chebyshev approximation with r = 1 performs much better than Fourier approximation. In fact, this is the reason we use r = 1 in the rescaled case and r = 0 in the heated case when solving the equations later. 4.2. Solving the inelastic Boltzmann equation. We now test the spectral methods described in Section 3.2 for solving the inelastic Boltzmann equation. The fourth order explicit Runge-Kutta scheme is used for time discretization. For MAPPED CHEBYSHEV APPROXIMATIONS FOR THE BOLTZMANN EQUATION 17 -4 -2 0 2 4 v 0 0.2 0.4 M0(v) -4 -2 0 2 4 v 0 0.3 0.6 M1(v) (i) M0(v) = 1√ 2π e−v2 2 (ii) M1(v) = 2 π(1+v2)2 -4 -2 0 2 4 v 0 0.5 1 M3(v) -4 -2 0 2 4 v 0 0.5 1 M2(v) (iii) M2(v) = e−|v| (iv) M3(v) = e−|v|3/2 Figure 1. Functions to be approximated. simplicity, we will restrict to Maxwell molecules and consider the following initial condition f(v, 0) = 1√ 2π exp ( −v2 2 ) . (112) 4.2.1. Classical variables. Let us first solve the inelastic Boltzmann equation writ- ten in the original variable, i.e., the problem (62). In the numerical test, we use the method Chebyshev-0 withN = 256,S = 8 in velocity discretization, the time step is chosen as ∆ t = 0.005, and the restitution coefficiente = 0.25. The numerical solutions of f at timet = 5, 10, 15, 20 are shown in Figure 4, which verifies that the solution formally converges to the Dirac delta function. Furthermore, the numerical zero, first, and second order moments of f and their errors are shown in Figure 5. We observe spurious oscillations due to the Gibbs phenomenon and thus we have a marked deterioration of accuracy in the moments. As discussed earlier, there are two different strategies that may serve as a remedy to this problem: (1) velocity rescaling and (2) adding a diffusion term. 4.2.2. Rescaled variables. We now solve the problem (70) using the method Chebyshev-1 with N = 256,S = 8 in velocity discretization. The numerical 18 JINGWEI HU, JIE SHEN AND YINGWEI W ANG 100 101 10210-20 10-15 10-10 10-05 1000 N Errors Fourier Chebyshev-0 Chebyshev-1 100 101 10210-20 10-15 10-10 10-05 1000 N Errors Fourier Chebyshev-0 Chebyshev-1 (i) M0(v) = 1√ 2π e−v2 2 (ii) M1(v) = 2 π(1+v2)2 100 101 10210-3 10-2 10-1 100 N Errors Fourier Chebyshev-0 Chebyshev-1 100 101 10210-4 10-3 10-2 10-1 100 N Errors Fourier Chebyshev-0 Chebyshev-1 (iii) M2(v) = e−|v| (iv) M3(v) = e−|v|3/2 Figure 2. L2 errors in log-log scale. solutions of g for e = 0.25 in rescaled variables at time t = 5, 10, 15, 20 are shown in part (i) and (ii) in Figure 6. Using the relation (11), we can transform back to the original function f, which are shown in part (iii) and (iv) in Figure 6. We can observe that the solutions are captured well without oscillations after rescaling. Furthermore, we consider the case e = 0.75. The numerical results are shown in Figures 7. Also, the errors of the zeroth and second numerical moments of g are shown in Figure 8 (the result of the first moment is omitted as it can be captured well due to the symmetry of the solution), which verify our claims in Section 3.4 that the zeroth and second moments are conserved up to the time discretization error. 4.2.3. Heated case. For the heated problem (73) with λ = 0, we use the method Chebyshev-0 with N = 256,S = 8 in velocity discretization. We consider the cases with ε = 0.1, 0.01 and e = 0.25, 0.75. The numerical solutions at time t = 20 are shown in Figure 9. The numerical moments for ε = 0.01 as well as the errors are shown in Figures 10 and 12. Also, the errors of moments with respect to different N are shown in Figure 11 and Figure 13. MAPPED CHEBYSHEV APPROXIMATIONS FOR THE BOLTZMANN EQUATION 19 50 100 150 20010-20 10-15 10-10 10-05 1000 Errors N Fourier Chebyshev-0 Chebyshev-1 50 100 150 20010-20 10-15 10-10 10-05 1000 Errors N Fourier Chebyshev-0 Chebyshev-1 (i) M0(v) = 1√ 2π e−v2 2 (ii) M1(v) = 2 π(1+v2)2 50 100 150 20010-4 10-3 10-2 10-1 100 Errors N Fourier Chebyshev-0 Chebyshev-1 (iii) M2(v) = e−|v| (iv) M3(v) = e−|v|3/2 Figure 3. L2 errors in linear-log scale. -4 -2 0 2 4 v 0 10 20 30f(v) t = 0 t = 5 t = 15 t = 20 -2 -1 0 1 2 v 10-8 10-6 10-4 10-2 100 102 f(v) t = 0 t = 5 t = 15 t = 20 (i) overall (ii) zoomed (log scale) Figure 4. Numerical solutions of f at time t = 0, 5, 10, 20 with e = 0.25. 20 JINGWEI HU, JIE SHEN AND YINGWEI W ANG 0 5 10 15 20 t 0 0.25 0.5 0.75 1 1.25Numerical Moments zero first second 0 5 10 15 20 t 10 -10 10 -8 10 -6 10 -4 10 -2 10 0 10 2 10 4 Erros of Moments zero second (i) moments (ii) errors Figure 5. Numerical moments of f from t = 0 to t = 20 with e = 0.25. -10 -5 0 5 10 v 0 0.2 0.4 0.6g(v) -4 -2 0 2 4 v 10-4 10-3 10-2 10-1 100 g(v) (i) g: overall (ii) g: zoomed (log scale) -10 -5 0 5 10 v 0 10 20 30f(v) -4 -2 0 2 4 v 10-10 10-8 10-6 10-4 10-2 100 102 f(v) (iii) back to f: overall (iv) back to f: zoomed (log scale) Figure 6. Numerical solutions in the rescaled case at time t = 0, 5, 10, 20 with e = 0.25. MAPPED CHEBYSHEV APPROXIMATIONS FOR THE BOLTZMANN EQUATION 21 -10 -5 0 5 10 v 0 0.2 0.4 0.6g(v) -4 -2 0 2 4 v 10-4 10-3 10-2 10-1 100 g(v) (i) g: overall (ii) g: zoomed (log scale) -10 -5 0 5 10 v 0 2 4f(v) -2 -1 0 1 2 v 10-6 10-4 10-2 100 102 f(v) (iii) back to f: overall (iv) back to f: zoomed (log scale) Figure 7. Numerical solutions in the rescaled case at time t = 0, 5, 10, 20 with e = 0.75. 0 5 10 15 20 t 10 -16 10 -14 10 -12 10 -10 10 -8 Errors of Moments zero second 0 5 10 15 20 t 10 -16 10 -14 10 -12 10 -10 10 -8 Errors of Moments zero second (i) e = 0.25 (ii) e = 0.75 Figure 8. Errors of numerical moments of g from t = 0 to t = 20. 22 JINGWEI HU, JIE SHEN AND YINGWEI W ANG -4 -2 0 2 4 v 0 1 2f(v) -4 -2 0 2 4 v 0 1 2f(v) (i) e = 0.25 (ii) e = 0.75 Figure 9. Numerical solutions of heated case at time t = 20. 0 5 10 15 20 t 0 0.25 0.5 0.75 1 1.25Numerical Moments zero first second 0 5 10 15 20 t 10 -10 10 -8 10 -6 10 -4 10 -2 Errors of Moments zero second (i) moments (ii) errors Figure 10. Numerical moments of f from t = 0 to t = 20 with e = 0.25,ε = 0.01. 5. Concluding remarks. We introduced a Petrov-Galerkin spectral method for solving the inelastic Boltzmann equation. Solutions to such equations usually ex- hibit heavy tails in the velocity space which requires large computational domain. Our method is based on the mapped Chebyshev functions on unbounded domains so that domain truncation is not required. Furthermore, instead of the usual Galerkin approach, we devised a Petrov-Galerkin approach with carefully chosen trial and test spaces such that (i) in the rescaled case with r = 1, it conserves the mass and energy exactly and provides very good approximation of the momentum; (ii) in the heated case, all the three moments converge exponentially. Through a series of examples, we showed that the proposed method performs much better than the Fourier spectral method and yields accurate results. This paper represents our initial effort in solving Boltzmann equations using a spectral basis other than Fourier series. While our discussion is limited to the one-dimensional case in this paper, it is clear that the essential ingredients of the proposed method, mapped Chebyshev functions MAPPED CHEBYSHEV APPROXIMATIONS FOR THE BOLTZMANN EQUATION 23 101 102 103 10-6 10-5 10-4 10-3 10-2 10-1 100 101 102 Errors of Moments N zero second 0 50 100 150 200 250 300 10-6 10-5 10-4 10-3 10-2 10-1 100 101 102 Errors of Moments N zero second (i) log-log scale (ii) linear-log scale Figure 11. Errors of moments of att = 20 withe = 0.25,ε = 0.01 with respect to different N. 0 5 10 15 20 t 0 0.25 0.5 0.75 1 1.25Numerical Moments zero first second 0 5 10 15 20 t 10 -10 10 -8 10 -6 10 -4 10 -2 Errors of Moments zero second (i) moments (ii) errors Figure 12. Numerical moments of f from t = 0 to t = 20 with e = 0.75,ε = 0.01. and the Petrov-Galerkin formulation, can be applied to the multi-dimensional case. However, a feasible implementation in multi-D would require new strategies to com- pute the collision terms more efficiently. In the current 1D setting, we first precompute the tensors ˜I1(i,j,k ) and ˜I2(i,j,k ) (0≤ i,j,k ≤ N, where N is the number of expansion in (65)) using the 2D fast Chebyshev transform, hence the pre-computation cost is O(N 3 logN) and the stor- age requirement is O(N 3). Then, the numerical complexity to evaluate ˜Qe,λ k for all k is O(N 3). In the multi-dimensional case ( v∈ Rd, d= 2, 3), a direct extension of the above approach would requireO(N 3d logN) complexity in the pre-computation, withO(N 3d) storage requirement and O(N 3d) complexity for evaluation of the col- lision operator. This quickly becomes a bottleneck when N is large. We are working on developing a fast algorithm to accelerate the evaluation of the collision operator as well as to alleviate the storage requirement. As a starting 24 JINGWEI HU, JIE SHEN AND YINGWEI W ANG 101 102 103 10-7 10-6 10-5 10-4 10-3 10-2 10-1 100 101 102 N Errors of Moments zero second 0 50 100 150 200 250 300 10-7 10-6 10-5 10-4 10-3 10-2 10-1 100 101 102 N Errors of Moments zero second (i) log-log scale (ii) linear-log scale Figure 13. Errors of moments of att = 20 withe = 0.75,ε = 0.01 with respect to different N. point, we rewrite (67) as: ˜Qe,λ k = ∫ R ∫ R Bλ(|v−w|)fN(v)fN(w) [ ˆTk(v′)− ˆTk(v) ] dv dw = ∫ R (∫ R Bλ(|v−w|)fN(w) ˆTk(v′) dw ) fN(v) dv − ∫ R (∫ R Bλ(|v−w|)fN(w) dw ) fN(v) ˆTk(v) dv, (113) and notice that the inner integral for the gain term can be computed by a nonuni- form fast Fourier transform inO(N logN) operations using similar ideas as proposed in [46, 10]. Together with the outer integral, which has to be evaluated directly, re- sults in a computational cost of O(N 2 logN). Similar acceleration can be achieved for the loss term. Combining this in a multi-dimensional framework, it is hopeful to arrive at a fast algorithm which can evaluate the collision term in O(N 2d logN) operations and everything will be computed on-the-fly, hence no pre-computation with excessive storage is required. Acknowledgments. J. Hu would like to thank Ricardo Alonso, Jose A. Carrillo, and Changhui Tan for helpful discussion on inelastic kinetic models. We thank Xiaodong Huang for pointing out the mistakes in a previous version of the paper. REFERENCES [1] A. Baldassarri, A. Puglisi, and U. Marconi, Kinetics models of inelastic gases, Math. Models Methods Appl. Sci. , 12 (2002), 965–983. [2] A. Barrat, E. Trizac, and M. H. Ernst, Granular gases: Dynamics and collective effects, J. Phys.: Condens. Matter , 17 (2005), S2429–S2437. [3] D. Benedetto, E. Caglioti, J. A. Carrillo and M. Pulvirenti, A non-Maxwellian steady distri- bution for one-dimensional granular media , J. Stat. Phys. , 91 (1998), 979–990. [4] D. Benedetto and M. Pulvirenti, On the one-dimensional Boltzmann equation for granular flows, M2AN: Math. Model. Numer. Anal. , 35 (2001), 899–905. [5] A. V. Bobylev, J. A. Carrillo, and I. M. Gamba, On some properties of kinetic and hydrody- namic equations for inelastic interactions, J. Statist. Phys. , 98 (2000), 743–773. MAPPED CHEBYSHEV APPROXIMATIONS FOR THE BOLTZMANN EQUATION 25 [6] A. V. Bobylev and C. Cercignani, Moment equations for a granular material in a thermal bath, J. Statist. Phys. , 106 (2002), 547–567. [7] A. V. Bobylev and C. Cercignani, Self-similar asymptotics for the Boltzmann equation with inelastic and elastic interactions, J. Statist. Phys. , 110 (2003), 333–375. [8] A. V. Bobylev and S. Rjasanow, Fast deterministic method of solving the Boltzmann equation for hard spheres , Eur. J. Mech. B Fluids , 18 (1999), 869–887. [9] J. P. Boyd, Chebyshev and Fourier Spectral Methods , 2 nd edition, Dover Publications, Inc., Mineola, NY, 2001. [10] J. Bremer and H. Yang, Fast algorithms for Jacobi expansions via nonoscillatory phase func- tions, preprint, 2018, arXiv::1803.03889. [11] N. V. Brilliantov and T. P¨ oschel,Kinetic Theory of Granular Gases, Oxford University Press, Oxford, UK, 2004. [12] J. A. Carrillo, C. Cercignani and I. M. Gamba, Steady states of a Boltzmann equation for driven granular media, Phys. Rev. E , 62 (2000), 7700–7707. [13] J. A. Carrillo and G. Toscani, Contractive probability metrics and asymptotic behavior of dissipative kinetic equations, Riv. Mat. Univ. Parma , 6 (2007), 75–198. [14] C. Cercignani, Recent developments in the mechanics of granular materials, in Fisica Matem- atica e Ingeneria Delle Strutture , Pitagora Editrice, Bologna, 1995, 119–132. [15] G. Chai and T.-J. Wang, Generalized hermite spectral method for nonlinear Fokker-Planck equations on the whole line, J. Math. Study , 51 (2018), 177–195. [16] G. Dimarco and L. Pareschi, Numerical methods for kinetic equations, Acta Numer. , 23 (2014), 369–520. [17] F. Filbet, On deterministic approximation of the Boltzmann equation in a bounded domain, Multiscale Model. Simul., 10 (2012), 792–817. [18] F. Filbet, C. Mouhot and L. Pareschi, Solving the Boltzmann equation in NlogN, SIAM J. Sci. Comput., 28 (2006), 1029–1053. [19] F. Filbet, L. Pareschi, and G. Toscani, Accurate numerical methods for the collisional motion of (heated) granular flows, J. Comput. Phys. , 202 (2005), 216–235. [20] F. Filbet and T. Rey, A rescaling velocity method for dissipative kinetic equations. Applica- tions to granular media, J. Comput. Phys. , 248 (2013), 177–199. [21] F. Filbet and G. Russo, High order numerical methods for the space non-homogeneous Boltz- mann equation, J. Comput. Phys. , 186 (2003), 457–480. [22] I. M. Gamba, J. R. Haack, C. D. Hauck and J. Hu, A fast spectral method for the Boltzmann collision operator with general collision kernels, SIAM J. Sci. Comput. , 39 (2017), B658– B674. [23] I. M. Gamba, V. Panferov, and C. Villani, On the Boltzmann equation for diffusively excited granular media, Commun. Math. Phys. , 246 (2004), 503–541. [24] I. M. Gamba and S. Rjasanow, Galerkin-Petrov approach for the Boltzmann equation, J. Comput. Phys., 366 (2018), 341–365. [25] I. M. Gamba, S. Rjasanow and W. Wagner, Direct simulation of the uniformly heated granular Boltzmann equation, Math. Comput. Modelling , 42 (2005), 683–700. [26] I. M. Gamba and S. H. Tharkabhushanam, Spectral-Lagrangian methods for collisional models of non-equilibrium statistical states, J. Comput. Phys. , 228 (2009), 2012–2036. [27] J. Hu and Z. Ma, A fast spectral method for the inelastic Boltzmann collision operator and application to heated granular gases, J. Comput. Phys. , 385 (2019), 119–134. [28] J. Hu and L. Ying, A fast spectral algorithm for the quantum Boltzmann collision operator, Commun. Math. Sci. , 10 (2012), 989–999. [29] G. Kizler and J. Schr¨ oberl, A polynomial spectral method for the spatially homogenenous Boltzmann equation, SIAM J. Sci. Comput. , 41 (2019), B27–B49. [30] J. C. Mason and D. C. Handscomb, Chebyshev Polynomials, Chapman and Hall/CRC, Boca Raton, FL, 2003. [31] C. Mouhot and L. Pareschi, Fast algorithms for computing the Boltzmann collision operator, Math. Comp., 75 (2006), 1833–1852. [32] G. Naldi, L. Pareschi and G. Toscani, Spectral methods for one-dimensional kinetic models of granular flows and numerical quasi elastic limit, M2AN Math. Model. Numer. Anal. , 37 (2003), 73–90. [33] L. Pareschi and B. Perthame, A Fourier spectral method for homogeneous Boltzmann equa- tions, Transport Theory Statist. Phys., 25 (1996), 369–382. 26 JINGWEI HU, JIE SHEN AND YINGWEI W ANG [34] L. Pareschi and G. Russo, Numerical solution of the Boltzmann equation I. Spectrally accurate approximation of the collision operator, SIAM J. Numer. Anal. , 37 (2000), 1217–1245. [35] L. Pareschi and G. Toscani, Interacting Multiagent Systems , Oxford University Press, UK, 2014. [36] S. Rjasanow and W. Wagner, Time splitting error in DSMC schemes for the spatially homo- geneous inelastic Boltzmann equation, SIAM J. Numer. Anal. , 45 (2007), 54–67. [37] J. Shen, T. Tang, and L.-L. Wang, Spectral Methods: Algorithms, Analysis and Applications , Springer-Verlag, Berlin-Heidelberg, 2011. [38] J. Shen, L.-L. Wang and H. Yu, Approximations by orthonormal mapped Chebyshev functions for higher-dimensional problems in unbounded domains, J. Comput. Appl. Math., 265 (2014), 264–275. [39] G. Toscani, One-dimensional kinetic models of granular flows, M2AN Math. Model. Numer. Anal., 34 (2000), 1277–1291. [40] T. P. C. van Noije and M. H. Ernst, Velocity distributions in homogeneous granular fluids: The free and the heated case, Granular Matter , 1 (1998), 57–64. [41] C. Villani, Mathematics of granular materials, J. Stat. Phys. , 124 (2006), 781–822. [42] Y. Wang and Z. Cai, Approximation of the Boltzmann collision operator based on Hermite spectral method, J.Comput. Phys , 397 (2019), 108815, 23 pp. [43] D. Williams and F. Mackintosh, Driven granular media in one dimension: Correlations and equation of state, Phys. Rev. E , 54 (1996), R9–R12. [44] L. Wu, C. White, T. J. Scanlon, J. M. Reese and Y. Zhang, Deterministic numerical solutions of the Boltzmann equation using the fast spectral method, J. Comput. Phys. , 250 (2013), 27–52. [45] L. Wu, Y. Zhang and J. M. Reese, Fast spectral solution of the generalized Enskog equation for dense gases, J. Comput. Phys. , 303 (2015), 66–79. [46] H. Yang, A unified framework for oscillatory integral transform: When to use NUFFT or butterfly factorization, J. Comput. Phys. 388 (2019), 103–122. [47] X. Yu, Y. Zhao and Z. Wang, A diagonalized Legendre rational spectral method for problems on the whole line, J. Math. Study , 51 (2018), 196–213. Received June 2019; revised January 2020. E-mail address: jingweihu@purdue.edu E-mail address: shen7@purdue.edu E-mail address: Yingwei.Wang@sas.com
采集于
查看校方原文 ↗