Abstract

In this paper, the rational spectral method combined with the Laplace transform is proposed for solving Robin time-fractional partial differential equations. First, a time-fractional partial differential equation is transformed into an ordinary differential equation with frequency domain components by the Laplace transform. Then, the spatial derivatives are discretized by the rational spectral method, the linear equation with the parameter is solved, and the approximation is obtained. The approximate solution at any given time, which is the numerical inverse Laplace transform, is obtained by the modified Talbot algorithm. Numerical experiments are carried out to demonstrate the high accuracy and efficiency of our method.

1. Introduction

Because the fractional-order calculus operator has nonlocality, it is suitable for describing the material involving memory and heredity in real life, and many practical problems can be described by fractional-order differential equations [1, 2]. Several studies have been conducted on the construction of approximate solutions for various fractional partial differential equations. Developing analytical and numerical methods for solving fractional PDEs is a very important task [3]. To solve such problems, we need to introduce special functions to express the exact solutions of fractional differential equations, which can be very difficult. Therefore, attempts have been made to propose numerical methods that approximate the solutions of such equations [49].

The purpose of this article is to investigate a rational spectral method combined with the Laplace transform, to find approximate solutions for certain classes of Robin time-fractional PDEs with parameters that have derivatives in the sense of Caputo fractional derivatives as follows: subject to the following initial and Robin boundary conditions: where , , , and , , are continuous real-valued functions. This method results in an accurate solution that is continuous in the temporal domain and is computationally efficient. The use of the Laplace transform circumvents the need for time marching in the temporal domain, which is computationally expensive.

The rest of this article is organized as follows: In Section 2, we introduce some necessary notation and preliminary lemmas. In Section 3, we describe the method of implementing the proposed method. Numerical results are discussed in Section 4, and some conclusions are drawn in Section 5.

2. Preliminaries

In this section, we provide some definitions and basic properties of fractional calculus [10] and the Laplace Transform that are required for the subsequent development.

2.1. Review of Fractional Calculus

Definition 1. The Riemann-Liouville derivative of fractional order of a function is defined as follows: where .

Definition 2. The Caputo derivative of fractional order is defined as follows: where .

For these two derivatives, we have the following properties:

Lemma 3. If and , then

Clearly, from Lemma 3, it follows that if , the Riemann-Liouville and Caputo fractional derivatives are equivalent for .

Like integer-order differentiation, the Caputo fractional differential has the property of linearity as follows: where , are constants.

2.2. Laplace Transform

Definition 4. Suppose that is a real- or complex-valued function of the variable and is a real or complex parameter. We define the Laplace transform of as follows:

For the fractional derivative, the Laplace transform has the following properties:

Lemma 5. If and , then the Laplace transform of the Caputo derivative is given by the following: where .

Lemma 6. [11] If and , then the Laplace transform of the Riemann-Liouville derivative given by the following: where .

3. The Coupling Scheme

Applying of the Laplace transform to models (1) and (2), we can obtain the following: where .

3.1. Rational Spectral Method

To solve Robin boundary value problems of ordinary differential equation (10), the rational spectral method is chosen to obtain a highly accurate numerical solution in the transformed domain.

The rational function in a barycentric form which interpolates the function at distinct points can be expressed as follows [12]: where are nonzero numbers called barycentric weights. In particular, for Chebyshev-Gauss-Lobatto points , the barycentric weights are chosen as follows [13]:

The derivatives of can serve to determine the th order differentiation matrix associated with represented by (10) at the point :

The advantage of the barycentric representation is the simplicity of the formula for the entries of first- and second-order differentiation matrices [14]

By introducing the transform , , and and defining , then and , and we can rewrite (10) as follows:

Equation (15) is a linear system of equations dependent on the transformed parameter . When the parameter is defined as the contour of integration, the numerical inversion of the Laplace transform can be used to solve system (15) to obtain the approximate solution of each point on the contour of integration in the complex domain.

3.2. Numerical Inversion of the Laplace Transform

Definition 7. The inversion of the Laplace transform of is defined as follows:

