Immersed Interface Method for Fokker-Planck Equation with Discontinuous Drift

Abstract

The Immersed Interface Method (IIM) is derived to solve the corresponding Fokker-Planck equation of Brownian motion with pure dry friction, which is one of the simplest models of piecewise-smooth stochastic systems. The IIM is capable of treating a discontinuity in the drift of Fokker-Planck equation and it is readily extended to the dry and viscous friction model. Analytic results of the considered model are used to confirm the effectiveness and design accuracy of the scheme.

Share and Cite:

Zhang, B. , Chen, Y. and Song, S. (2017) Immersed Interface Method for Fokker-Planck Equation with Discontinuous Drift. Journal of Applied Mathematics and Physics, 5, 1613-1619. doi: 10.4236/jamp.2017.59133.

1. Introduction

In recent years, piecewise-smooth stochastic systems (governed by piecewise-smooth stochastic differential equations) are usually used to describe biological and physical systems. Although for some simple piecewise-linear stochastic differential equations, analytical solutions of the transition probability distribution can be obtained  , it is difficult to attain analytical expressions for many other cases. Hence, we need to develop some effective numerical methods to deal with the difficulty in order to know more dynamical behaviors of the systems.

In this paper, we attempt to solve numerically a Fokker-Planck equation with discontinuous drift, which results from a so-called Brownian motion with pure dry friction . This dry friction model can be described as the following piecewise linear Langevin equation

${v}^{\prime }\left(t\right)=-\sigma \left(v\left(t\right)\right)+\xi \left(t\right).$ (1.1)

Here $\sigma \left(v\left(t\right)\right)$ denotes the sign of the velocity $v\left(t\right)$ , representing the dry friction force. $\xi \left(t\right)$ is the Gaussian white noise with zero mean and delta correlation $〈\xi \left(t\right)\xi \left({t}^{\prime }\right)〉=2D\delta \left(t-{t}^{\prime }\right)$ with $D>0$ . The notation $〈·〉$ stands for the average overall possible realizations of the noise, and $\delta$ is the Dirac delta function. The transition probability distribution $p\left(v,t|{v}_{0},0\right)$ of (1.1) satisfies the following Fokker-Planck equation  ,

$\frac{\partial p\left(v,t|{v}_{0},0\right)}{\partial t}=\frac{\partial \left(\sigma \left(v\right)p\left(v,t|{v}_{0},0\right)\right)}{\partial v}+D\frac{{\partial }^{2}p\left(v,t|{v}_{0},0\right)}{\partial {v}^{2}}.$ (1.2)

The corresponding initial condition is $p\left(v,0|{v}_{0},0\right)=\delta \left(v-{v}_{0}\right)$ if $v\left(0\right)={v}_{0}$ for (1.1).

Since Equation (1.2) has a discontinuous drift $\sigma \left(v\right)$ , we must deal with it carefully. The IIM is a sharp interface method which can accurately capture discontinuities in the solution and the flux. This method has been used for many problems, such as elliptic interface problems , parabolic interface problems , moving interface problems  and many other applications    (see   for excellent reviews). To the best of our knowledge, there is no literature about the IIM for solving Fokker-Planck equations with discontinuous drift so far. Hence, our goal is to solve it.

The rest of this paper is organized as follows. In Section 2, we derive the IIM for the Fokker-Planck Equation (1.2). The numerical results are compared with the analytical solutions in Section 3. In addition, the accuracy of the scheme is also obtained. Finally, conclusions are made in Section 4.

2. The Scheme

We set $D=1$ for convenience. At the discontinuous point $v=0$ , we have the matching condition for the solution,

${p}^{+}={p}^{-}$ (2.1)

where $+$ and $-$ stand for the limiting values from the right- and left-hand sides of $v=0$ . Integrating (1.2) across the discontinuity, we find

${p}_{v}^{+}={p}_{v}^{-}-2{p}^{-}$ (2.2)

and then

${p}_{v}^{-}={p}_{v}^{+}+2{p}^{+}$ (2.3)

by replacing ${p}^{-}$ with ${p}^{+}$ in (2.2).

