Abstract

The main purposes of this study are to propose the modified radial basis function (RBF) collocation method using a hybrid radial basis function to solve the convection-diffusion problems numerically and to choose the optimal shape parameter of radial basis functions. The modified numerical scheme is tested on a benchmark problem with varying shape parameters. The root mean square error and maximum error are used to validate the accuracy and efficiency of the method. The proposed method can be a good alternative to the radial basis function collocation method to improve accuracy and results.

1. Introduction

The convection-diffusion problem is important in many branches of science and engineering governed by the convection-diffusion equation [15]. The convection-diffusion equation is a fundamental equation that combines convection and diffusion processes to represent the problem process. When dealing with complex geometry, the analytical method is difficult to use, but the numerical methods have been tackled [69]. However, it is well known that the solution to this problem becomes oscillatory when the convection-diffusion problem becomes a convection-dominated problem, meaning the coefficient in the diffusion part is very small. In this convection-dominated problem, a thin boundary layer (there is a very high gradient) is usually formed if the standard numerical procedure is performed without special treatments. Standard numerical methods are also limited in the geometric domain. Moreover, the solution to this problem presents a challenging computational task.

The numerical methods known as radial basis function (RBF) collocation methods have been proposed and attracted by researcher because these methods do not require a mesh generation to discretize the problem domains [1019]. Typically, these methods are based on the collocation techniques, and the computing process of the methods is efficient and accurate when only the Dirichlet boundary conditions exist [20]. However, for a large number of collocation points in a domain, these methods may have a major shortcoming when they are applied to solve the Neumann boundary conditions. Furthermore, the computing process leads to the ill-conditioned problem, and several approaches have been proposed to solve this problem [2133]. A main tool of the RBF collocation techniques is RBF, which is used to approximate the solution of the partial differential equations (PDEs). Chuathong et al. [34, 35] have proposed the effectiveness of several well-known and mostly used RBFs to solve the nonlinear class of partial differential equations. In addition, it is found that the Cubic Matérn RBF type produces “the best results” quality for all test cases, whereas the Gaussian RBF produces “worst results” quality. For the interpolation of large points, however, the typical RBF forms lead to large and ill-conditioned systems. To avoid this limitation, Mishra et al. [36] have proposed a new RBF that combines the Gaussian and cubic types. They found that the proposed RBF significantly improved the condition number of the matrix system. Also, the ill-conditioned problems are treated by Kansa’s method using the proposed RBF for application in several benchmark problems: 1D, 2D, and 3D. Recently, this method using a hybrid RBF has gained popularity in many fields of science and engineering, and it has been used to solve large data approximations [3739]. This immediately raises the question of whether this newly invented RBF can be applied to the problem of solving PDEs, specifically the convection-diffusion equation. This motivates the author to modify the RBF collocation technique in order to solve the convection-diffusion problem and alleviate the ill-conditioned problems. Furthermore, the convection-dominated problem is expected to be solved more effectively.

In this article, the newly invented RBF [36] is applied to solve the convection-diffusion problem. While aspects of the hybrid RBF have been discovered, it is still mentioned in selecting the optimal shape parameter in the Gaussian part, which is not straightforward. This means that the choice of the shape parameter is specific. To remedy this case, the new hybrid is modified by adding weight to the Gaussian and cubic RBFs. The two RBFs are then combined. The weight is added to control the contribution of the Gaussian and cubic parts. Several possible combinations of both RBFs are investigated. The optimal weight is chosen in the interval using the minimum root mean square error. Solving the convection-diffusion problem using some traditional RBF collocation methods without special treatments is quite ill-conditioned; therefore, a new modified hybrid RBF on the RBF collocation scheme is proposed to solve the problems. As shown in the numerical results, applying the modified RBF collocation method significantly reduces the error in solving the convection-diffusion problem, especially when the diffusion coefficient is small.

