Abstract
This work analyze singularly perturbed convection-diffusion-reaction (CDR) models with two parameters and variable coefficients by developing a mesh-free scheme based on local radial basis function-finite difference (LRBF-FD) approximation. In the evolvement of the scheme, time derivative is discretized by forward finite difference. After that, LRBF-FD approximation is used for spatial discretization, and we obtained a system of linear equations. Then, the obtained linear system is solved by LU decomposition method in MATLAB. For numerical simulation, four singularly perturbed models are pondered to check the efficiency and chastity of the proposed scheme.
1. Introduction
Singularly perturbed models (SPMs) can be seen in different areas of science, medicine, and engineering. Herein, we consider the following class of parabolic SPMs with two small parameters and variable coefficients:with initial and boundary conditions (BCs)where ε and μ are small positive parameters and the variable coefficients , and are sufficiently smooth functions on and satisfies the following conditions:
We also suppose that the initial and BCs have enough smoothness on and sufficient compatibility conditions on the edges of the domain . These conditions on the initial and BCs ensure that there exists a unique classical solution [1].
In the SP case, the solutions of the abovementioned models may possess a multiscale character, presenting rapid variations in some narrow regions adjacent to both the left and right lateral boundary depending on the magnitude of the parameters ε and μ. For μ = 1, ε ⟶ 0, model (1) becomes convection dominated model (CDM) and for μ = 0, ε ⟶ 0, model (1) was converted into the reaction-diffusion model (RDM). There are various numerical techniques available in literature for the simulation of CDM and RDM, e.g., adaptive B-spline collocation method [2], ε-uniform schemes [3], parameter uniform difference scheme [4], uniformly convergent B-spline collocation method [5], finite difference fitted schemes [6], uniformly convergent difference schemes [7, 8], SDFEM [9], parameter-uniform hybrid finite difference scheme [10], finite difference domain decomposition algorithms [11], high order methods [12], Layer-adapted meshes and FEM [13], parameter uniform approximations [14], uniformly convergent scheme [15], and finite difference scheme [16]. Except these, there are many schemes for these types of problems [17–22].
The singularly perturbed CDR models occurred in mathematical modelling of physical problems, such as fluid dynamics, elasticity, quantum mechanics, heat and mass transfer in mechanical engineering, theory of plates and shells, oil and gas reservoir simulation, and magneto-hydrodynamic flow. Two parameter problems arise in chemical flow reactor theory [23] as well as in the case of boundary layers controlled by suction (or blowing) of some fluids [17, 18, 24]. It is important to study these CDR models with two parameters and variable coefficients so that other information can be clarify by the interaction between convection and diffusion.
Recently, singularly perturbed convention diffusion problems are solved by Ahmad and Kalarestaghi [25] using LRBFs methods. But, these problems are steady state and with constant coefficients. Secondly, upwind LRBFs and central LRBFs methods are used for solving these problems. This motivates the authors to develop LRBF-FD scheme for unsteady-state singularly perturbed CDR models. To achieve this aim, we present a mesh-free scheme based on LRBF-FD approximation for the unsteady-state singularly perturbed CDR models with two parameters and variable coefficients. The novelty of the work is that we solved unsteady-state singularly perturbed problems with two parameters and variable coefficients. Second, we used LRBF-FD approximation in place of upwind LRBFs and central LRBFs methods. In the evolvement of the scheme, time derivative is discretized by forward finite difference. After that, RBF-FD approximation is used for spatial discretization, and we obtained a system of linear equations. Finally, the obtained linear system is solved by the LU decomposition method in MATLAB. For numerical simulation, four problems are pondered to check the efficiency and chastity of the proposed scheme.
Rest of the paper is organized as follows: in Section 2, the details of RBFs and Local RBF-FD approximation has been described. Mesh-free numerical scheme based on LRBF-FD approximation will be introduced in Section 3. In Section 4, MATLAB implementation steps are given in form of algorithm of the developed scheme. Numerical simulation and discussion are carried out in Section 5. Concluding remarks of the work are given in the final Section 6.
2. RBFs and Local RBF-FD Approximation
Herein, we presented the brief introduction of RBFs and LRBF-FD approximation in space as follows.
2.1. RBFs
For scattered points , the approximation of a function can be written as a linear combination of RBFs [26, 27].where is the number of centers or sometimes called knots, is the dimension of the problem, are coefficients to be determined and is a RBF. (4) can be written without the additional polynomial . If denotes the space of n-variate polynomials of order not exceeding q, and letting the polynomials be the basis of in , then the polynomial , in (4), is usually written in the following form:where .
To determine the coefficients and extra m equations are required in addition to the equations resulting from the collocating equation (4) at knots. This is insured by the m conditions for (4), viz.,
There are many RBFs (expression of ) available in literature such as Multiquadric (MQ), Inverse Multiquadric (IMQ), Gaussian, Thin Plate spline [27–34] etc.
2.2. LRBF-FD Method Formulation
In this work, we used LRBF-FD approximation for the discretization of spatial derivatives. LRBF-FD approximation is more general form of classical finite difference method. To explain the concept of LRBF-FD approximation, assume that there are scattered points in the bounded domain of the problem i.e. . In this approximation, the differential operator is approximated at a particular point as a weighted linear combination of function values at closest neighbor stencil of the point as follows:where and is the radius of support domain.
Now, the main task is to calculate the unknown coefficients occurred in (7). For this purpose, assume the approximation of the unknown solution is as follows [35, 36].where is MQ-RBF discussed in above subsection.
Apply the differential operator over (8) and take , we get
Now, using the (7)–(9), we can write as follows:
To compute the unknown weights , the system algebraic (10) can be written as
Solve the (11) and substitute in the (7) to the approximation of the differential operator at the point .
To simulate the unsteady SPMs model (1), we need to approximate the 1st and 2nd order derivatives. For this aim, we will divide the scattered points into boundary points and interior points and . Then, the weights associated to differential operators in node based on stencil for internal points, will be determined by using (11) as follows:
The Sparsity pattern of the matrices and is plotted in Figure 1.