It follows from (2.1) that ${p}_{t}^{+}={p}_{t}^{-}$ , that is

${\left(\sigma \left(v\right)p\right)}_{v}^{+}+{p}_{vv}^{+}={\left(\sigma \left(v\right)p\right)}_{v}^{-}+{p}_{vv}^{-}$

according to Equation (1.2). Then using the relations (2.1)-(2.3) we have

${p}_{vv}^{+}={p}_{vv}^{-}-2{p}_{v}^{-}+2{p}^{-}$ (2.4)

and

${p}_{vv}^{-}={p}_{vv}^{+}+2{p}_{v}^{+}+2{p}^{+}.$ (2.5)

For the numerical scheme, we have first to truncate the computational domain $\left(-\infty ,+\infty \right)$ to a finite domain. Without loss of generality, let us assume the finite domain to be $\left[-{L}_{v},{L}_{v}\right]$ , where ${L}_{v}$ is a positive constant. Then we assume the probability vanishes at the boundary, i.e.,

$p\left(±{L}_{v},t|{v}_{0},0\right)=0$ . (2.6)

A uniform grid with step $h=2{L}_{v}/M$ is chosen here, where $M$ is a positive constant.

Therefore, the grid points can be expressed as ${v}_{i}=-{L}_{v}+\left(i-1\right)h$ , $i=1,2,\cdot \cdot \cdot ,M+1$ with the discontinuous point being between ${v}_{j}$ and ${v}_{j+1}$ , ${v}_{j}\le 0<{v}_{j+1}$ .

We hope to develop finite difference scheme of the form

$\frac{{p}_{i}^{n+1}-{p}_{i}^{n}}{\tau }={\gamma }_{i,1}{p}_{i-1}^{n}+{\gamma }_{i,2}{p}_{i}^{n}+{\gamma }_{i,3}{p}_{i+1}^{n}+{C}_{i}^{n}$ , $i=2,3,\cdot \cdot \cdot ,M$ , (2.7)

where $\tau$ is the time-step size. This means that we need to determine the coefficients $\gamma$ and the correction term ${C}_{i}^{n}$ so that

${\gamma }_{i,1}{p}_{i-1}^{n}+{\gamma }_{i,2}{p}_{i}^{n}+{\gamma }_{i,3}{p}_{i+1}^{n}+{C}_{i}^{n}\approx {\left\{\frac{\partial \left(\sigma \left(v\right)p\right)}{\partial v}+\frac{{\partial }^{2}p}{\partial {v}^{2}}\right\}}_{v={v}_{i}}.$ (2.8)

At a regular grid point ${v}_{i}$ , $i\ne j,\text{\hspace{0.17em}}j+1$ , the coefficients $\gamma$ in the explicit difference scheme (2.7) are obtained by the standard approximation as follows

${\gamma }_{i,1}=\frac{1}{{h}^{2}}-\frac{\sigma \left({v}_{i-1/2}\right)}{2h},$ ${\gamma }_{i,2}=\frac{\sigma \left({v}_{i+1/2}\right)-\sigma \left({v}_{i-1/2}\right)}{2h}-\frac{2}{{h}^{2}},$ ${\gamma }_{i,3}=\frac{1}{{h}^{2}}+\frac{\sigma \left({v}_{i+1/2}\right)}{2h},$ (2.9)

and the correction term ${C}_{i}^{n}=0.$

At the irregular grid point ${v}_{j}$ , we expand ${p}_{j-1}^{n}$ , ${p}_{j}^{n}$ and ${p}_{j+1}^{n}$ in Taylor series at the discontinuous point $v=0$ to obtain

${p}_{j-1}^{n}={p}^{-}+{v}_{j-1}{p}_{v}^{-}+\frac{1}{2}{v}_{j-1}^{2}{p}_{vv}^{-}+O\left({h}^{3}\right),$ (2.10)

${p}_{j}^{n}={p}^{-}+{v}_{j}{p}_{v}^{-}+\frac{1}{2}{v}_{j}^{2}{p}_{vv}^{-}+O\left({h}^{3}\right),$ (2.11)