The article is organized as follows. In Section 2, a brief conventional RBF collocation method for solving partial differential equations is introduced. In Section 3, the invented hybrid RBF of Mishra et al. [36] is introduced, and the difference between the Gaussian and cubic RBFs is briefly discussed. The advantages of both RBFs are employed to modify the hybrid RBF, and the traditional RBF collocation method is also modified for the convection-diffusion problem using the new modified hybrid RBF. In Section 4, to validate the proposed approach, the proposed RBF collocation method is applied to solve the convection-diffusion problem. Moreover, the results obtained by this method are compared to those obtained by exact solutions. Furthermore, to alleviate the convection-dominated problems and the difficulty of conditioning, the modified RBF collocation method using the various weights of the hybrid RBF is studied for different diffusion coefficients. Finding the optimal shape parameter of the Gaussian in a hybrid RBF is also discussed to obtain the best results. A short conclusion is drawn in Section 5.

2. The Radial Basis Function Collocation Methods (RBF Collocation Methods)

Before introducing the proposed modified RBF collocation scheme, a brief review of the RBF collocation methods is given. To illustrate the basic idea, the following two-dimensional elliptic partial differential equations are considered: where and represent the elliptical differential operators in a bounded domain and a boundary domain , respectively.

The basic idea of the RBF collocation methods is to apply the RBF to assume the approximate solution of (1) and (2) provided by where is the Euclidean norm and are the unknown coefficients.

Let denote the set of collocation points, denote the set of interior points, and denote the set of boundary points where is the number of interior points and is the total number of collocation points.

Using (3), the governing equations (1) and (2) become where is the number of boundary points and . Therefore, applying the collocation points to (4) and (5), we can obtain through (4) and (5). Then, we can obtain the approximate solution to (3) at all given points.

3. The Modified RBF Collocation Method

In this section, we apply a hybrid RBF [36] concept to the RBF collocation methods. RBFs are the main tools used in RBF collocation methods to approximate the unknown function using known data points. The RBF is defined as follows.

Definition 1. A function is said to be radial if there exists a univariate function such that , , where represents the Euclidean norm. Typical RBF and their expression are shown in Table 1.

The stability and accuracy of the RBF interpolation depend on the aspects of the algorithm and the data involved.

Mishra et al. [36] have proposed a hybrid radial basis function that combines the conventional Gaussian and a cubic RBF, as given by where , are in a domain, and are the collocation center points for .

The first part of equation (6) is the Gaussian RBF which is dependent on the shape parameter , and the second one is the cubic RBF which does not contain the shape parameter. This combination of RBFs makes “the Gaussian RBF with small cubic doping” for large shape parameter. On the other hand, for the small shape parameter, the cubic term dominates the RBF, making “a cubic RBF with small Gaussian doping.” However, it is noted that the first part of equation (6) still depends on the shape parameter which is not straightforward in practical use meaning that it is often selected in an “ad hoc” manner. For this reason, this investigation is aimed at proposing a newly modified version of the hybrid RBF. Formula (6) is now further modified to improve the results. It is designed to rely on an additional weighting function, . The following is the modified form: where .

The weight is added to the hybrid RBF to control the contribution of the Gaussian and cubic parts. In addition, the accuracy of the hybrid RBF is affected by the type of problem and the collocation points. The weight helps an ill-conditioned problem when the hybrid RBF uses a small shape parameter and alleviates the singular matrix in cubic part. This means that the collocation method using the hybrid RBF will produce better results in terms of accuracy. The optimal shape parameter and the weight are chosen according to the minimum root mean square error.

Moreover, this work is expanded to another challenging problem of solving the convection-diffusion problem which has piqued the interest of many researchers. In addition, the proposed hybrid RBF is used to modify the RBF collocation methods. First, consider the convection-diffusion problem [40] as follows: with the Neumann boundary condition on boundary and the Dirichlet boundary condition on boundary

Let denote a set of collocation points in a domain , denote a set of interior points, and denote a set of boundary points on .

Assume the following approximate solution to the convection-diffusion problems (8) and (9): where is a hybrid RBF and is the total number of collocation points in a domain .

The coefficients in equation (11) are determined by using the collocation points through (8), (9), and (10) as follows:

From (12), (13), and (14), we have the following matrix system: where and .

The unknown coefficient matrix is obtained by solving the system (15). Hence, for any , the approximate solution can be found in equation (11).

