Numerical Solution of the Diffusion Equation with Restrictive Pade Approximation

Abstract

The problem of solving the linear diffusion equation by a method related to the Restrictive Pade Approximation (RPA) is considered. The advantage is that it has the exact value at certain r. This method will exhibit several advantages for example highly accurate, fast and with good results, etc. The absolutely error is still very small. The obtained results are compared with the exact solution and the other methods. The numerical results are in agreement with the exact solution.

Share and Cite:

Boz, A. and Gülsever, F. (2016) Numerical Solution of the Diffusion Equation with Restrictive Pade Approximation. Journal of Applied Mathematics and Physics, 4, 2031-2037. doi: 10.4236/jamp.2016.411202.

1. Introduction

In this paper, we apply a new implicit method of high accuracy and the number of linear systems which to be solved are smaller than that for many famous known implicit methods of small step length. Therefore, our required machine time is less than that for the other implicit methods.

Restrictive Pade Approximation (RPA) for parabolic Partial Differential Equation (PDE) and Partial Difference Equations is a new technique done by İsmail and Elbarbary [1] . In addition, they studied numerical solution of the Convection Diffusion Equation [2] . RPA for hyperbolic PDE is done by İsmail and Younes [3] [4] [5] . Restrictive Taylor approximation solution for the parabolic PDE is studied by İsmail and Elbarbary [6] . Schrodinger and Singularly perturbed parabolic PDE studied by İsmail and Elbeetar [7] [8] . G. Gurarslan [9] studied numerical modelling of linear and nonlinear diffusion equations by compact finite difference method.

In this work, we consider the following one dimensional diffusion equation;

(1)

(2)

Subject to the initial condition

(3)

and boundary conditions

(4)

(5)

The functions are linear source functions. The function “” is the diffusion term that plays a crucial role in a wide range of applications in diffusion process. [10] [11] [12] The diffusion term appears in several forms. Some of the well known diffusion proses are the fast and the slow diffusion process where the diffusion term is of the form where and respectively.

2. Method

2.1. Restrictive Pade Approximation (RPA)

The Restrictive Pade Approximation (RPA) of function is a particular type of rational functions, it can be written in the form [13] [14] ;

(6)

where the positive integer α doesn’t exceed the degree of the numerator N, ,

(7)

Let have a Maclaurin Series;

(8)

From Equations (6)-(8) we get, [1]

(9)

The varishing of the first power of x on the left hand side of (9) implies a system of equations.

(10)

Hence we can determine the coefficient, and as a function of, where the parameters are to be determined, such that [15] ;

(11)

Note: gives the classical Pade Approximation (RPA) of the form;

(12)

The local truncation error form the RPA can be summarized by the following theorem.

THEOREM: If the function has an derivative, then for every argument x there exist a number in the smallest interval I containing the set of points, such that;

(13)

where and is the local truncation error for the RPA [1] .

2.2. Restrictive Pade Approximation of the Exponential Matrix

The exponential matrix exp(rA) can be formally defined by the convergent power series,

(14)

where A is matrix.

In the case of Restrictive Pade Approximation of single function the term in Equation (4) can be reduced to the square matrix in the case of Restrictive Pade approximation of the exponential matrix, where

for example,

(15)

3. Method of Solution

We consider the diffussion for [16] . Thus, we use the equation;

(16)

Subject to the initial condition;

(17)

and boundary conditions;

(18)

The exact solution of the Equation (16) is given by:

(19)

Condiser the diffusion Equation (16) with the initial and boundary condition. The open rectangular domain is covered by a rectangular grid with spacing h and k in the x and t directions respectively. The grid point denoted by and where j is non-negaive integer.

The exact solution of grid representation of (6) is given by [3] ;

(20)

The approximation of the partical derivatives at the grid point will take the usual form:

(21)

and according to central finite difference for mulation

(22)

The result of making this approximation is to replace (20) by the following equation

(23)

where and

(24)

We use the

(25)

Equation to approximate the exponential matrix in Equation (23), then the approximate solution of grid representation of Equation (16) can take the form.

(26)

The constrat matrix must determined by using the only one fact that the exact solution is given at first level. First choice of was the tridiagonal form: and. The second choise of is the diagonal matrix otherwise.

Other implicit methods can be derived if we use the possible Restrictive Pade Approximation RPA [M/N], with non-negative integers M and N.

4. Findings

The accuracy of Restrictive Pade Approximation method are compared in tables for various values of the time t. Tables give exact value, approximate value for compact finite difference method, approximate value for Restrictive Taylor Approximation, Restrictive Pade Approximation and absolute error for ε = 0.0032408523. Comparison of the RPA results with RTA method for k = 0.0001, N = 6, r = 0.0036 given below in tables.

The absolute error (AE) is give by the following formula:

.

We tabulated all AE values at Table 1, Table 2 and Table 3.

Table 1. Absolute error (AE) for RPA at t = 0.01.

Table 2. Absolute error (AE) for RPA at t = 0.1.

Table 3. Absolute error (AE) for RPA at t = 1.

5. Discussion & Conclusion