${p}_{j+1}^{n}={p}^{+}+{v}_{j+1}{p}_{v}^{+}+\frac{1}{2}{v}_{j+1}^{2}{p}_{vv}^{+}+O\left({h}^{3}\right).$ (2.12)

For Equation (2.12), using (2.1), (2.2) and (2.4), we have

${p}_{j+1}^{n}=\left(1-2{v}_{j+1}+{v}_{j+1}^{2}\right){p}^{-}+\left({v}_{j+1}-{v}_{j+1}^{2}\right){p}_{v}^{-}+\frac{1}{2}{v}_{j+1}^{2}{p}_{vv}^{-}+O\left({h}^{3}\right).$ (2.13)

Furthermore, substituting (2.10), (2.11) and (2.13) into (2.8) we have

$\begin{array}{l}{\gamma }_{j,1}\left({p}^{-}+{v}_{j-1}{p}_{v}^{-}+\frac{1}{2}{v}_{j-1}^{2}{p}_{vv}^{-}\right)+{\gamma }_{j,2}\left({p}^{-}+{v}_{j}{p}_{v}^{-}+\frac{1}{2}{v}_{j}^{2}{p}_{vv}^{-}\right)\\ +{\gamma }_{j,3}\left(\left(1-2{v}_{j+1}+{v}_{j+1}^{2}\right){p}^{-}+\left({v}_{j+1}-{v}_{j+1}^{2}\right){p}_{v}^{-}+\frac{1}{2}{v}_{j+1}^{2}{p}_{vv}^{-}\right)+{C}_{j}^{n}+O\left(h\right)\\ ={\left\{\frac{\partial \left(\sigma \left(v\right)p\right)}{\partial v}+\frac{{\partial }^{2}p}{\partial {v}^{2}}\right\}}_{v={0}^{-}}+O\left(h\right).\end{array}$ (2.14)

Then by arranging terms we obtain

$\begin{array}{l}{p}^{-}\left({\gamma }_{j,1}+{\gamma }_{j,2}+\left(1-2{v}_{j+1}+{v}_{j+1}^{2}\right){\gamma }_{j,3}\right)+{p}_{v}^{-}\left({v}_{j-1}{\gamma }_{j,1}+{v}_{j}{\gamma }_{j,2}+\left({v}_{j+1}-{v}_{j+1}^{2}\right){\gamma }_{j,3}\right)\\ +{p}_{vv}^{-}\left(\frac{1}{2}{v}_{j-1}^{2}{\gamma }_{j,1}+\frac{1}{2}{v}_{j}^{2}{\gamma }_{j,2}+\frac{1}{2}{v}_{j+1}^{2}{\gamma }_{j,3}\right)+{C}_{j}^{n}+O\left(h\right)\\ =-{p}_{v}^{-}+{p}_{vv}^{-}+O\left(h\right).\end{array}$ (2.15)

Comparing both sides of (2.15), one obtains three equations for ${\gamma }_{j,1}$ , ${\gamma }_{j,2}$ and ${\gamma }_{j,3}$ as follows

${\gamma }_{j,1}+{\gamma }_{j,2}+\left(1-2{v}_{j+1}+{v}_{j+1}^{2}\right){\gamma }_{j,3}=0,$ (2.16)

${v}_{j-1}{\gamma }_{j,1}+{v}_{j}{\gamma }_{j,2}+\left({v}_{j+1}-{v}_{j+1}^{2}\right){\gamma }_{j,3}=-1,$ (2.17)

${v}_{j-1}^{2}{\gamma }_{j,1}+{v}_{j}^{2}{\gamma }_{j,2}+{v}_{j+1}^{2}{\gamma }_{j,3}=2,$ (2.18)

and the correction term ${C}_{j}^{n}=0.$

Therefore, one can solve (2.16) - (2.18) to attain the coefficients of Equation (2.7) for $i=j.$

In a similar way, we can compute the coefficients at the irregular grid point ${v}_{j+1}$ from the equations