Next, it is observed that where and defined in (16) and (17) are the same as equations (4) and (5), respectively.

4. Numerical Results

To illustrate the effectiveness of the proposed approach, the convection-diffusion equation is applied. Throughout this section, HybRBF denotes the hybrid RBF in (6), MHybRBF denotes the modified RBF in (7), GA denotes the Gaussian RBF, and CB denotes the cubic RBF.

The results obtained by the numerical scheme are compared with those obtained by the exact solution to assess the effectiveness of the proposed approach. The numerical accuracy is measured using the following errors: where is the root mean square error, is the maximum error, and is the approximate solution obtained by the proposed method. MATLAB is used to perform on a notebook computer with Intel Core i7 Home Basic 64 bit. Regarding the performance of the proposed method, the CPU times are reported and computed in seconds. Moreover, the stability of the method is evaluated by calculating the condition number (CN) of the collocation matrix , using the MATLAB command cond.

In the following implementation, the convection-diffusion problems (9), (10), and (11) are investigated in a rectangular domain , the coefficients and is a given constant of diffusion coefficient.

The boundary conditions are considered as follows:

The exact solution for this problem is given by

In all case studies, the nodal distributed model is used: (441 points) uniformly distributed points in a domain and on the boundary points. In the first case study, the collocation method using GA, CU, HybRBF, and MHybRBF is examined to solve the convection-diffusion problem at different diffusion coefficients . Here, the value of the shape parameter contained in HybRBF, MHybRBF, and GA is often selected as 3, and the weight of MHybRBF is given as 0.5. Table 2 shows a summary of all results obtained by the collocation method using all four RBFs. It can be observed that the errors obtained by applying each method differ slightly. When the diffusion coefficient is very small, or the problem becomes a convection-dominated problem, the errors of the collocation method using all four RBFs become large and lead to oscillatory results. In terms of stability, the CN of collocation matrix is analyzed, and it is discovered that the CN obtained by using CB, HybRBF, and MHybRBF is similar. The CN has an order of magnitude between and as shown in Table 2. Figure 1 also depicts a comparison of the RMSE of the collocation method using all four RBFs with various diffusion coefficients . It can be noted that when the diffusion coefficient is large (i.e., ), the computational effectiveness of these methods can produce good results. However, GA can still perform slightly better than the others when the diffusion coefficient is small (e.g., ). This means that the RBF collocation method using GA can alleviate the convection-dominated problem for choosing the shape parameter as 3. Although GA yields the numerical results that agree with the exact solution for a very small diffusion coefficient, CN obtained by GA is higher than that obtained by CU, HybRBF, and MHybRBF. Therefore, GA is combined with CU to obtain a lower CN which becomes HybRBF. In particular, the comparison of HybRBF and MHybRBF is considered, and it is found that MHybRBF provides slightly better results than HybRBF. As the results shown in Figure 1 and Table 1, the optimal shape parameter is discussed and chosen by using the minimum RMSE to improve the computational effectiveness of the collocation method using HybRBF and MHybRBF with a very small diffusion coefficient, and it can be written in mathematical form as where is the objective function computed through the RMSE and are the parameters in the hybrid RBF.

Let HybRBF2 and MHybRBF2 denote the HybRBF and MHybRBF using the optimal shape parameter, respectively. The value of the shape parameter of both RBFs is tested by varying the value between 0 and 100. In this investigation, MHybRBF and MHybRBF2 are computed with a specific .

Table 3 shows the results of HybRBF2 and MHybRBF2 using the optimal shape parameter for different diffusion coefficients , and Figure 2 depicts the comparison of the RMSE of the collocation method using HybRBF, MHybRBF, HybRBF2, and MHybRBF2. It can be found that choosing the optimal shape parameter of HybRBF2 and MHybRBF2 is helpful. For different values of in the convection-diffusion problem, the errors obtained by both HybRBF2 and MHybRBF2 decrease, which indicates that HybRBF2 and MHybRBF2 can perform well and improve the solution of the convection-diffusion problem with different diffusion coefficients including the convection-dominated problem.

