Abstract

In this paper, an extended version of the method of minimizing an energy gap functional for determining the optimal source points in the method of fundamental solutions (MFS) is applied to the 3D Laplace operator subject to the Dirichlet and Neumann boundary conditions. As we know, the MFS is a more popular meshless method for solving boundary or initial-boundary value problems due to its simplicity and high accuracy. However, the accuracy of the MFS depends strongly on the distribution of the source points. Finally, some of the numerical experiments are carried out to express the simplicity and effectiveness of the presented method.

1. Introduction

In the last decades, the fixed point results have been improved and generalized in different directions for solving boundary value problems (see [15]), even the fixed point theorems have been extended for establishing the existence of solutions for fractional differential equations, as well as for integral equations (see [6, 7]). These results have been usually obtained by analytic techniques and various fixed point theorems. The method of a fundamental solution (MFS) is one of the meshless numerical methods, which was first proposed by Kupradze and Aleksidze [8] in 1964. This method approximates the solution of a boundary value problem (BVP) by a linear combination of fundamental solutions of the governing partial differential operator, provided that the fundamental solution is known. The MFS is a very popular boundary meshless method due to its simplicity and high accuracy. However, this method has a serious drawback that the resulting algebraic equations system may be highly ill-conditioned when the number of source points is increased [9], or when the distances of source points are increased [10]. The method of minimizing an energy gap functional is an effective and efficient way to determine the location of source points, which was first proposed by Wang et al. in [11] for a mixed boundary value problem of 2D Laplace equation. In this paper, we extend the same recent method for the 3D Laplace equation with Dirichlet and Neumann boundary conditions. Finally, several numerical examples are provided to illustrate the efficiency and simplicity of the method.

This paper is organized as follows. In the next section, the MFS for the 3D Laplace operator is described. In Section 3, the energy gap functional is constructed and finally, in Sections 4 and 5, the numerical algorithm and some of the numerical experiments, respectively, are carried out for proposed method.

2. Statement of Problem and the MFS

Consider the mixed boundary value problem of the 3D Laplace equation in spherical coordinates: where is a bounded simply connected domain with the boundary :

The function is used to describe the boundary shape, the constant is given, and is the outward unit normal at .

In the MFS, the numerical solution of at the field point can be expressed as a linear combination of the fundamental solutions : where the source points uniformly located on the complementary set with and is an unknown offset to be determined such that the error of the numerical solution obtained by the MFS is minimized.

The fundamental solution of 3D Laplace equation (1) is given by [12]

By collecting points uniformly located on the boundary and satisfying the boundary conditions (2) and (3) and considering (5), a linear equation system can be achieved to determine the coefficients .

3. Energy Gap Functional

To determine the optimal source points, we have the following result which is an extension of Theorem 1 in [11] to 3D Laplace operator.

Theorem 1. The energy gap functional with respect to the mixed BVP (1)-(3) is given by where and .

Proof. Multiplying both sides of Eq. (1) by and integrating it over domain , we can derive which can be rewritten as

Applying the Gaussian divergence theorem [13] on Eq. (12) yields that where , and is the outward unit normal at . Finally, by using the boundary conditions (2) and (3) in Eq. (13), the energy gap functional (10) can be derived, and the proof is completed.

The numerical solution of the problem (1)-(3) in MFS usually does not satisfy the energy gap in Eq. (10), i.e., . Then, we attempt to minimize the energy gap by finding the optimal value of , i.e., where is an interval of which we attempt to seek the optimal value of .

4. A Numerical Algorithm

Suppose that is the number of subintervals of which we attempt to minimize the energy gap functional in Eq. (10). Moreover, and are the number of collocation and source points, respectively. For , we do the following steps: (I)Let and compute where and are, respectively, the collocation and source points uniformly disturbed on and with (II)Inserting the collocation and source points into Eq. (5) and enforcing it to satisfy the boundary conditions (2) and (3), the following linear equations system can be derived where , and the matrix is in general ill-conditioned

The conjugate gradient method (CGM) can be used to solve the overdetermined system (18) as follows: (III)Let where is the component of the coefficient matrix

Compute where denotes the norm of the column of matrix and let where denotes the diagonal matrix with components . Then, the following overdetermined algebraic system with well-conditioned coefficient matrix can be derived: where the all of rows or columns of matrix have the same norm . (IV)Let

Then, the following linear equation system with the positive definite matrix can be obtained: (V)Solve from system (24) by the CGM and denote it by and let , where is a column matrix , and denotes the inner product(VI)Compute by inserting Eq. (5) for into Eq. (10)(VII)Consider the criterion of stopping and if it is achieved, then is the optimal offset and inserting and , the optimal solution can be obtained

5. Numerical Experiments

In this section, we give two examples of mixed boundary value problems to check the effectiveness of the presented method. The implementation of the algorithm is based on the MATLAB software. We denote the analytical and numerical solutions by and , respectively. Define the maximum error (ME) and the root-mean-square-error (RMSE) as follows:

In Tables 1 and 2, we list the minimum energy gap , ME, and RMSE for different values of with . The curves of errors ME and RMSE and also, the optimal value in , from the minimization problem (14) with given by Eq. (10) are given in Figures 1 and 2 to show the accuracy and efficiency of the proposed method.

Example 2. Consider the mixed boundary value problem (1)-(3) on the unit sphere with The exact solution is given by . Here, is an interval we attempt to search the optimal value of , of which is obtained as shown in Figure 1.

Example 3. Consider the mixed boundary value problem (1)-(3) on the bumpy sphere with

The exact solution is given by . The optimal value of in which is as shown in Figure 2.

6. Conclusion

In this study, the mixed boundary value problem, which consists of determining the optimal source points in MFS, has been investigated by minimizing an energy gap functional for 3D Laplace operator subject to the Dirichlet and Neumann boundary conditions. The method was first proposed by Wang et al. in [11] for a mixed boundary value problem involving the 2D Laplace equation, and we extended it for the 3D case. Inserting the collocation and source points in MFS and enforcing the boundary conditions yield to a system of linear equations with general ill-conditioned coefficient matrix which can be solved by one of the regularization methods such as the conjugate gradient method (CGM). Finally, the obtained numerical solutions via the MFS can be placed in an energy gap functional until its minimum value is obtained for the appropriate source points. Two examples for the unit spherical and the bumpy spherical boundaries have been considered. The numerical results show that minimizing of an energy gap functional is a simple and efficient method for determining source points in the MFS.

Data Availability

The data used to support the findings of this study are available from the corresponding author upon request.

Conflicts of Interest

The author(s) declare(s) that they have no conflicts of interest.