$\left(1+2{v}_{j}+{v}_{j}^{2}\right){\gamma }_{j+1,1}+{\gamma }_{j+1,2}+{\gamma }_{j+1,3}=0,$ (2.19)

$\left({v}_{j}+{v}_{j}^{2}\right){\gamma }_{j+1,1}+{v}_{j+1}{\gamma }_{j+1,2}+{v}_{j+2}{\gamma }_{j+1,3}=1,$ (2.20)

${v}_{j}^{2}{\gamma }_{j+1,1}+{v}_{j+1}^{2}{\gamma }_{j+1,2}+{v}_{j+2}^{2}{\gamma }_{j+1,3}=2,$ (2.21)

and the correction term ${C}_{j+1}^{n}=0.$

3. Numerical results

For the Fokker-Planck Equation (1.2), using spectral decomposition method, one can get the transition probability distribution in closed analytic form  :

$p\left(v,t|{v}_{0},0\right)=\frac{1}{D}\stackrel{^}{p}\left(\frac{1}{D}v,\frac{1}{D}t|\frac{1}{D}{v}_{0},0\right),$ (3.1)

where

$\stackrel{^}{p}\left(x,\tau |{x}^{\prime },0\right)=\frac{{e}^{-\tau /4}}{2\sqrt{\pi \tau }}{e}^{-\left(|x|-|{x}^{\prime }|\right)/2}{e}^{-{\left(x-{x}^{\prime }\right)}^{2}/\left(4\tau \right)}+\frac{{e}^{-|x|}}{4}\left[1+\mathrm{erf}\left(\frac{\tau -\left(|x|+|{x}^{\prime }|\right)}{2\sqrt{\tau }}\right)\right]$ (3.2)

is the transition probability distribution in non-dimensional units and

$\mathrm{erf}\left(z\right)=\frac{2}{\sqrt{\pi }}{\int }_{0}^{z}{e}^{-{t}^{2}}dt$ (3.3)

is the error function. In addition, when $t\to \infty$ the Fokker-Planck Equation (1.2) admits a steady stationary state

$p\left(v\right)=\frac{1}{2D}{e}^{-|v|/D}.$ (3.4)

Let $D=1$ , ${v}_{0}=2$ and the computing interval be $\left[-10,10\right]$ . We choose the space-step $h=0.01$ and the time-step $\tau =5×{10}^{-5}$ . For simplicity, we take the analytic distribution (3.1) at time $t=0.01$ as the initial condition for computing. Figure 1 shows the comparison of numerical and analytical results of the probability distribution $p\left(v,t|{v}_{0},0\right)$ at different times. It can be seen that the numerical solutions (points) coincide with the exact solutions (solid lines), indicating the effectiveness of the Scheme (2.7).

To see the accuracy of the scheme numerically, we consider the ${L}_{2}$ and ${L}_{\infty }$ errors between the numerical solutions and the exact solutions defined by

${‖Error‖}_{{L}_{2}}=\sqrt{h\underset{i=1}{\overset{M}{\sum }}{\left({p}_{i}-{\stackrel{¯}{p}}_{i}\right)}^{2}},$ (3.5)

${‖Error‖}_{{L}_{\infty }}=\underset{1\le i\le M}{\mathrm{max}}|{p}_{i}-{\stackrel{¯}{p}}_{i}|,$ (3.6)

where ${p}_{i}$ is the numerical solution and ${\stackrel{¯}{p}}_{i}$ is the exact solution. Then we calculate the order of accuracy. A small time-step $\tau =1×{10}^{-5}$ and ${v}_{0}=2$ are chosen and the problem is recalculated from time $t=0.01$ to $t=1$ . As illustrated in Table 1, the scheme is approximated second order in the velocity direction.

Figure 1. Transition probability distribution $p\left(v,t|{v}_{0},0\right)$ of Fokker-Planck Equation (1.2) with solid lines corresponding to the exact solutions, points to the numerical solutions, and dashed line to the stationary solution.

Table 1. Accuracy test in the velocity direction for $t=1$ and $\tau =1×{10}^{-5}$ .

4. Conclusions