Moreover, the comparison of the collocation method using all six RBFs is discussed, and the RMSE of these methods is illustrated in Figure 3. It can be observed that the errors of the method using HybRBF2 and MHybRBF2 are quite smaller than those of the technique using other RBFs. It can also be found that, for different values of , the proposed collocation method using MHybRBF, HybRBF2, and MHybRBF2 performs better than HybRBF. Furthermore, for , the approximate solutions obtained by applying MHybRBF and MHybRBF2 are compared and shown in Figure 4. As illustrated in Figure 4, MHybRBF2 provides the approximate solutions that agree with the exact solution, whereas MHybRBF still yields oscillatory solutions. In addition, in Tables 2 and 3, the CN of the matrix system is similar with or without the optimal shape parameter for the different values of .

Although the proposed collocation method using MHybRBF yields slightly better results than those obtained by using HybRBF, both methods produce results that are not quite in good agreement with the exact solution, especially for a very small . For example, when the proposed collocation method using MHybRBF is applied to , the numerical results remain oscillatory and do not agree with those obtained by the exact solution, as shown in Figure 5(a). Therefore, for a very small diffusion coefficient , finding the optimal weight is discussed in depth to control the contribution of the hybrid RBF and improve the results of the MHybRBF. It can be seen in Table 4 that when the proposed approach is employed with the optimal values of and , the errors obtained by this method decrease. This implies that the numerical results obtained by MHybRBF with the optimal weight are improved and slightly agree with those obtained by the exact solution, as illustrated in Figures 5(b)5(d).

In addition, in Table 4, the optimal weight used for MHybRBF is found to be about 0.95 for solving the convection-diffusion problem with each diffusion coefficient . On the other hand, the discovered optimal shape parameter shows an increasing trend as the diffusion coefficient decreases. Also, the CN does not change significantly.

5. Conclusion

In this paper, a modified RBF collocation method using a hybrid RBF is proposed for the numerical solution of the convection-diffusion problem. A hybrid RBF proposed by Mishra et al. [36] is further utilized in conjunction with the RBF collocation method, and some promising results are obtained. The advantages of the Gaussian and cubic RBFs are extended to modify the hybrid RBF by adding the extra weight which controls the contribution of the Gaussian and cubic RBFs. It is worth noting that when using the modified hybrid RBF, the quality of the results is significantly improved and agrees with the exact solution. However, the performance of the proposed method will be reduced when the problem has a very small diffusion coefficient or is a convection-dominated problem. This means that the numerical solutions obtained using this method are still oscillatory for a small diffusion coefficient. To improve the accuracy of the modified RBF collocation method using the hybrid RBF, finding the optimal shape parameter of the Gaussian part and the optimal weight of a modified hybrid RBF is discussed and found through a numerical experiment with the minimum root mean square error. The numerical study demonstrates that choosing the optimal shape parameter produces better results, and the obtained results are acceptable and agree with the exact solution. Moreover, the proposed scheme can overcome the convection-dominated problem (the instability issue), which is a challenging problem in science and engineering. It can also be noted that the optimal weight of the hybrid RBF plays an important role in the numerical solution to the convection-diffusion problem, especially the convection-dominated. Moreover, the combination of the Gaussian RBF and cubic RBF works well. Finally, when stability is considered, the CN obtained by the modified RBF collocation method does not differ significantly in solving the convection-diffusion problem with different diffusion coefficients. However, the proposed approach yields a lower CN than using only the Gaussian RBF.

In future work, the proposed scheme will be extended to solve other types of PDEs, including the modeling of both time-independent and time-dependent PDEs. Another important aspect to investigate concerns the study of the nodal distributed model: irregular points and refinement points. Furthermore, the combination of other RBFs is worth investigating.

Data Availability

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

Conflicts of Interest

The author declares that she has no conflicts of interest.

Acknowledgments

The authors would like to express their sincere gratitude and appreciation to King Mongkut’s University of Technology North Bangkok (Contract no. KMUTNB-62-NEW-14) for financial support. Our great appreciation is also expressed to the Faculty of Science, Energy and Environment and the King Mongkut’s University of Technology North Bangkok (Rayong Campus) for providing all the necessary facilities.