The numerical inversion of the Laplace transform is performed by approximating the Bromwich integral. Using a conformal mapping, the contour of integration may be deformed to obtain an integral that may be approximated by standard quadrature techniques.

Here, we consider the modified Talbot contour in the form [15] where , , , and are constants to be specified by the user. Under these conformal maps, the Bromwich integral becomes as follows: where , which can be approximated by the 2-panel midpoint rule as follows: where .

If contour (18) is symmetric with respect to the real axis, then half of the transform evaluations can be saved. That is, one needs to consider only quadrature nodes in the upper (or lower) half-plane. We can obtain the following:

The following modified Talbot contour [16] is used in this paper; it has a convergence rate of .

4. Numerical Experiments

To demonstrate the accuracy and efficiency of the rational spectral method combined with the Laplace transform, we use this novel method to solve certain classes of Robin time-fractional PDEs with respect to the Caputo fractional derivative in this section.

In our computations, all experiments are performed using MATLAB (version R2014a) on a personal computer with a 2.5 Hz central processing unit (Intel Core i5-2450M), 4.00 GB of memory, and Windows 7 operating system.

Example 1. Consider the following linear fractional advection-diffusion PDE on a finite domain , where : subject to the following initial and Robin boundary conditions: Here, the exact solution of this problem is . The rational spectral method combined with the Laplace transform and the RKA (reproducing kernel algorithm) in [17] is used to solve this problem for various values of when . The errors between the numerical solutions and the exact solutions are listed in Table 1. And a comparison of the obtained exact and numerical solutions by the rational spectral method combined with the Laplace transform is tabulated in Table 2.

Compared with the existing RKA with as a two-dimensional partition of the domain , the accuracy of the new method with and has been significantly improved for the case with different . Figure 1 shows the variation in the maximum absolute error between the numerical solutions and the exact solution against for various values of , 12, and 16 and . It can be seen that the maximum error decays exponentially with the increase in and remains stable when reaches approximately 15. The maximum absolute errors for a fixed value of and and for various values of , 12, and 16 are shown in Figure 2.

Example 2. Consider the following linear fractional Navier-Stokes equation on a finite domain , when : subject to the following initial and Robin boundary conditions: where Here, the exact solution of this problem is .

We compare the performance of the new method against that of the box-type difference scheme in [18] to compute the linear fractional Navier-Stokes equation. Table 3 lists the results of the rational spectral method combined with the Laplace transform using and and of the box-type difference scheme with and for the cases with . A comparison of the obtained exact and numerical solutions by the rational spectral method combined with the Laplace transform is tabulated in Table 4 for the cases with , where stand for the th ChebyshevGauss-Lobatto point in [0,1].

Figures 3 and 4 show the variation of the maximum absolute error between the numerical solutions and the exact solution against for various values of , 12, and 16 and . From the above calculation results, we can reach a conclusion similar to that of Example 1.

5. Conclusion

In this paper, the rational spectral method combined with the Laplace transform has been proposed to solve various certain classes of Robin time-fractional PDEs with parameters that have derivatives in the sense of Caputo fractional derivatives. Numerical experiments show that our method is very accurate and reliable in time-fractional problems; moreover, the solution is valid at any point in time on the prescribed temporal domain. Compared with a traditional time stepping method (FDM), the new method avoids the restrictions of the time step by the Courant condition. It is particularly suitable for the numerical simulation of long-time evolution problems.

Here, we restricted our approach to solve one-dimensional time-fractional problems. Actually, the theoretical and numerical frameworks presented in this paper are essential for extension to more complicated problems. In the future work, we expect to expand our method to solve multidimensional problems and nonlinear problems.

Data Availability

The data used to support the fndings of this study are included within the article.

Conflicts of Interest

The authors declare that they have no competing interests.

Acknowledgments

I am grateful to Prof. YJ Wu for his valuable suggestions and help for the work related to this paper. The work is partially supported by the First-Class Disciplines Foundation of Ningxia (No. NXYLXK2017B09), the Natural Science Foundation of Ningxia (No. NZ17105), and the Science Foundation of North Minzu University (Nos. 2019XYZSX04 and 2019XYZSX02).