We have used the IIM to solve a Fokker-Planck equation with discontinuous drift in this paper. The numerical results show that the developed scheme is effective and has second order of accuracy. Moreover, the scheme can be readily extended to other dry friction models and the numerical results obtained are important references to see whether the dry friction effect exists in engineering applications.

Acknowledgements

This work was supported by the National Natural Science Foundation of China (Grant Nos. 11571366 and 11601517).

Conflicts of Interest

The authors declare no conflicts of interest.

  Touchette, H., Erik, V.D.S. and Just, W. (2010) Brownian Motion with Dry Friction: Fokker-Planck Approach. Journal of Physics A Mathematical & Theoretical, 43, 3045-3067. https://doi.org/10.1088/1751-8113/43/44/445002  Browne, S., Whitt, W. and Dshalalow, J.H. (1995) Piecewise-Linear Diffusion Processes. Advances in Queuing: Theory, methods, and Open Problems, 4, 463-480.  Gennes, P.G.D. (2005) Brownian Motion with Dry Friction. Journal of Statistical Physics, 119, 953-962. https://doi.org/10.1007/s10955-005-4650-4  Risken, H. (1984) The Fokker-Planck Equation: Methods of Solution and Applica-tions. Springer-Verlag, Berlin. https://doi.org/10.1007/978-3-642-96807-5  Gardiner, C.W. (1985) Handbook of Stochastic Methods for Physics, Chemistry and the Natural Sciences. 2nd Edition, Springer-Verlag, Berlin. https://doi.org/10.1007/978-3-662-02452-2  Leveque, R.J. and Li, Z. (1994) The Immersed Interface Method for Elliptic Equa-tions with Discontinuous Coefficients and Singular Sources. SIAM Journal on Numerical Analysis, 31, 1019-1044. https://doi.org/10.1137/0731054  Li, Z., McTigue, D.F. and Heine, J.T. (1997) Short Communication: A Numerical Method for Diffusive Transport with Moving Boundaries and Discontinuous Material Properties. International Journal for Numerical & Analytical Methods in Geomechanics, 21, 653-662. https://doi.org/10.1002/(SICI)1096-9853(199709)21:9%3C653::AID-NAG894%3E3.0.CO;2-5  Li, Z. (1997) Immersed Interface Methods for Moving Interface Problems. Numerical Algorithms, 14, 269-293. https://doi.org/10.1023/A:1019173215885  Li, Z., Wang, D. and Zou, J. (1998) Theoretical and Numerical Analysis on a Thermo-Elastic System with Discontinuities. Journal of Com-putational and Applied Mathematics, 92, 37-58. https://doi.org/10.1016/S0377-0427(98)00044-2  Wiegmann, A. and Bube, K.P. (1998) The Immersed Interface Method for Nonlinear Differential Equations with Discontinuous Coefficients and Singular Sources. SIAM Journal on Numerical Analysis, 35, 177-200. https://doi.org/10.1137/S003614299529378X  Li, Z., Jaiman, R.K. and Khoo, B.C. (2016) An Immersed Interface Method for Flow Past Circular Cylinder in the Vicinity of a Plane Moving Wall. International Journal for Numerical Methods in Fluids, 81, 611-639. https://doi.org/10.1002/fld.4198  Li, Z. (2003) An Overview of the Immersed Interface Method and its Applications. Taiwanese Journal of Mathematics, 7, 1-49. https://doi.org/10.11650/twjm/1500407515  Li, Z. and Ito, K. (2006) The Immersed Interface Method: Numerical Solutions of PDEs Involving Interfaces and Irregular Domains. Society for Industrial and Applied Mathematics, Philadelphia. https://doi.org/10.1137/1.9780898717464  Chen, Y., Baule, A., Touchette, H. and Just W. (2013) Weak-Noise Limit of a Piece-wise-Smooth Stochastic Differential Equation. Physical Review E, 88, 052103. https://doi.org/10.1103/PhysRevE.88.052103     customer@scirp.org +86 18163351462(WhatsApp) 1655362766  Paper Publishing WeChat 