(a)

(b)
3. Mesh-free Numerical Scheme Based on LRBF-FD Approximation for the Parabolic Singularly Perturbed Models
Herein, we will develop a mesh-free scheme based on forward finite difference (FFD) and LRBF-FD for the simulation of parabolic SPMs (1). The steps of the scheme are as follows
3.1. Semidiscretization
In this scheme, the first step is semidiscretization of model (1) in time space. For this purpose, define , where is the time step. Now, approximate time derivative by FFD and apply Crank–Nicolson (CN) on other part of the model, then we havewhere , and is the truncation error (T. E.) in semidiscrete problem.
With initial and BCs
The system (13) can written as follows:
Equation (15) is the system of linear ordinary differential equations (ODEs) for each value of n and if we drop out the small T. E. , we have
3.2. Fully Discretization
For fully discretization, we used LRBF-FD approximation. First of all discretize the given domain by the uniform node . Then, discretize the equation (16) at and the spatial derivatives are approximated as follows:
After that use the above approximation in (16), we have the following system of linear equations:
The above system can be written in matrix form aswhere the elements of the matrices are
Now, apply the BCs and solved the obtained linear system of order by the LU decomposition method.
For simulation purpose, we used the uniform nodes instead of nonuniform nodes since uniform nodes gives better results than nonuniform nodes for the proposed algorithm.
4. MATLAB Implementation Steps of the Developed Scheme
The implementation steps of the scheme in MATLAB are as follows: A1. Partition the spatial domain (0, 1) into grid points with uniform step length and the grid points are and enter the constant shape parameter A2. Compute the local first and second order approximation named as sparse differentiation matrices and A3. Enter the linear system (19) to get the solution at grid point A4. Solve the entered system in MATLAB via LU decomposition method and iterates upto T (final time)
5. Numerical Simulation and Discussion
This section ponders some particular SPMs of (1) for simulation purpose. To check the chastity and competence of the developed numerical scheme, maximum absolute error and relative error are computed by the formulas:where and denote analytic and approximated solutions respectively.
The simulation work has been done in the MATLAB environment on desktop computer (Intel(R) Core(TM) i3-6100T CPU, 4 GB RAM).
The shape parameter used in RBFs is calculated by the following algorithm [37]. (Algorithm 1)
|
5.1. SP Model 1 (Reaction-Diffusion, For )
Consider the one parameter SP reaction-diffusion model as , over the domain which is particular case of the model (1). The function is taken from exact solution given by [38].
The results of the model are presented in Tables 1 and 2 and Figure 2. The Table 1 submits the maximum absolute and errors at different time and parameter up to . The Table concludes that as we decrease the parameter the errors decrease. For at time , the present error with , is 6.660E − 06 while the same error with , 6.72E − 06 (hybrid method) and 2.80E − 04 (backward Euler method in time and central difference approximation in space) [38]. This concludes that the proposed scheme produces good results with small number of grid points. Table 2 reports the CPU time at different time and perturbation parameter . Figure 2 depicts the physical behavior of the model at different times with parameter . The figure shows that, as time increases, the solution decreases and comes closer and closer near x = 0.5.

