Abstract
We propose a high order discontinuous Galerkin method for solving nonlinear Fokker–Planck equations with a gradient flow structure. For some of these models it is known that the transient solutions converge to steady-states when time tends to infinity. The scheme is shown to satisfy a discrete version of the entropy dissipation law and preserve steady-states, therefore providing numerical solutions with satisfying long-time behavior. The positivity of numerical solutions is enforced through a reconstruction algorithm, based on positive cell averages. For the model with trivial potential, a parameter range sufficient for positivity preservation is rigorously established. For other cases, cell averages can be made positive at each time step by tuning the numerical flux parameters. A selected set of numerical examples is presented to confirm both the high-order accuracy and the efficiency to capture the large-time asymptotic.
Similar content being viewed by others
Avoid common mistakes on your manuscript.
1 Introduction
In this paper, we propose a high order accurate discontinuous Galerkin (DG) method for solving the following problem
subject to appropriate boundary conditions. Here \( u(t, x)\ge 0\) is the unknown, \(\Omega \) is a bounded domain in \(\mathbb {R}^d\), \(H: \mathbb {R}^+ \rightarrow \mathbb {R}\) and \(f: \mathbb {R}^+ \rightarrow \mathbb {R}^+\) are given functions, and \(\Phi (x)\) is a given potential function.
This equation has a gradient flow structure corresponding to the entropy functional
A simple calculation shows that the time derivative of this entropy along the equation (1a) with zero flux boundary condition is
which reveals the entropy dissipation property of the underlying system. Certain entropy dissipation inequalities are recognized to characterize the fine details of the convergence to steady states, see e.g., [7, 9, 11, 24].
Equations such as (1a) appear in a wide range of applications. In the case \(f(u)=u\), the equation becomes
If \(H'(u)=u^m (m>1)\) and \(\Phi =0\), it is the porous medium equation [11, 24], and for \(H'(u)=\nu u^{m-1}\) and \(\Phi ={x^4}/{4}-{x^2}/{2}\), it is the nonlinear diffusion equation confined by a double-well potential [6]. A particular example with nonlinear f(u) is
which is known as a model for fermion (\(k=-1\)) and boson (\(k=1\)) gases [8, 10, 28]. A more general class of the form
is known to develop finite time concentration beyond some critical mass [1].
In order to capture the rich dynamics of solutions to (1), it is highly desirable to develop high order schemes which can preserve the entropy dissipation law (2) at the discrete level. In this work, we propose such a scheme for (1) using the discontinuous Galerkin discretization.
A related finite volume method was already proposed in [5] for (1), and further generalized to cover the nonlocal terms and general dimension in [6]. For (1) with \(f(u)=u\) and an additional nonlocal interaction term, a mixed finite element method was studied in [4] based on their interpretation as gradient flows in optimal transportation metrics, following the so called JKO formulation, which is a variational scheme proposed by Jordan et al. [13] for linear Fokker–Planck equations. Regarding the use of relative entropy functionals we refer to [2] for the study of the large time behavior of a fully implicit semi-discretization applied to linear parabolic Fokker–Planck type equations in the form of (1) with \(f(u)=u\), \(H=u \mathrm{log} u\). A free energy satisfying finite difference method was proposed in [18] for the Poisson–Nernst–Planck (PNP) equations, which correspond to (1) with \(f=u\), \(H=u\mathrm{log}u\), further coupled with a Poisson equation for governing the potential \(\Phi \). However, these existing schemes are only up to second-order.
An entropy satisfying DG method has been recently developed in [22] for the linear Fokker–Planck equation
which corresponds to (3) with \(H=u log u\). The obtained DG method generalizes and improves upon the finite volume method introduced in [21]. The idea in [22] is to apply the DG discretization to the non-logarithmic Landau formulation of (6),
so that the quadratic entropy dissipation law is satisfied. Again based on this formulation, a third order DG scheme was further developed in [23] to numerically preserve the maximum principle: if \(c_1 \le u_0(x)/M \le c_2\), then \(c_1 \le u(x, t)/M \le c_2\) for all \(t>0\). However, the non-logarithmic Landau formulation does not apply directly to the more general class of equations (1a).
In this work, we construct an arbitrary high order entropy satisfying DG scheme for solving (1). The main idea behind the scheme construction is to apply the DG discretization to the following reformulation
by using a special numerical flux for \(\partial _x q\). The resulting scheme is shown to feature several nice properties: (1) the entropy dissipation law (2) is satisfied at the discrete level; (2) the steady states are shown to be preserved; (3) for the third order scheme applied to the model with a trivial potential, a sufficient condition on the range of flux parameters is rigorously established so that cell averages remain positive at each time step, as long as each cell polynomial is positive at three test points. For the numerical positivity a reconstruction algorithm based on positive cell averages is introduced so that the positivity of cell polynomials is enforced, without destroying the accuracy, at least for smooth solutions. This reconstruction also serves as a limiter imposed upon the numerical solution to suppress spurious oscillations at the solution singularity near zero. For the general case the positivity of cell averages can be achieved by carefully tuning the parameters in the numerical flux, as illustrated in the numerical experiments.
The discontinuous Galerkin (DG) method we discuss in this paper is a class of finite element methods, using a completely discontinuous piecewise polynomial space for the numerical solution and the test functions. One main advantage of the DG method was the flexibility afforded by local approximation spaces combined with the suitable design of numerical fluxes crossing cell interfaces. More general information about DG methods for elliptic, parabolic, and hyperbolic PDEs can be found in the recent books and lecture notes [12, 14, 26, 27]. Following the methodology of the direct discontinuous Galerkin (DDG) method proposed in [19, 20], we adopt a similar numerical flux formula for \(\partial _x q\) in (7). The main feature in the DDG schemes proposed in [19, 20] lies in numerical flux choices for the solution gradient, which involve higher order derivatives evaluated crossing cell interfaces.
The plan of the paper is as follows. In Sect. 2, we present our DG scheme in one dimensional setting. In Sect. 3 we prove several important properties of the scheme, including the semi-discrete entropy dissipation law in Theorem 3.1, the fully-discrete entropy dissipation law in Theorem 3.3, the preservation of positive cell averages for the model with trivial potential in Theorem 3.4, and the preservation of steady states in Theorem 3.5. In Sect. 4, we elaborate various details in numerical implementation, including the reconstruction algorithm, the time discretization, and the spatial numerical results are in Sect. 5, where we verify experimentally the high order spatial accuracy of our scheme and simulate the long-time behavior of numerical solutions. The proposed scheme is applied to several physical models including the porous medium equation, the nonlinear diffusion with a double-well potential, and the general Fokker–Planck equation. The numerical results confirm both the high order of accuracy and the numerical efficiency to capture the large-time asymptotic. Concluding remarks are given in Sect. 6.
2 DG Discretization in Space
In this section, we present our DG scheme for (1). For clarity of presentation, we restrict ourselves to the problem in one spatial dimension. It is straightforward to generalize this construction for Cartesian meshes in multidimensional case.
In one-dimensional setting, let \(\Omega = [a, b]\) be a bounded interval. We divide \(\Omega \) with a mesh
and the mesh size \(\Delta x_j=x_{j+1/2}-x_{j-1/2}\), and a family of N control cells \(I_j =(x_{j-1/2}, x_{j+1/2})\) with cell center \(x_j =(x_{j-1/2} +x_{j+1/2})/2\). We denote by \(v^+\) and \(v^-\) the right and left limits of function v, and define
Define an \(k-\)degree discontinuous finite element space
where \(P^k(I_j)\) denotes the set of all polynomials of degree at most k on \(I_j\), and \(\mathbb {Z}_r=\{1, \ldots , r\}\) for any positive integer r.
We rewrite Eq. (1) as follows
The DG scheme is to find \((u_h, q_h)\in V_h \times V_h\) such that for all \(v, r \in V_h\) and \(j\in \mathbb {Z}_N\),
Here
and \(\widehat{\partial _x q_{h}}\) is the numerical flux, following [20], taken as
where \(h=\Delta x\) for uniform meshes and \(h=(\Delta x_j +\Delta x_{j+1})/2\) at \(x_{j+1/2}\) for non-uniform meshes. Here \(\beta _i, i=0, 1\) are parameters satisfying a condition of the form
where \(\Gamma (\beta _1)\) is chosen to ensure certain stability property of the underlying PDE.
Note that if zero-flux boundary conditions of the form \(\partial _x (\Phi (x)+H'(u))=0\) are specified, we simply set q-related terms on the domain boundary to be zero. If a Dirichlet boundary condition for u is given at \(\partial \Omega \), we define the boundary numerical flux (10) in the following way:
Here the boundary conditions are built into the scheme in such a way that the boundary data are used when available, otherwise the value of the numerical solution in corresponding end cells will be used.
3 Properties of the DG Scheme
In this section, we investigate several desired properties of the semi-discrete DG scheme (9), and its time discretization.
3.1 Entropy Dissipation
We first state the entropy satisfying property of DG scheme (9), using the following notation:
Theorem 3.1
Consider the DG scheme (9) and (10), subject to zero-flux boundary condition. If \(f(u_h)\ge 0\), then the semi-discrete entropy
satisfies
for \(\gamma =1-\sqrt{\frac{\Gamma }{\beta _0}} \in (0, 1)\), provided
Proof
Summing (9) and (10) over all index j we obtain a global formulation:
Taking \(r=\partial _t u_{h}\) in (16), we obtain
The right hand side from taking \(v=q_h\) in (15) becomes
Using Young’s inequality we obtain
for some \(0<\gamma <1\). Hence
since \(\beta _0\) satisfies (14), hence
This finishes the proof of (13).\(\square \)
Remark 3.1
We remark that a larger, yet simpler, \(\Gamma (\beta _1)\) can be found for sufficiently small h since the variation of ratio \(\frac{\{f\}}{f}\) is also small. Assume that this ratio is bounded by a factor 2, i.e., \( 2 \ge \frac{f}{\{f\}}\ge \frac{1}{2}\), then
It is clear that this inequality is implied by
By setting \(v(\xi )=\partial _xq_h\left( x_j+\frac{h}{2}\xi \right) \) for \(q_h(x)|_{I_j}\), and \(v(\xi )=\partial _xq_h\left( x_{j+1}-\frac{h}{2}\xi \right) \) for \(q_h|_{I_{j+1}}\), we have
here we have used the exact formula in [15, Lemma3.1]. Hence it suffices to choose \(\beta _0\) such that
Remark 3.2
The positivity of numerical solutions are realized through a reconstruction algorithm at each time step, based on positive cell averages, as detailed in Sect. 4.1. It is shown in Theorem 3.4 that the use of non-zero \(\beta _1\) is crucial in the sense that the positivity of cell averages can be ensured. Indeed, this is proved for the third order DG scheme in solving (1) with zero potential. For the model with non-trivial potential, our numerical experiments again confirm the special role of \(\beta _1\) in the preservation of positivity of numerical cell averages.
3.2 The Fully-Discrete DG Scheme
In order to preserve the entropy dissipation law for \(u_h^n\) at each time step, the time step restriction is needed when using an explicit time discretization. We now discuss this issue by taking the Euler first order time discretization of (9): find \(u_h^{n+1}(x)\in V_h\) such that for any \(r(x), v(x) \in V_h\),
Here and in what follows, we use the notation for any function \(w^n(x)\) as
and \(\mu = \frac{\Delta t}{h^2}\) as the mesh ratio.
Lemma 3.2
The following inverse inequalities hold for any \(v\in V_h\):
Proof
These follow from the repeated use of the two inverse inequalities:
provided \(w \in P^m(I)\) with \(I=(a, b)\) and \(|I|=b-a\). The first bound is well known, see e.g. [29]. The second inequality may be found in [17, Lemma3.1]\(\square \)
Theorem 3.3
Let the fully discrete entropy be defined as
The DG scheme (20), subject to zero-flux boundary condition, satisfies
for some \(\gamma \in (0, 1)\), provided \(u_h^n(x)\) remains positive, \(\beta _0>\Gamma (\beta _1)\), and
where \(C(k, \beta _0, \beta _1)\) is given in (29) below.
Proof
Summing (20) over all index j’s we obtain
Taking \(r =D_t u_h^n \) in (25), we obtain
Here \((\cdot )\) denotes the intermediate value between \(u_h^n\) and \(u_h^{n+1}\). Taking \(v =q_h^n\), (26) becomes
for \(\beta _0\) satisfying (14) at each interface \(x_{j+\frac{1}{2}}\), \(j=1,\ldots , N-1.\) Hence
The claimed estimate follows if
For convex H, this indeed imposes a time restriction.
It remains to show that the bound in (24) is smaller than the right side of (27). In (26), we take \(v=D_tu^n_h\) and use the Young inequality \(ab \le \frac{1}{4\epsilon }a^2+\epsilon b^2\) to obtain
The use of inequalities in (3.2) leads to
provided
This gives
It is clear that the first two terms are bounded by \(\Vert f(u_h^n(\cdot )\Vert _\infty \Vert q_h^n\Vert _E^2\). We now show that the last term is also bounded by \(\Vert f(u_h^n(\cdot )\Vert _\infty \Vert q_h^n\Vert _E^2\), up to constant multiplication factors.
From (14) it follows that
Hence
These together yield
Upon insertion into (28) we obtain
where
Hence (27) is implied by (24).
This ends the proof.\(\square \)
3.3 Preservation of Positive Cell Averages
It is known to be difficult, if not impossible, to preserve point-wise solution bounds for high order numerical approximations. A popular strategy after the work [30] is to combine an accuracy preserving reconstruction with the bound preserving property of cell averages. For the DG scheme applied to (1) with \(\Phi =0\), following [23], we are able to identify a range of \(\beta _1\) so that positive cell averages are ensured for at least the third order scheme. We have not been able to prove this property for the general case.
By taking the test function \(v = 1\) on \(I_j\) in (20b), we obtain the evolutionary equation for the cell average,
For the case that H is convex and \(\Phi (x)=0\), we reformulate (8) as
At the discrete level, we simply set \(q_h=u_h\) and replace f by \(fH''\) in (20b). Assuming that \( \bar{u}^n_j \in [c_1, c_2]\) for all j’s, we can derive some sufficient conditions such that \( \bar{u}^{n+1}_j \in [c_1, c_2] \) under certain CFL condition on \(\mu \).
For piecewise quadratic polynomials, we have the following result.
Theorem 3.4
(\(k=2\)) The scheme (30) with \(q_h=u_h\), and
is bound preserving, namely, \(\bar{u}_{j}^{n+1}\in [c_1, c_2]\) if \(u_h^n(x) \in [c_1, c_2]\) on the set \(S_j\)’s where
under the CFL condition
Proof
Let
we have
In what follows we denote \(p_-=u_h|_{I_{j-1}}\) and \(p_+=u_h|_{I_{j+1}}\).
We represent the diffusion flux in terms of solution values over the set \(S_j\); see [23].
where
It is easy to verify that (31) ensures \(\alpha _i \ge 0\) for \(i=1, 2, 3\).
Upon substitution into (30) we obtain
Here we have used the notation
Note that the sum of all coefficients of above polynomial values is one. Hence \(\bar{u}^{n+1}_j\in [c_1, c_2]\) as long as \(u_h^n\in [c_1, c_2]\) on \(S_j\) and all coefficients are nonnegative. The nonnegativity imposes a CFL condition \(\mu \le \mu _0\) with \(\mu _0\) being
Here we assume that \(f_{N+1/2}=0\) so that \(j=N\) can be included in the above expression. It suffices to take smaller
That is (32), as claimed.\(\square \)
Remark 3.3
The CFL condition (32) is sufficient conditions rather than necessary to preserve the bound of solutions. Therefore, in practice, these CFL conditions are strictly enforced only in the case the bound preserving property is violated.
Remark 3.4
For general case, we expect there is still a proper set of parameters \((\beta _0,\beta _1)\) with which the scheme can preserve positivity of cell averages. Our numerical simulations in Example 2 confirm this expectation.
3.4 Preservation of Steady States
If we start with an initial data \(u_h^0\), already at steady states, i.e., \(\Phi (x) +H'(u_h^0(x))=C\), it follows from (20a) that \(q_h^0=C\). Furthermore, (20b) implies that \(u_h^1=u_h^0\in V_h\). By induction we have
This says that the DG scheme (20a) preserves the steady states. Moreover, we can show that in some cases the numerical solution tends asymptotically toward a steady state, independent of initial data. More precisely, we have the following result.
Theorem 3.5
Let the assumptions in Theorem 3.3 be met, and \((u_h^n, q_h^n) \) be the numerical solution to the fully discrete DG scheme (20), then the limits of \((u_h^n, q_h^n)\) as \(n\rightarrow \infty \) satisfy
where C is a constant. For quadratic H(u), C can be determined explicitly by
In addition, if \(\Phi (x)\in P^m (m \le k)\), then we must have \(\Phi (x) +H'(u^*_h(x)) \equiv C\).
Proof
Since \(E^n\) is non-increasing and bounded from below, we have
Observe from (23) that
When passing the limit \(n\rightarrow \infty \) we have \(\lim _{n\rightarrow \infty } \Vert q_h^n\Vert _E^2=0\). This implies that each term in this energy norm must have zero as its limit, that is
The first relation in (37) tells that the limit of \(q_h^n\), denoted by \(q_h^*\), must be constant in each computational cell. The second relation in (37) infers that \(q_h^*\) must be a constant in the whole domain. These when inserted into (20a) gives the desired result. For quadratic H(u), we use the mass conservation \(\int _{\Omega } H'(u^*_h(x))dx=\int _{\Omega } H'(u_0(x))dx\) to determine the constant C. The proof is complete.\(\square \)
Remark 3.5
The above result shows that for quadratic H(u) and potential \(\Phi (x)\) being polynomials of degree up to k, the steady states are approached by numerical solutions. For other cases, such asymptotic convergence holds only in the projection sense.
4 Numerical Implementation
In this section, we provide further details in implementing the entropy satisfying discontinuous Galerkin (ESDG) method.
4.1 Reconstruction
For a high order polynomial approximation, numerical solutions can have negative values. We enforce the solution positivity through some accuracy-preserving reconstruction. Motivated by the definite result on the bound preserving property of cell averages for special cases in Theorem 3.4, we consider the case with positive cell averages.
Let \(w_h \in P^k(I_j)\) be an approximation to a smooth function \(w(x) \ge 0\), with cell averages \(\bar{w}_j>\delta \) for \(\delta \) being some small positive parameter or zero. We then reconstruct another polynomial in \(P^k(I_j)\) so that
This reconstruction maintains same cell averages and satisfies
It is known that enforcing a maximum principle numerically might damp oscillations in numerical solutions, see, e.g. [16, 30]. Numerical example in Fig.1 confirms such a damping effect near zero from using the positivity preserving limiter (38).
Lemma 4.1
If \(\bar{w}_j>\delta \), then the reconstruction satisfies the estimate
where C(k) is a constant depending on k. This says that the reconstructed \(w^{\delta }(x,t)\) in (38) does not destroy the accuracy when \(\delta <h^{k+1}\).
Proof
We have
where k is the degree of the polynomial \(w_h(x)\).\(\square \)
4.2 Time Discretization
For the time discretization of (9), we use the explicit high order Runge–Kutta method. The explicit time discretization is simple to implement, with entropy dissipation law still preserved under some restriction on the time step.
Let \(\{t^n\}, n=0, 1,\ldots \) be a uniform partition of time interval. Denote \(u_h^n \sim u(t_n, x)\), \(q_h^n \sim q(t_n, x)\), where \(t_n=n\Delta t\) and \(\Delta t\) is the uniform temporal step size. The algorithm can be summarized in following steps.
-
1.
Project \(u_0(x)\) onto \(V_h\) to obtain \(u_h(0)\) and solve (9b) to obtain \(q_h(0)\).
-
2.
Solve (9a) to obtain \(u_h^{n+1}\) with a Runge–Kutta (RK) ODE solver. Perform reconstruction (38) if needed.
-
3.
Solve (9b) to obtain \(q_h^{n+1}\) from the obtained \(u_h^{n+1}\).
-
4.
Repeat steps 2 and 3 until final time T.
In our numerical simulation we choose \(\Delta t=C(k)h^2\), where C(k) is smaller for larger k. For the case with zero potential and \(k=2\), C(k) is given in Theorem 3.4. The choice of the time step \(\Delta t \sim h^2\) suggests that we adopt an \(m^{th}\) order Runge–Kutta solver with \(m\ge (k+1)/2\), so that in the accuracy test the temporal error is smaller than the spatial error. For polynomials of degree \(k=1,2,3\), we use the second order explicit Runge–Kutta method (also called Heun’s method) to solve the ODE system \(\dot{a}=\mathfrak {L}(\mathbf a )\):
The bound preserving property for cell averages in Theorem 3.4, depending on a convex combination of polynomial values in previous time step, works well with the above Runge–Kutta solver since it is simply a convex combination of the forward Euler.
4.3 Spatial Discretization
In this section, we present some further details on the spatial discretization. The kth order basis functions in a 1-D standard reference element \(\xi \in [-1, 1]\) are taken as the Legendre polynomials \(\{L_i(\xi )\}_{i=0}^k\), then the numerical solutions in each cell \(x\in I_j\) can be expressed as
using a uniform mesh size h and the map \(x=x_j+\frac{h}{2}\xi \), with notation \(L^\top =(L_0, L_1, \cdots , L_k)\) and \(u_j=(u_j^0, \ldots , u_j^k)^\top \).
For given \(\Phi (x)\), a simple calculation of (9a) with \(v=L(\xi )\) gives
where
Here
In the evaluation of \(R_1\), we choose Q Gaussian quadrature points \(s_i \in [-1, 1]\) with \(1\le i\le Q\). Here and in what follows, we choose Q quadrature points with \(Q\ge \frac{k+2}{2}\) so that the quadrature rule with accuracy of order \(\mathcal {O}(h^{2Q})\) does not destroy the scheme accuracy. At two end cells, if the zero flux conditions are specified, we use \(R_2=R_2^+, R_3=R_3^+\) for \(j=1\) and \(R_2=-R_2^-, R_3= R_3^-\) for \(j=N\).
If Dirichlet boundary conditions, u(a) and u(b), are specified, we modify \(R_2\) and \(R_3\) according to (11). That is, for \(j=1\),
and for \(j=N\),
To solve (9b) is, using the Q-point Gauss quadrature rule on the interval \((-1, 1)\), to solve
The collection of (39) and (40) with \(1\le j\le N\) forms a nonlinear ODE system, for which we use a Runge–Kutta method.
5 Numerical Tests
In this section, we present a selected set of numerical examples in order to numerically validate our ESDG scheme. Via several physical models from different applications, we examine the order of accuracy by numerical convergence tests, while we quantify \(l_1\) errors defined by
with the integral on \(I_j\) evaluated by a 4-point Gaussian quadrature method and \(u_{ref}\) being a reference solution obtained by using a refined mesh size. It is also demonstrated that the scheme captures well the long-time behavior of underlying solutions, as well as the mass concentration phenomenon in certain applications.
5.1 Porous Medium Equation
We consider the porous medium equation of the form
With this model we will illustrate 1) the scheme’s capability in capturing the solution singularity; 2) the positivity preservation proved in Theorem 3.4.
Example 1
Capturing singularity. Barenblatt and Pattle independently found an explicit solution of (41) when the Dirac delta function is used as initial condition [3, 25]. A special explicit solution which we will use is
We compute the solution of (41) with initial data \(u_0(x)=B_2(x, 0.1)\), with zero flux boundary conditions \(\partial _x u(\pm 2, t)=0\).
Figure 1 shows the exact solution and \(P^2\) numerical solutions without and with reconstruction (38) with \(\delta \) set to be 0. This reconstruction is not applied to the cells where the \(u_h\) are entirely zero. The scheme with reconstruction gives sharp resolution of expanding fronts, keeping the solution strictly within the initial bounds. The scheme without reconstruction brings visible undershoots near the foot of the numerical solution.
Figure 2 shows a numerical comparison for polynomials with different degrees, \(k=1,2,3\). Cell averages are shown in Fig. 2 (left) and cell polynomials in Fig. 2(right) (zoomed near singularity), we can clearly see that a higher order method gives a more accurate approximation.
Example 2
Positivity preservation. In this example we test the effect of using different parameter \(\beta _1\) in terms of the positivity preservation. Equation (41) with \(m=2\), when written in the form
satisfies the requirements in Theorem 3.4. We consider positive initial data with small amplitude,
and zero flux boundary conditions \(\partial _x u(\pm 1, t)=0\). With \(\epsilon =10^{-5}\), \(\delta =10^{-10}\), \(h=0.2\), \(k=2\) and \(\Delta t=0.25h^2\) in the simulation, our results indicate that cell average \(\bar{u}\) remains above \(\delta \) at \(t=1000\) when using \((\beta _0, \beta _1)=(2, 1/6)\); while \(\bar{u}\) already becomes negative at \(t=41.388\) when taking \((\beta _0, \beta _1)=(2, 0)\). This is consistent with the conclusion in Theorem 3.4 that \( \beta _1\in (1/8, 1/4)\) is sufficient for positivity preservation of cell averages, and for any other \(\beta _1\)’s such a property is not guaranteed. We note here that the range of \(\beta _1\) in Theorem 3.4 is only sufficient. Our simulation also indicates that cell average \(\bar{u}\) still remains above \(\delta \) at \(t=1000\) when using \((\beta _0, \beta _1)=(2, 1/2)\), which does not satisfy the requirement in Theorem 3.4.
We further test the special effect of parameter \(\beta _1\) on the positivity preservation for the case with nontrivial potential, \(\Phi =30\epsilon x^2/2\), i.e., we have
Though Theorem 3.4 is no longer applicable due to the nonzero potential, we still see similar effects of \(\beta _1\) through numerical experiments. With the same initial condition and parameters as above, our simulation results in Table 1 show that there is a range for \(\beta _1\) in which \(\bar{u}\) remains above \(\delta \) at \(t=1000\); while \(\bar{u}\) becomes negative at \(t<1000\) when \(\beta _1\le 1/6\) or \(\beta _1\ge 2\). This observation indicates that 1) \(\beta _1\) plays a special role for the positivity preservation; 2) the admissibility of \(\beta _1\) depends on the underlying problem.
5.2 Porous Medium Equation with Linear Convection
We consider the following porous medium equation with linear convection
This equation corresponds to (1a) with \(f(u)=u\), \(\Phi =x\) and \(H=\frac{u^m}{m-1}\), and has a wide range of applications. With this model equation we shall test the numerical convergence and the scheme accuracy. We note that the case \(m=2\) was tested in [5] with a second order finite volume scheme.
Example 3
(m=2). We consider
with initial data
subject to zero-flux boundary condition, that is \(\partial _xu(\pm 1, t)=-\frac{1}{2}\). In Table 2 we observe that the orders of convergence are of \(\mathcal {O}(h^{k+1})\) for polynomials of degree k (\(k=1,2,3\)).
Example 4
(m=3). We further test the case \(m=3\), i.e.,
with initial data
subject to zero-flux boundary conditions \((uu_x)(\pm 1, t)=-1/3\). The numerical convergence test is performed with the same flux parameters for each k as in the previous example, both errors and orders of convergence are given in Table 3. These results further confirm the \((k+1)\)-th order of accuracy when using \(P^{k} (k=1, 2, 3)\) elements.
Numerical tests in Examples 3 and 4 also indicate that cell averages can be made positive at each time step when choosing proper parameters \((\beta _0, \beta _1)\), together with reconstruction (38) performed at each time step.
5.3 Nonlinear Diffusion with a Double-Well Potential
Consider a nonlinear diffusion equation with an external double-well potential of the form
This model equation is taken from [6], and it corresponds to system (1) with \(H'(u)=\nu u^{m-1}\). With this model we shall test both numerical accuracy and the asymptotic behavior of numerical solutions.
Example 5
Free energy decay. In this example, we take \(\nu =1\), \(m=2\) and initial data
subject to zero-flux boundary conditions \(\partial _x u(\pm 2, t)=\mp 6\). Both errors and orders of convergence are given in Table 4, which again demonstrates \(\mathcal {O}(h^{k+1})\) order of accuracy for \(P^k\) polynomials.
We also examine the decay of the entropy
Figure 3 (left) shows the semilog plot of the free energy decay until final time \(T=40\), and Fig. 3 (right) displays the snapshots of u at different times, showing the time-asymptotic convergence of the numerical solutions towards the steady states.
5.4 The Nonlinear Fokker–Planck Equation
We consider the following model for boson gases,
which is a nonlinear Fokker–Planck equation corresponding to (1a) with
This model equation exhibits the critical mass phenomenon (see [1]), that solutions with initial data of large mass blow-up in finite time, whereas solutions with initial data of small mass do not. The authors in [5] numerically verified such critical mass phenomenon using a second order finite volume scheme. With our high order DG scheme, we test the critical mass phenomenon for (43) with initial data
which has total mass M. This is to illustrate the good performance of the ESDG scheme in capturing complex physical phenomena.
Example 6
Sub-critical mass \(M=1\) and super-critical mass \(M=10\). We test the sub-critical mass \(M=1\) with results in Fig. 4 (left) and super-critical mass \(M=10\) with results in Fig. 4 (right) by \(P^2\) polynomial approximations. These results are consistent with the theoretical conclusion made in [1] and the numerical observation in [5], yet our scheme can produce numerical solutions with higher order of accuracy. Note that the reconstruction (38) has to be implemented due to the involvement of \(\log \)-function in \(H'(u)\).
6 Concluding Remarks
In this article, we have developed an entropy satisfying DG method for solving nonlinear Fokker–Planck equations with a gradient flow structure. The idea is to rewrite the equation in the form of a convection equation with flux being \(-f(u)\partial _xq\), and q is obtained by a piecewise \(L^2\) projection of \(\Phi (x) +H'(u)\). Then we apply the numerical flux of the DDG method introduced in [20] to \(\partial _x q\). The presented scheme is shown to satisfy a discrete version of the entropy dissipation law, therefore preserving steady-states and providing numerical solutions with satisfying long-time behavior. The positivity of numerical solutions is enforced through a reconstruction algorithm, based on positive cell averages. Cell averages can be made positive at each time step by carefully tuning the numerical flux parameter \((\beta _0, \beta _1)\). For the model with trivial potential, a parameter range sufficient for positivity preservation is rigorously established. Numerical examples include the porous medium equation, the nonlinear diffusion equation with a double-well potential, and the general Fokker–Planck equation. Numerical results have demonstrated high-order accuracy of the scheme. Moreover, the long-time solution behavior is also examined to show the robustness of the proposed scheme.
References
Abdallah, N.B., Gamba, I.M., Toscani, G.: On the minimization problem of sub-linear convex functionals. Kinet. Relat. Models 4(4), 857–871 (2011)
Arnold, A., Unterreiter, A.: Entropy decay of discretized Fokker–Planck equations I—temporal semidiscretization. Comput. Math. Appl. 46(10–11), 1683–1690 (2003)
Barenblatt, G.I.: On some unsteady fluid and gas motions in a porous medium. J. Appl. Math. Mech. 16(1), 67–78 (1952)
Burger, M., Carrillo, J.A., Wolfram, M.-T.: A mixed finite element method for nonlinear diffusion equations. Kinet. Relat. Models 3, 59–83 (2010)
Bessemoulin-Chatard, M., Filbet, F.: A finite volume scheme for nonlinear degenerate parabolic equations. SIAM J. Sci. Comput. 34(5), B559–B583 (2012)
Carrillo, J., Chertock, A., Huang, Y.H.: A finite-volume method for nonlinear nonlocal equations with a gradient flow structure. Commun. Comput. Phys. 17, 233–258 (2015)
Carrillo, J.A., Jüngel, A., Markowich, P.A., Toscani, G., Unterreiter, A.: Entropy dissipation methods for degenerate parabolic problems and generalized Sobolev inequalities. Monatsh. Math. 133(1), 1–82 (2001)
Carrillo, J.A., Laurençot, P., Rosado, J.: Fermi–Dirac–Fokker–Planck equation: well-posedness & long-time asymptotics. J. Differ. Equ. 247(8), 2209–2234 (2009)
Carrillo, J.A., McCann, R.J., Villani, C.: Kinetic equilibration rates for granular media and related equations: entropy dissipation and mass transportation estimates. Rev. Mat. Iberoam. 19, 971–1018 (2003)
Carrillo, J.A., Rosado, J., Salvarani, F.: 1D nonlinear Fokker–Planck equations for fermions and bosons. Appl. Math. Lett. 21(2), 148–154 (2008)
Carrillo, J.A., Toscani, G.: Asymptotic \(L^1\)-decay of solutions of the porous medium equation to self-similarity. Indiana Univ. Math. J. 49(1), 113–142 (2000)
Hesthaven, J.S., Warburton, T.: Nodal Discontinuous Galerkin Methods: Algorithms, Analysis, and Applications. Springer, New York (2007)
Jordan, R., Kinderlehrer, D., Otto, F.: The variational formulation of the Fokker–Planck equation. SIAM J. Math. Anal. 29(1), 1–17 (1998)
Li, B.Q.: Discontinuous Finite Elements in Fluid Dynamics and Heat Transfer. Computational Fluid and Solid Mechanics. Springer, London (2006)
Liu, H.: Optimal error estimates of the direct discontinuous Galerkin method for convection-diffusion equations. Math. Comput. 84, 2263–2295 (2015)
Liu, X., Osher, S.: Nonoscillatory high order accurate self-similar maximum principle satisfying shock capturing schemes I. SIAM J. Number. Anal. 33(2), 760–779 (1996)
Liu, H., Pollack, M.: Alternating evolution discontinuous Galerkin methods for convection-diffusion equations. J. Comput. Phys. 307, 574–592 (2016)
Liu, H., Wang, Z.: A free energy satisfying finite difference method for Poisson–Nernst–Planck equations. J. Comput. Phys. 268, 363–376 (2014)
Liu, H., Yan, J.: The direct discontinuous Galerkin (DDG) methods for diffusion problems. SIAM J. Numer. Anal. 47, 675–698 (2009)
Liu, H., Yan, J.: The direct discontinuous Galerkin (DDG) method for diffusion with interface corrections. Commun. Comput. Phys. 8(3), 541–564 (2010)
Liu, H., Yu, H.: An entropy satisfying conservative method for the Fokker–Planck equation of the finitely extensible nonlinear elastic dumbbell model. SIAM J. Numer. Anal. 50, 1207–1239 (2012)
Liu, H., Yu, H.: The entropy satisfying dicontinuous Galerkin method for Fokker–Planck equations. J. Sci. Comput. 62, 803–830 (2015)
Liu, H., Yu, H.: Maximum-principle-satisfying third order discontinuous Galerkin schemes for Fokker–Planck equations. SIAM J. Sci. Comput. 36(5), A2296–A2325 (2014)
Otto, F.: The geometry of dissipative evolution equations: the porous medium equation. Comm. Partial Differ. Equ. 26(1–2), 101–174 (2001)
Pattle, R.E.: Diffusion from an instantaneous point source with a concentration-dependent coefficient. Q. J. Mech. Appl. Math. 12, 407–409 (1959)
Rivière, B.: Discontinuous Galerkin Methods for Solving Elliptic and Parabolic Equations: Theory and Implementation. SIAM, Philadelphia (2008)
Shu, C.-W.: Discontinuous Galerkin methods: general approach and stability, in numerical solutions of partial differential equations. In: Bertoluzza, S., Falletta, S., Russo, G., Shu, C.-W. (eds.) Advanced Courses in Mathematics, CRM Barcelona, p. 149201. Birkhaüser, Basel (2009)
Toscani, G.: Finite time blow up in Kaniadakis–Quarati model of Bose–Einstein particles. Comm. Partial Differ. Equ. 37(1), 77–87 (2012)
Warburton, T., Hesthaven, J.S.: On the constants in hp-finite element trace inequalities. Comput. Methods Appl. Mech. Eng. 192, 2765–2773 (2003)
Zhang, X.-X., Shu, C.-W.: On maximum-principle-satisfying high order schemes for scalar conservation laws. J. Comput. Phys. 229(9), 3091–3120 (2010)
Acknowledgments
Liu was supported by the National Science Foundation under Grant DMS1312636 and by NSF Grant RNMS (Ki-Net) 1107291.
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Liu, H., Wang, Z. An Entropy Satisfying Discontinuous Galerkin Method for Nonlinear Fokker–Planck Equations. J Sci Comput 68, 1217–1240 (2016). https://doi.org/10.1007/s10915-016-0174-0
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10915-016-0174-0