In this article, a numerical algorithm was applied in the one dimensional diffusion equation. Computed results were compared with other paper results in Table 1, Table 2 and Table 3. Especially, we compared it with Restrictive Taylor approximation method, because these methods have same properties. But as we have seen from the computational results, Restrictive Pade approximation method has more efficient results than restrictive Taylor approximation method. The proposed method results are quite satisfactory.

Conflicts of Interest

The authors declare no conflicts of interest.

References

[1] Ismail, H.N.A. and Elbarbary, E.M.E. (1998) Restrictive Pade Approximation and Parabolic Partial Difference Equations. International Journal of Computer Mathematics, 66, 343-351. http://dx.doi.org/10.1080/00207169808804645
[2] Ismail, H.N.A. and Elbarbary, E.M.E. (1999) Highly Accurate Method for the Convection-Diffusion Equations. International Journal of Computer Mathematics, 72, 271-280.
http://dx.doi.org/10.1080/00207169908804850
[3] Ismail, H.N.A., Elbarbary, E.M.E. and Hassan, A.Y (2000) Highly Accurate Method for Solving Initial Boundary Value Problem for First Order Hyperbolic Differential Equation. International Journal of Computer Mathematics, 77, 251-261.
http://dx.doi.org/10.1080/00207160108805063
[4] Ismail, H.N.A. and Hassan, A.Y. (2000) Restrictive Pade Approximation for Solving First Order Hyperbolic Partial Differential Equation. Journal of Institute of Mathematics and Computer Sciences, India, 11, 63-71.
[5] Ismail, H.N.A. and Hassan, A.Y. (2000) Restrictive Pade Approximation for Solving First Order Hyperbolic Partial Differntial Equation in Two Space Dimensions. Journal of Mathematics and Computer Science, India, 11, 159-166.
[6] Ismail, H.N.A. and Elbarbary, E.M.E. (2001) Restrictive Taylor Expansion and Parabolic Partial Differential Equations. International Journal of Computer Mathematics, 78, 73-82.
http://dx.doi.org/10.1080/00207160108805097
[7] Ismail, H.N.A. and Elbeeatar, A.A. (2001) Restrictive Pade Approximation for the Solution of Singularity Perturbed Parabolic PDE. Journal of Mathematics and Computer Science, India, 12, 153-161.
[8] Ismail, H.N.A. and Elbeetar, A.A. (2002) Restrictive Pade Approximation for the Solution of Schrodinger Equation. International Journal of Computer Mathematics, 79, 603-613.
http://dx.doi.org/10.1080/00207160210951
[9] Gurarslan, G. (2010) Numerical Modelling of Linear and Nonlinear Diffusion Equations by Compact Finite Difference Method. Applied Mathematics and Computation, 216, 2472-2478. http://dx.doi.org/10.1016/j.amc.2010.03.093
[10] Gurarslan, G. and Sari, M. (2011) Numerical Solutions of Linear and Nonlinear Diffusion Equation by a Differential Quadrature Method (DQM). International Journal for Numerical Methods in Engineering, 27, 69-77.
http://dx.doi.org/10.1002/cnm.1292
[11] Meral, G. and Tezer-Sezgin, M. (2009) Differential Quadrature Solution of Nonlinear Reaction-Diffusion Equation with Relaxation-Type Time Integration. International Journal of Computer Mathematics, 86, 451-463.
http://dx.doi.org/10.1080/00207160701600127
[12] Meral, G. and Tezer-Sezgin, M. (2011) The Differential Quadrature Solution of Nonlinear Reaction-Diffusion and Wave Equations Using Several Time-Integration Schemes. International Journal for Numerical Methods in Biomedical Engineering, 27, 461-632.
http://dx.doi.org/10.1002/cnm.1305
[13] Ismail, H.N.A. and El-sayed, E.M. (1995) Restrictive Pade Approximation. Journal of Faculty of Education, Ain Shams University, Special Issue for the 1st National Conference of Mathematical & Physical Sciences and Applications, Cairo, 63-76.
[14] Ismail, H.N.A. and Elsayed, E.M. (1995) Differential and Integral Properties of Pade and Restrictive Pade Approximations. Journal of Faculty of Education, Ain Shams University, Special Issue for the 1st National Conference of Mathematical & Physical Sciences and Applications, Cairo, 77-90.
[15] Ismail, H.N.A. and Ekmekkawy, A.Y. (2001) Restrictive Pade Approximation for Solving Singularly Perturbed Initial-Boundary Value Problem for First-Order Hyperbolic Partial Differential Equation. 9th International Technology ASAT-9, Cairo, 61-69.
[16] Wazwaz, A.-M. (2007) The Variational Iteration Method: A Powerful Scheme for Handling Linear and Nonlinear Diffusion Equations. Computers and Mathematics with Applications, 54, 933-939.
http://dx.doi.org/10.1016/j.camwa.2006.12.039

Copyright © 2024 by authors and Scientific Research Publishing Inc.

Creative Commons License

This work and the related PDF file are licensed under a Creative Commons Attribution 4.0 International License.