5.2. SP Model 2 (Reaction-Diffusion, for )
Consider the one parameter SP reaction-diffusion model as , over the domain which is same as the above example except the known function . The function is taken from exact solution given by [38].
Tables 3 and 4 and Figure 3 offer the results of the model. Table 3 submits the maximum absolute and errors at different time and parameter up to . The table concludes that, as we decrease the parameter the errors decrease. For , at time , the present error with , is 3.854E − 05, while the same error with , 5.67E − 03 (hybrid method) [38]. This concludes that the proposed scheme produces good results with small number of grid points. Table 4 reports the CPU time at different time and perturbation parameter . Figure 3 depicts the physical behavior in 2D and 3D of the model at different times with parameter . The figure shows that, as time increases the solution decreases and comes closer and closer between x = 0.4 to x = 0.6. Second, the solution becomes steeper near the right and left boundaries.

5.3. SP Model 3
Consider the two parameter SP reaction-diffusion model with initial and BCs as [39, 40].and over the domain . The exact solution of the model is not given in literature but the solution behaviour is given in [39, 40] up to time . Here, we present numerical results in 2D and 3D form of the model in Figure 4 with parameter , . The figure exhibits that as time increases up to the solution decreases and goes upto −0.6316. Second, the solution comes closer and closer between the right and left boundaries.

5.4. SP Model 4
Consider the two parameter SP reaction-diffusion model with initial and BCs as [40, 41].and over the domain . The exact solution of the model is not given in literature but the solution behaviour is given in [40, 41] up to time . Here, we present numerical results in 2D and 3D form of the model in Figure 5 with parameter , . The figure exhibits that, as time increases up to , the solution decreases and goes upto −0.274287. Second, the solution comes closer and closer between the right and left boundaries. Since for the above model, we do not know the analytical solution; therefore to explain the performance of the proposed scheme, we depicted the solution behavior of the model.

6. Concluding Remarks
In this article, the authors developed a mesh-free numerical scheme based on FFD and LRBF-FD for the simulation of unsteady-state 1D parabolic singularly perturbed CDR models with two parameters and variable coefficients. The novelty of the work is that we solved unsteady-state singularly perturbed problems with two parameters and variable coefficients. The proposed numerical scheme is tested by taking several numerical examples and the results found satisfactory. The proposed mesh-free scheme is new for the 1D parabolic singularly perturbed CDR models and provides similar results as given in [38–41]. The developed scheme easily worked for small perturbed parameter and variable coefficients and produced comparable results with [38–41]. The main advantage of the scheme is that it is easy to implement and an attractive alternative to the FDM and FEM which are classical solution schemes for the higher dimensional nonlinear PDEs.
Data Availability
No data were used to support this study.
Conflicts of Interest
The authors declare that they have no conflicts of interest.
Acknowledgments
The work was supported by the Council of Scientific and Industrial Research (CSIR), New Delhi, India, with grant no. 25(0299)/19/EMR-II.