Next Article in Journal
Self-Service System with Rating Dependent Arrivals
Next Article in Special Issue
Directional Difference Convolution and Its Application on Face Anti-Spoofing
Previous Article in Journal
Geant4 Simulation of Precipitated Activity-to-γ-Dose Rate Conversion Factors for Radon and Thoron Decay Products
Previous Article in Special Issue
Precorrected-FFT Accelerated Singular Boundary Method for High-Frequency Acoustic Radiation and Scattering
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Pseudo-Spectral Fourier Collocation Method for Inhomogeneous Elliptical Inclusions with Partial Differential Equations

1
School of Mathematics and Statistics, Qingdao University, Qingdao 266071, China
2
School of Foreign Languages, Qingdao University, Qingdao 266071, China
3
Directly Affiliated College, Shandong Open University, Jinan 250014, China
*
Author to whom correspondence should be addressed.
Mathematics 2022, 10(3), 296; https://doi.org/10.3390/math10030296
Submission received: 6 December 2021 / Revised: 30 December 2021 / Accepted: 14 January 2022 / Published: 19 January 2022

Abstract

:
Inhomogeneous elliptical inclusions with partial differential equations have aroused appreciable concern in many disciplines. In this paper, a pseudo-spectral collocation method, based on Fourier basis functions, is proposed for the numerical solutions of two- (2D) and three-dimensional (3D) inhomogeneous elliptic boundary value problems. We describe how one can improve the numerical accuracy by making some extra “reconstruction techniques” before applying the traditional Fourier series approximation. After the particular solutions have been obtained, the resulting homogeneous equation can then be calculated using various boundary-type methods, such as the method of fundamental solutions (MFS). Using Fourier basis functions, one does not need to use large matrices, making accrual computations relatively fast. Three benchmark numerical examples involving Poisson, Helmholtz, and modified-Helmholtz equations are presented to illustrate the applicability and accuracy of the proposed method.

1. Introduction

After the pioneering work of stress analyses considering elliptical region, inhomogeneous elliptical inclusions with partial differential equations have aroused appreciable concern, such as two-dimensional problems [1,2,3] and three-dimensional problems [4,5,6]. It is worth noting that the term ‘inclusions’ here refers to a medium whose properties are different from surrounding media (subdomain of the homogeneous region) inside which the eigenstrain occurs [7,8,9]. For general inhomogeneous problems, the applicability of the classical boundary element method (BEM) [10,11,12,13,14] and method of fundamental solutions (MFS) [13,15,16,17,18,19,20,21,22,23,24] depends heavily on how we evaluate the particular solution of the given problem [25,26,27,28,29,30,31,32,33,34,35,36,37,38]. One popular idea is to assume that the particular unknown solution u p ( x ) can be approximated by a set of “basis functions” φ i ( x ) :
u p ( x ) = i = 0 N a i φ i ( x ) .
Substituting the series (1) into the governing equation (L is the operator of the differential equation),
L u p ( x ) = f ( x ) ,
the remaining challenge is to choose the series coefficients a i so that the residual of Equation (2) can be minimized. Although many types of “basis functions” are available, a good choice for most of all applications is the Fourier series [39,40,41,42,43]. Another popular used “basis function” is the well-known Chebyshev series, which is just a Fourier cosine expansion with a change of variable [25,40,42,44,45]. Once the particular solutions have been obtained, the solution of the original problem can then be converted to a homogeneous one which can be solved by using the BEM/MFS-based methods [11,13,14,19,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64].
We start in Section 2 by describing some basic mathematical theories of Fourier series, Fourier basis functions, and Fourier interpolation. We also describe how to improve numerical accuracy by making some extra “reconstruction techniques” before applying the Fourier series approximation. Section 3 is the main section, in which we describe the FCM in detail, along with how one implements it to solve the particular solutions of the given 2D and 3D boundary value problems. Next, in Section 4, a hybrid Fourier collocation method, which couples the MFS, will be presented. In Section 5, several numerical examples are presented to demonstrate the effectiveness of the present method. Finally, in Section 6, some conclusions and remarks are provided.

2. Basic Theory of Fourier Basis Functions

Let’s consider the following inhomogeneous problem:
L u ( x ) = f ( x ) , x Ω ,
subject to the following Dirichlet and Neumann conditions:
u ( x ) = u ¯ ( x ) for x Γ D ,
u ( x ) n = u ( x ) n ( x ) = q ¯ ( x ) for x Γ N ,
where x = ( x 1 , x 2 ) and x = ( x 1 , x 2 , x 3 ) for 2D and 3D problems, respectively, u ¯ ( x ) and q ¯ ( x ) stand for the boundary conditions specified along the boundary, n ( x ) denotes the outward unit normal vector at a boundary point x , f ( x ) , is the inhomogeneous term. In the BEM and MFS communities, a popular way for solving a problem (3) is to split the final solution u ( x ) into a sum of u p ( x ) (particular solution) and u h ( x ) (homogeneous solution). The inhomogeneous solutions satisfy Equation (3) but do not necessarily the given boundary conditions. After u p ( x ) has been calculated, the solution u h ( x ) can then be obtained by solving the following problem:
L u h ( x ) = 0 , x Ω ,
u h ( x ) = u ¯ ( x ) u p ( x ) for x Γ D ,
u h ( x ) n = q ¯ ( x ) u p ( x ) n for x Γ N .
In our computations, the homogeneous boundary value problem (6)–(8) will be solved using the standard MFS approach, introduced in the following Section 4.
For a general one-dimensional (1D) function f ( x ) defined on a symmetric interval x [ L , L ] , the standard Fourier series is given explicitly as follows:
f ( x ) = a 0 + n = 1 a n cos ( π n x L ) + n = 1 b n sin ( π n x L ) ,
where { a n } n = 0 and { b n } n = 1 are coefficients. Equation (9) can be expressed in the following complex form:
f ( x ) = n = ( c n e i π n x L ) ,
where { c n } and { c n } are a pair of conjugate complex numbers. The relations:
cos ( x ) = 1 2 ( e i x + e i x ) , sin ( x ) = 1 2 i ( e i x e i x ) .
indicate that (9) and (10) are completely equivalent, and we shall use whichever is convenient. In this study, the complex form Equation (10) is employed for the convenience of computer programming. For computational purposes, the function f ( x ) is usually approximated by the following truncated Fourier series:
f ( x ) = n = N N ( c n e i π n x L ) ,
where N presents the degree of Fourier polynomials. If f ( x ) is a known function, the Fourier coefficients { c n } n = N N can be obtained by collocating Equation (12) on M 2 N + 1 interpolation (collocation) points. This is called the “collocation” or “pseudo-spectral” method [65].
It should be noted that the Fourier series approximation (12) works best for periodic functions. It will, however, also converge for a quite arbitrary function f ( x ) defined only on a finite interval [ L , L ] . In such a case, we should extend f ( x ) to x ( , + ) . For actual computations, we only care about the Fourier series expansion defined on x [ L , L ] . However, such periodic extension will cause discontinuities at two extreme points x = ± L , which will pollute the approximation accuracy of the Fourier series expansion. We will prove this by the following example. Suppose we take f ( x ) = e x + x 3 , x [ 3 , 3 ] , evaluate the Fourier coefficients and sum the series (12). What do we get? We first extend the definition of f ( x ) = e x + x 3 to ( , + ) . The new function is discontinuous at points x = ± L ( L = 3 in this example), as shown in Figure 1. We then write the truncated Fourier approximation as:
f ( x ) = e x + x 3 n = 10 10 ( c n e i π n x 3 ) ,
where the degree of Fourier polynomials here is chosen as N = 10 . We arbitrarily choose M = 30 interpolation points inside the interval [ 3 , 3 ] , which gives M = 30 equations, and then the Fourier coefficients { c n } n = 10 10 can be determined. After that, the function values at any points inside [ 3 , 3 ] can then be calculated by using Equation (13) again.
Figure 2a compares the exact and numerical Fourier solutions. We can observe that the discontinuity of the function at points x = ± 3 has polluted the approximation with small, spurious oscillations everywhere. Near the discontinuity, there is a region where the error reaches its maximum. This fact is known as the “Gibbs Phenomenon.” Fortunately, through certain “modification” or “reconstruction,” it is possible to ameliorate some of these problems. One of the widely used techniques is to extend, smoothly, the original function f ( x ) over [ L , L ] to [ k L , k L ] ( k > 1 ) so that the new function is smooth at points x = ± L . From the view of mathematics, any kind of extension of f ( x ) is fine. In actual computations, the detailed knowledge of such extension is not required since we only care about the Fourier series expansion defined on [ L , L ] .
According to the above analysis, the original Fourier series approximation (13) can be modified as:
f ( x ) = e x + x 3 n = 10 10 ( c n e i π n x 3 k ) ,
where k > 1 is the so-called “period expansion coefficient,” which can be determined by the user. The source codes written in MATLAB®2018a for this example can be found in Table 1.

3. Fourier Collocation Method (FCM) for Particular Solutions

3.1. Two-Dimensional Problems

Suppose F ( x 1 , x 2 ) , ( x 1 , x 2 ) [ L 1 , L 1 ] × [ L 2 , L 2 ] , is a bounded function, it can be approximated as:
F ( x 1 , x 2 ) = m = N 1 N 1 n = N 2 N 2 a m , n e i π m k L 1 x 1 e i π n k L 2 x 2 , ( x 1 , x 2 ) [ L 1 , L 1 ] × [ L 2 , L 2 ] ,
where N 1 and N 2 stand for degrees of Fourier polynomials in the x 1 - and x 2 -directions, respectively, { a m , n } are Fourier coefficients, and k is the so-called “period expansion coefficient” as defined in Equation (14). According to the above analysis, the Fourier coefficients { a m , n } can be solved by collocating Equation (15) on M ( 2 N 1 + 1 ) ( 2 N 2 + 1 ) collocation points defined over the square [ L 1 , L 1 ] × [ L 2 , L 2 ] . To guarantee the spectral convergence, it is recommended to use the Gauss–Lobatto points (the roots of Chebyshev polynomials) as the collocation points:
ξ i = cos ( i π n ) , 0 i n ,
where { ξ i } i = 0 n are the n + 1 roots of the following Chebyshev polynomial [42]:
T n + 1 ( x ) = cos [ ( n + 1 ) arccos ( x ) ] , x [ 1 , 1 ] .
As an example, Figure 3 gives the distribution of the Gauss–Lobatto points.
For function F ( x 1 , x 2 ) defined on an arbitrary domain [ a , b ] × [ c , d ] , the following change of variables should be used:
F ( x 1 , x 2 ) = m = N 1 N 1 n = N 2 N 2 a m , n e i π m k α 1 ( x 1 β 1 ) e i π n k α 2 ( x 2 β 2 ) , ( x 1 , x 2 ) [ a , b ] × [ c , d ] ,
where
α 1 = b a 2 , β 1 = a + b 2 , α 2 = d c 2 , β 2 = c + d 2 .
Equation (18) is named as the shifted Fourier series expansion. Similarly, the standard Gauss–Lobatto points (collocation points) defined in [ 1 , 1 ] × [ 1 , 1 ] , as shown in Equation (16), should be mapped into [ a , b ] × [ c , d ] as follows:
x 1 = α 1 ξ + β 1 , x 2 = α 2 η + β 2 ,
where ξ and η are Gauss–Lobatto points along the x 1 - and x 2 -directions, respectively.
We now suppose that F ( x 1 , x 2 ) be the particular solution u p ( x 1 , x 2 ) of the given inhomogeneous problem (3) defined in Ω . It should be noted that, in real-world engineering applications, Ω is, in general, an arbitrary/irregular domain. Since the particular solution does not necessarily satisfy the boundary conditions, one can extend smoothly u p ( x 1 , x 2 ) from Ω to [ a , b ] × [ c , d ] containing the original domain Ω , so that the shifted Fourier series expansion (18) can be used. Substituting Equation (18) into the governing Equation (3), one has:
L u p ( x 1 , x 2 ) = m = N 1 N 1 n = N 2 N 2 a m , n L [ e i π m k α 1 ( x 1 β 1 ) e i π n k α 2 ( x 2 β 2 ) ] = f ( x 1 , x 2 ) , ( x 1 , x 2 ) [ a , b ] × [ c , d ] .
In Equation (21), by collocating on the M ( 2 N 1 + 1 ) ( 2 N 2 + 1 ) collocation points, the unknown coefficients { a m , n } can be calculated using various minimization strategies. Finally, the particular solutions u p ( x 1 , x 2 ) can be calculated by substituting { a m , n } to the Fourier series expansion (18).

3.2. Three-Dimensional Problems

Similarly, if F ( x 1 , x 2 , x 3 ) is a bounded function defined in a cubic [ a , b ] × [ c , d ] × [ e , f ] , then it can be approximated as:
F ( x 1 , x 2 , x 3 ) = m = N 1 N 1 n = N 2 N 2 l = N 3 N 3 a m , n , l e i π m k α 1 ( x 1 β 1 ) e i π n k α 2 ( x 2 β 2 ) e i π l k α 3 ( x 3 β 3 ) ,
where N 1 , N 2 and N 3 stand for degrees of Fourier polynomials in the x 1 -, x 2 - and x 3 -directions, respectively, { a m , n , l } are Fourier coefficients, k is the “period expansion coefficient,” { α i } i = 1 3 and { β i } i = 1 3 , which used to image [ a , b ] × [ c , d ] × [ e , f ] to [ L 1 , L 1 ] × [ L 2 , L 2 ] × [ L 3 , L 3 ] , are given as follows:
α 1 = b a 2 , β 1 = a + b 2 , α 2 = d c 2 , β 2 = c + d 2 , α 3 = f e 2 , β 3 = e + f 2 .
The standard Gauss–Lobatto points can be mapped into [ a , b ] × [ c , d ] × [ e , f ] as follows:
x 1 = α 1 ξ + β 1 , x 2 = α 2 η + β 2 , x 3 = α 3 τ + β 3 .
where ξ , η and τ are Gauss-Lobatto points along the x 1 -, x 2 - and x 3 -directions, respectively.
We now suppose that F ( x 1 , x 2 , x 3 ) be the particular solution u p of the given problem (3), which is defined in an arbitrary/irregular 3D domain Ω . Similar to the previous 2D case, we should extend smoothly u p ( x 1 , x 2 , x 3 ) to a bigger cubic domain [a, b] × [c, d] × [e, f] containing the original domain Ω , so that the aforementioned Fourier series expansion (22) can be used. Substituted Equation (22) into the governing Equation (3), one has:
L u p ( x 1 , x 2 , x 3 ) = m = N 1 N 1 n = N 2 N 2 l = N 3 N 3 a m , n , l L [ e i π m k α 1 ( x 1 β 1 ) e i π n k α 2 ( x 2 β 2 ) e i π l k α 3 ( x 3 β 3 ) ] = f ( x 1 , x 2 , x 3 ) .
By collocating on the M ( 2 N 1 + 1 ) ( 2 N 2 + 1 ) ( 2 N 3 + 1 ) collocation nodes, the coefficients { a m , n , l } can be calculated, and then the particular solutions u p ( x 1 , x 2 , x 3 ) can be obtained.

4. The MFS for Homogeneous Solutions

One of the popular methods for calculating the homogeneous equation is the MFS. In the MFS approach, the homogeneous solution u h ( x ) can be approximated as [47,66,67,68,69,70,71,72]:
u h ( x ) = j = 1 n b α j G ( r j ) , x Ω Ω ,
where x = ( x 1 , x 2 ) and x = ( x 1 , x 2 , x 3 ) for 2D and 3D problems, respectively, ( α j ) j = 1 n b are the unknown coefficients, n b denotes the number of source points ( s = ( s 1 , s 2 ) or s = ( s 1 , s 2 , s 3 ) ) which are placed outside the computational domain, r j = x s denotes the Euclidean distance between points x and s , and
G ( r ) = 1 2 π log ( r ) ,
G ( r ) = i 4 H 0 ( 1 ) ( λ r ) ,
G ( r ) = 1 2 π K 0 ( λ r ) ,
denote the fundamental solutions for 2D Poisson, Helmholtz, and modified Helmholtz equations [73], where H 0 ( 1 ) is the Hankel function of the first kind of order zero, K 0 stands for the modified Bessel function of the second kind of order zero, and
G ( r ) = 1 4 π r ,
G ( r ) = 1 4 π r exp ( i λ r ) ,
G ( r ) = 1 4 π r exp ( λ r ) ,
are fundamental solutions for 3D Poisson, Helmholtz, and modified Helmholtz equations, respectively [74]. In Equations (28), (29), (31), and (32), the parameter λ presents the frequency of the acoustical field. The normal derivative of u h ( x ) can be calculated as:
u h ( x ) n = j = 1 n b α j ( G ( r j ) n ( x ) ) , x Ω .
In the MFS, the unknown coefficients ( α j ) j = 1 n b can be calculated by collocating M observation points along the boundary Ω according to the specified Dirichlet (7) and Neumann (8) boundary conditions. Once all unknowns ( α j ) j = 1 n b are computed, the solution u h ( x ) and its derivatives at any point inside the computational domain can be calculated. The final solution u ( x ) of the considered inhomogeneous problem can be calculated as u ( x ) = u p ( x ) + u h ( x ) . The flowchart of the present method can be found in Figure 4.

5. Numerical Results and Discussions

Here, the stability and convergence of the present method with respect to the number of Gauss–Lobatto nodes and the degrees of Fourier polynomials are carefully investigated. In the MFS simulations, the leave-one-out cross-validation (LOOCV) method [66] is employed to determine the optimal location of the source points. In this study, all computations were implemented on a Core_i9 laptop PC with a 2.5 GHz CPU, 80 GB RAM, and 1000 GB hard drive. The platform used to write the codes is MATLAB 2021a. The following L 2 error norm (global error) and maximum absolute error are employed:
E G l o b a l = k = 1 N ( I numerical k I e x a c t k ) 2 / k = 1 N I e x a c t k 2 ,
E M a x = max 1 k N | I numerical k I e x a c t k | ,
where I numerical k and I e x a c t k are numerical and analytical solutions, respectively.

5.1. Poisson Equation ( L = 2 ) in a 2D Multiply-Connected Domain

Firstly, let’s consider the Poisson equation with Dirichlet boundary conditions:
2 u ( x 1 , x 2 ) = 2 u ( x 1 , x 2 ) x 1 2 + 2 u ( x 1 , x 2 ) x 2 2 = f ( x 1 , x 2 ) , ( x 1 , x 2 ) Ω ,
u ( x 1 , x 2 ) = u ¯ ( x 1 , x 2 ) , ( x 1 , x 2 ) Ω ,
where 2 = 2 / x 1 2 + 2 / x 2 2 is the Laplace operator, and the inhomogeneous term f ( x 1 , x 2 ) and the boundary condition u ¯ ( x 1 , x 2 ) are chosen such that satisfying the following exact solution:
u ( x 1 , x 2 ) = exp ( x 1 + x 2 ) + x 1 2 + x 2 2 .
The problem considered here is a square plate with 100 circular holes (see Figure 5). For the numerical implementation, a total of N = 2080 testing nodes are selected inside the computational domain. In the MFS, the source points are located on a circle of radius r (see Figure 6). The LOOCV method [66] is employed to determine the value of r ( r = 1.986 ). When using the Fourier collocation method for solving particular solutions, we use M = ( 2 N 1 + 4 ) ( 2 N 2 + 4 ) Gauss–Lobatto nodes (interpolation points) to calculate the Fourier coefficients, where N 1 and N 2 , as defined in Section 3, stand for degrees of Fourier polynomials along x 1 - and x 2 -directions, respectively.
Firstly, we study the convergence of the present method with the degree of Fourier polynomials. For this, Table 2 shows the maximum and global errors of the calculated temperatures using the present FCM-MFS approach, as the degrees of Fourier polynomials increase from N 1 = N 2 = 2 to N 1 = N 2 = 14 . We can observe that the calculated results are accurate and rapidly convergent as the degree of Fourier polynomials increases. We can also observe that the present method can be quite accurate even with a small degree of Fourier polynomials. The CPU times taken by the proposed method are also given in Table 2. Figure 7a,b shows the contours of errors calculated at points inside the whole domain, by using N 1 = N 2 = 3 and N 1 = N 2 = 8 , respectively. The purpose of testing this simple problem is to verify the reliability of the proposed method for the solution of 2D inhomogeneous elliptic problems.

5.2. Helmholtz Problems ( L = 2 + λ 2 ) in a 3D Dolphin-Shaped Solid

Next, let’s consider the following 3D Helmholtz equation with mixed boundary conditions:
( 2 + λ 2 ) u ( x 1 , x 2 , x 3 ) = f ( x 1 , x 2 , x 3 ) , ( x 1 , x 2 , x 3 ) Ω ,
u ( x 1 , x 2 , x 3 ) = u ¯ ( x 1 , x 2 , x 3 ) , ( x 1 , x 2 , x 3 ) Γ D ,
u ( x 1 , x 2 , x 3 ) n = q ¯ ( x 1 , x 2 , x 3 ) , ( x 1 , x 2 , x 3 ) Γ N ,
where 2 = 2 / x 1 2 + 2 / x 2 2 + 2 / x 3 2 denotes the Laplace operator, λ is the frequency of the acoustical field. In the above equation, the inhomogeneous term f ( x 1 , x 2 , x 3 ) and the boundary conditions u ¯ ( x 1 , x 2 , x 3 )   q ¯ ( x 1 , x 2 , x 3 ) are chosen such that satisfying the following exact solution:
u ( x 1 , x 2 , x 3 ) = cos ( x 1 + x 2 + λ x 3 ) .
Here, we consider a dolphin-shaped solid domain [42], as shown in Figure 8. The dimensions of the dolphin-shaped solid are 3.6 m (length), 1.05 m (width), and 1.36 m (height). The computational domain is extended here to the cubic [ 0.1 , 3.7 ] × [ 0.1 , 1.1 ] × [ 0.1 , 1.4 ] , so that the shifted Fourier series expansion (22) can be used. A total of 7307 collocation points are selected inside the computational domain, which contains 5278 boundary nodes and 2029 interior nodes. The acoustical field is given on the left-half side of the domain { 0 x 1.8 } , and the sound velocities are prescribed on the remaining boundary points. The wavenumber here is taken to be λ = 3 . For the MFS simulations, the fictitious boundary is set to be a sphere with a radius r = 2.936 , as shown in Figure 9. When using the Fourier collocation method for solving particular solutions, we use M = ( 2 N 1 + 4 ) ( 2 N 2 + 4 ) ( 2 N 3 + 4 ) Gauss–Lobatto nodes to calculate the Fourier coefficients, where N 1 , N 2 and N 3 are degrees of Fourier polynomials along x 1 -, x 2 - and x 3 -directions, respectively.
Table 3 lists the maximum and global errors of the sound results calculated using the proposed FCM-MFS approach, as the degrees of Fourier polynomials increase from N 1 = N 2 = N 3 = 1 to N 1 = N 2 = N 3 = 10 . These results illustrate the high accuracy and fast convergence of the present method. It can be observed that the present method can be quite accurate even with a small degree of Fourier polynomials. The CPU times are also given in Table 3. In the previous examples, we have studied the accuracy and convergence of the present method with the degrees of Fourier polynomials. Here, we investigate the effect of the wave number λ D on the accuracy of the present FCM-MFS results, where D = 4 denotes the maximum diameter of the domain. In our computations, the degrees of Fourier polynomials are taken to be N 1 = N 2 = N 3 = 6 . Figure 10 illustrates the errors of sounds u ( x 1 , x 2 , x 3 ) and sound derivatives u ( x 1 , x 2 , x 3 ) / x 1 . As expected, the FCM-MFS results have been improved as the values of λ D decrease.

5.3. Modified Helmholtz Problems ( L = 2 λ 2 ) in a Five Pieces Fan Blade

Finally, let’s consider the following modified Helmholtz equation:
( 2 λ 2 ) u ( x 1 , x 2 , x 3 ) = f ( x 1 , x 2 , x 3 ) , ( x 1 , x 2 , x 3 ) Ω ,
u ( x 1 , x 2 , x 3 ) = u ¯ ( x 1 , x 2 , x 3 ) , ( x 1 , x 2 , x 3 ) Γ D ,
u ( x 1 , x 2 , x 3 ) n = q ¯ ( x 1 , x 2 , x 3 ) , ( x 1 , x 2 , x 3 ) Γ N ,
where the exact solution is chosen as:
u ( x 1 , x 2 , x 3 ) = e ( x 1 + x 2 + λ x 3 ) + x 1 + x 2 + x 3 .
This example considers a five-piece fan blade domain [75] (see Figure 11). The dimensions of the problem are 1.5 m, 5 m and 5 m along x-, y- and z-axis coordinates, respectively. The original domain is extended to a bigger cubic [ 0.1 , 1.6 ] × [ 0.1 , 5.1 ] × [ 0.1 , 5.1 ] . A total of 11,300 collocation points are selected inside the computational domain. Dirichlet boundary conditions are prescribed on the left-half side of the domain { 0 y 2.5 } , and Neumann boundary conditions are given on the remaining boundary points. The wavenumber is chosen as λ = 3 . For the MFS simulations, the fictitious boundary is set to be a sphere with a radius r = 3.695 , as shown in Figure 12. When using the Fourier collocation method for solving particular solutions, we use M = ( 2 N 1 + 4 ) ( 2 N 2 + 4 ) ( 2 N 3 + 4 ) Gauss–Lobatto nodes to calculate the Fourier coefficients, where N 1 , N 2 and N 3 are degrees of Fourier polynomials along x 1 -, x 2 - and x 3 -directions, respectively.
Table 4 shows the maximum and global errors of the calculated FCM-MFS results as the degrees of Fourier polynomials increase from N 1 = N 2 = N 3 = 1 to N 1 = N 2 = N 3 = 10 . These results indicate the high accuracy of the proposed method. Figure 13 shows the relative error curves of the calculated u ( x 1 , x 2 , x 3 ) and u ( x 1 , x 2 , x 3 ) / x 1 as the non-dimensional wave number λ D increases from 20 to 500, where λ is the wavenumber and D = 5 denotes the maximum diameter of the computational domain. In our computations, the degrees of Fourier polynomials are taken to be N 1 = N 2 = N 3 = 6 . We can observe that the proposed FCM-MFS approach can achieve accurate results even with a relatively large value of wavenumber, for example, λ D = 500 .

6. Concluding Remarks

This paper presents a direct, accurate, and stable technique for the numerical solution of certain elliptic partial differential equations. In this study, an FCM technique, based on the Fourier polynomial scheme, is proposed for approximating the particular solutions of the governing equations of interest problems. To guarantee the pseudo-spectral convergence of the algorithm, the Gauss–Lobatto nodes are used as collocation points in the developed approach. After the particular solutions have been obtained, the MFS approach has been employed for solving the resulting homogeneous problem. Of course, other choices of boundary-type or localized discretization techniques are possible. Several numerical experiments illustrate that the present method is simple yet highly accurate. Though the method has been developed in the context of Poisson and Helmholtz-type equations, an extension of the method to many other problems is fairly straightforward. In addition, it is necessary to analyze and optimize the proposed method’s implementation to improve accuracy and efficiency. The analyses include convergence order of the algorithm, the parameter optimizations of the scale of the extended domain and the number of Gauss–Lobatto nodes, and new techniques of adaptive mesh refinements. The aforementioned analyses will be further investigated in future work.

Author Contributions

Formal analysis, J.W.; Funding acquisition, X.W. (Xiao Wang); Supervision, X.W. (Xiao Wang); Validation, X.W. (Xiao Wang); Writing—review--editing, X.W. (Xin Wang) and C.Y. All authors have read and agreed to the published version of the manuscript.

Funding

The work described in this paper was supported by the National Natural Science Foundation of China (12101346), Shandong Provincial Natural Science Foundation, China (ZR2021QA044, ZR2021JQ02), the Science and Technology Support Plan for Youth Innovation of Colleges in Shandong Province (DC2000000891), and the Key Laboratory of Road Construction Technology and Equipment (Chang’an University, No. 300102251505).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

References

  1. Zimmerman, R.W. Effective conductivity of a two-dimensional medium containing elliptical inhomogeneities. Proc. R. Soc. London Ser. A Math. Phys. Eng. Sci. 1996, 452, 1713–1727. [Google Scholar]
  2. Rangelov, T.V.; Manolis, G.D.; Dineva, P.S. Elastodynamic fundamental solutions for certain families of 2d inhomogeneous anisotropic domains: Basic derivations. Eur. J. Mech.—A/Solids 2005, 24, 820–836. [Google Scholar] [CrossRef]
  3. Markov, A.; Trofimov, A.; Sevostianov, I. A unified methodology for calculation of compliance and stiffness contribution tensors of inhomogeneities of arbitrary 2D and 3D shapes embedded in isotropic matrix—Open access software. Int. J. Eng. Sci. 2020, 157, 103390. [Google Scholar] [CrossRef]
  4. Gong, Y.P.; Yang, H.S.; Dong, C.Y. A novel interface integral formulation for 3D steady state thermal conduction problem for a medium with non-homogenous inclusions. Comput. Mech. 2019, 63, 181–199. [Google Scholar] [CrossRef]
  5. Wang, X.; Akobi, M.; Nikaeen, P.; Khattab, A.; He, T.; Li, J.; Zhang, P. Modeling and statistical understanding: The effect of carbon nanotube on mechanical properties of recycled polycaprolactone/epoxy composites. J. Appl. Polym. Sci. 2021, 138, 49886. [Google Scholar] [CrossRef]
  6. Wang, F.; Sohail, A.; Tang, Q.; Li, Z. Impact of Fractals Emerging from the Fitness Activities on the Retail of Smart Wearable Devices. Fractals 2021. [Google Scholar] [CrossRef]
  7. Hussey, B.; Nikaeen, P.; Dixon, M.D.; Akobi, M.; Khattab, A.; Cheng, L.; Wang, Z.; Li, J.; He, T.; Zhang, P. Light-weight/defect-tolerant topologically self-interlocking polymeric structure by fused deposition modeling. Compos. Part B Eng. 2020, 183, 107700. [Google Scholar] [CrossRef]
  8. Zhang, P.; Akobi, M.; Khattab, A. Recyclability/malleability of crack healable polymer composites by response surface methodology. Compos. Part B Eng. 2019, 168, 129–139. [Google Scholar] [CrossRef]
  9. Zhang, P.; Arceneaux, D.J.; Liu, Z.; Nikaeen, P.; Khattab, A.; Li, G. A crack healable syntactic foam reinforced by 3D printed healing-agent based honeycomb. Compos. Part B Eng. 2018, 151, 25–34. [Google Scholar] [CrossRef]
  10. Cheng, A.H.D.; Cheng, D.T. Heritage and early history of the boundary element method. Eng. Anal. Bound. Elem. 2005, 29, 268–302. [Google Scholar] [CrossRef]
  11. Gu, Y.; He, X.; Chen, W.; Zhang, C. Analysis of three-dimensional anisotropic heat conduction problems on thin domains using an advanced boundary element method. Comput. Math. Appl. 2018, 75, 33–44. [Google Scholar] [CrossRef]
  12. Gao, X.W. The radial integration method for evaluation of domain integrals with boundary-only discretization. Eng. Anal. Bound. Elem. 2002, 26, 905–916. [Google Scholar] [CrossRef]
  13. Gu, Y.; Fan, C.-M.; Fu, Z. Localized method of fundamental solutions for three-dimensional elasticity problems: Theory. Adv. Appl. Math. Mech. 2021, 13, 1520–1534. [Google Scholar]
  14. Gu, Y.; Zhang, C. Novel special crack-tip elements for interface crack analysis by an efficient boundary element method. Eng. Fract. Mech. 2020, 239, 107302. [Google Scholar] [CrossRef]
  15. Chen, C.S.; Cho, H.A.; Golberg, M.A. Some comments on the ill-conditioning of the method of fundamental solutions. Eng. Anal. Bound. Elem. 2006, 30, 405–410. [Google Scholar] [CrossRef]
  16. Cheng, A.H.D. Particular solutions of Laplacian, Helmholtz-type, and polyharmonic operators involving higher order radial basis functions. Eng. Anal. Bound. Elem. 2000, 24, 531–538. [Google Scholar] [CrossRef]
  17. Karageorghis, A. Efficient MFS Algorithms for Inhomogeneous Polyharmonic Problems. J. Sci. Comput. 2011, 46, 519–541. [Google Scholar] [CrossRef]
  18. Marin, L. Regularized method of fundamental solutions for boundary identification in two-dimensional isotropic linear elasticity. Int. J. Solids Struct. 2010, 47, 3326–3340. [Google Scholar] [CrossRef] [Green Version]
  19. Sarler, B. Solution of potential flow problems by the modified method of fundamental solutions: Formulations with the single layer and the double layer fundamental solutions. Eng. Anal. Bound. Elem. 2009, 33, 1374–1382. [Google Scholar] [CrossRef]
  20. Fan, C.M.; Huang, Y.K.; Chen, C.S.; Kuo, S.R. Localized method of fundamental solutions for solving two-dimensional Laplace and biharmonic equations. Eng. Anal. Bound. Elem. 2019, 101, 188–197. [Google Scholar] [CrossRef]
  21. Lin, J.; Chen, W.; Wang, F. A new investigation into regularization techniques for the method of fundamental solutions. Math. Comput. Simul. 2011, 81, 1144–1152. [Google Scholar] [CrossRef]
  22. Liu, S.; Li, P.-W.; Fan, C.-M.; Gu, Y. Localized method of fundamental solutions for two-and three-dimensional transient convection-diffusion-reaction equations. Eng. Anal. Bound. Elem. 2021, 124, 237–244. [Google Scholar] [CrossRef]
  23. Gu, Y.; Golub, M.V.; Fan, C.-M. Analysis of in-plane crack problems using the localized method of fundamental solutions. Eng. Fract. Mech. 2021, 256, 107994. [Google Scholar] [CrossRef]
  24. Gu, Y.; Lin, J.; Wang, F. Fracture mechanics analysis of bimaterial interface cracks using an enriched method of fundamental solutions: Theory and MATLAB code. Theor. Appl. Fract. Mech. 2021, 116, 103078. [Google Scholar] [CrossRef]
  25. Reutskiy, S.Y.; Chen, C.S.; Tian, H.Y. A boundary meshless method using Chebyshev interpolation and trigonometric basis function for solving heat conduction problems. Int. J. Numer. Methods Eng. 2008, 74, 1621–1644. [Google Scholar] [CrossRef]
  26. Chen, C.S.; Fan, C.M.; Wen, P.H. The method of approximate particular solutions for solving certain partial differential equations. Numer. Methods Partial Differ. Eq. 2012, 28, 506–522. [Google Scholar] [CrossRef]
  27. Hon, Y.C.; Chen, W. Boundary knot method for 2D and 3D Helmholtz and convection–diffusion problems under complicated geometry. Int. J. Numer. Methods Eng. 2003, 56, 1931–1948. [Google Scholar] [CrossRef] [Green Version]
  28. Qu, W.; He, H. A spatial–temporal GFDM with an additional condition for transient heat conduction analysis of FGMs. Appl. Math. Lett. 2020, 110, 106579. [Google Scholar] [CrossRef]
  29. Xia, H.; Gu, Y. Generalized finite difference method for electroelastic analysis of three-dimensional piezoelectric structures. Appl. Math. Lett. 2021, 117, 107084. [Google Scholar] [CrossRef]
  30. Qu, W.; Fan, C.-M.; Li, X. Analysis of an augmented moving least squares approximation and the associated localized method of fundamental solutions. Comput. Math. Appl. 2020, 80, 13–30. [Google Scholar] [CrossRef]
  31. Wang, F.; Fan, C.-M.; Hua, Q.; Gu, Y. Localized MFS for the inverse Cauchy problems of two-dimensional Laplace and biharmonic equations. Appl. Math. Comput. 2020, 364, 124658. [Google Scholar] [CrossRef]
  32. Chai, Y.; You, X.; Li, W. Dispersion reduction for the wave propagation problems using a coupled “FE-Meshfree” triangular element. Int. J. Comput. Methods 2020, 17, 1950071. [Google Scholar] [CrossRef]
  33. Wei, X.; Huang, A.; Sun, L. Singular boundary method for 2D and 3D heat source reconstruction. Appl. Math. Lett. 2020, 102, 106103. [Google Scholar] [CrossRef]
  34. Qiu, L.; Hu, C.; Qin, Q.-H. A novel homogenization function method for inverse source problem of nonlinear time-fractional wave equation. Appl. Math. Lett. 2020, 109, 106554. [Google Scholar] [CrossRef]
  35. Qu, W.; Gao, H.; Gu, Y. Integrating Krylov deferred correction and generalized finite difference methods for dynamic simulations of wave propagation phenomena in long-time intervals. Adv. Appl. Math. Mech. 2021, 13, 1398–1417. [Google Scholar]
  36. Zhao, Q.; Fan, C.-M.; Wang, F.; Qu, W. Topology optimization of steady-state heat conduction structures using meshless generalized finite difference method. Eng. Anal. Bound. Elem. 2020, 119, 13–24. [Google Scholar] [CrossRef]
  37. Aziz, I.; Siraj-ul, I.; Šarler, B. Wavelets collocation methods for the numerical solution of elliptic BV problems. Appl. Math. Model. 2013, 37, 676–694. [Google Scholar] [CrossRef]
  38. Siraj-ul, I.; Aziz, I.; Ahmad, M. Numerical solution of two-dimensional elliptic PDEs with nonlocal boundary conditions. Comput. Math. Appl. 2015, 69, 180–205. [Google Scholar] [CrossRef]
  39. Zhang, B.; Huang, J.; Pitsianis, N.P.; Sun, X. A Fourier-series-based kernel-independent fast multipole method. J. Comput. Phys. 2011, 230, 5807–5821. [Google Scholar] [CrossRef]
  40. Khatri Ghimire, B.; Tian, H.Y.; Lamichhane, A.R. Numerical solutions of elliptic partial differential equations using Chebyshev polynomials. Comput. Math. Appl. 2016, 72, 1042–1054. [Google Scholar] [CrossRef]
  41. Chen, C.S.; Lee, S.; Huang, C.S. Derivation of particular solutions using Chebyshev polynomial based functions. Int. J. Comput. Methods 2007, 4, 15–32. [Google Scholar] [CrossRef]
  42. Bai, Z.-Q.; Gu, Y.; Fan, C.-M. A direct Chebyshev collocation method for the numerical solutions of three-dimensional Helmholtz-type equations. Eng. Anal. Bound. Elem. 2019, 104, 26–33. [Google Scholar] [CrossRef]
  43. Bialecki, B.; Karageorghis, A. Spectral Chebyshev–Fourier collocation for the Helmholtz and variable coefficient equations in a disk. J. Comput. Phys. 2008, 227, 8588–8603. [Google Scholar] [CrossRef]
  44. Chen, C.S.; Muleshkov, A.S.; Golberg, M.A.; Mattheij, R.M.M. A mesh-free approach to solving the axisymmetric Poisson’s equation. Numer. Methods Partial Differ. Eq. 2005, 21, 349–367. [Google Scholar] [CrossRef] [Green Version]
  45. Khatri Ghimire, B.; Li, X.; Chen, C.S.; Lamichhane, A.R. Hybrid Chebyshev polynomial scheme for solving elliptic partial differential equations. J. Comput. Appl. Math. 2020, 364, 112324. [Google Scholar] [CrossRef] [Green Version]
  46. Fu, Z.; Chen, W.; Wen, P.; Zhang, C. Singular boundary method for wave propagation analysis in periodic structures. J. Sound Vib. 2018, 425, 170–188. [Google Scholar] [CrossRef]
  47. Fu, Z.-J.; Xi, Q.; Chen, W.; Cheng, A.H.D. A boundary-type meshless solver for transient heat conduction analysis of slender functionally graded materials with exponential variations. Comput. Math. Appl. 2018, 76, 760–773. [Google Scholar] [CrossRef]
  48. Li, J.; Zhang, L.; Qin, Q.-H. A regularized method of moments for three-dimensional time-harmonic electromagnetic scattering. Appl. Math. Lett. 2021, 112, 106746. [Google Scholar] [CrossRef]
  49. Lin, J.; Reutskiy, S.Y.; Lu, J. A novel meshless method for fully nonlinear advection–diffusion-reaction problems to model transfer in anisotropic media. Appl. Math. Comput. 2018, 339, 459–476. [Google Scholar] [CrossRef]
  50. Qu, W.; Chen, W. Solution of two-dimensional stokes flow problems using improved singular boundary method. Adv. Appl. Math. Mech. 2015, 7, 13–30. [Google Scholar] [CrossRef] [Green Version]
  51. Wang, F.; Hua, Q.; Liu, C.-S. Boundary function method for inverse geometry problem in two-dimensional anisotropic heat conduction equation. Appl. Math. Lett. 2018, 84, 130–136. [Google Scholar] [CrossRef]
  52. Zhang, A.; Gu, Y.; Hua, Q.; Chen, W.; Zhang, C. A regularized singular boundary method for inverse Cauchy problem in three-dimensional elastostatics. Adv. Appl. Math. Mech. 2018, 10, 1459–1477. [Google Scholar] [CrossRef]
  53. Young, D.L.; Chen, K.H.; Lee, C.W. Novel meshless method for solving the potential problems with arbitrary domain. J. Comput. Phys. 2005, 209, 290–321. [Google Scholar] [CrossRef]
  54. Liu, Y.J. A new boundary meshfree method with distributed sources. Eng. Anal. Bound. Elem. 2010, 34, 914–919. [Google Scholar] [CrossRef]
  55. Liu, G.R.; Gu, Y.T. Boundary meshfree methods based on the boundary point interpolation methods. Eng. Anal. Bound. Elem. 2004, 28, 475–487. [Google Scholar] [CrossRef]
  56. Qu, W. A high accuracy method for long-time evolution of acoustic wave equation. Appl. Math. Lett. 2019, 98, 135–141. [Google Scholar] [CrossRef]
  57. Wang, F.; Fan, C.M.; Zhang, C.; Lin, J. A localized space-time method of fundamental solutions for diffusion and convection-diffusion problems. Adv. Appl. Math. Mech. 2020, 12, 940–958. [Google Scholar] [CrossRef]
  58. Wang, F.; Wang, C.; Chen, Z. Local knot method for 2D and 3D convection–diffusion–reaction equations in arbitrary domains. Appl. Math. Lett. 2020, 105, 106308. [Google Scholar] [CrossRef]
  59. Li, X.; Dong, H. An element-free Galerkin method for the obstacle problem. Appl. Math. Lett. 2021, 112, 106724. [Google Scholar] [CrossRef]
  60. Gu, Y.; Hua, Q.; Zhang, C.; He, X. The generalized finite difference method for long-time transient heat conduction in 3D anisotropic composite materials. Appl. Math. Model. 2019, 71, 316–330. [Google Scholar] [CrossRef]
  61. Gu, Y.; Lei, J. Fracture mechanics analysis of two-dimensional cracked thin structures (from micro- to nano-scales) by an efficient boundary element analysis. Results Appl. Math. 2021, 11, 100172. [Google Scholar] [CrossRef]
  62. Qu, W.; He, H. A GFDM with supplementary nodes for thin elastic plate bending analysis under dynamic loading. Appl. Math. Lett. 2022, 124, 107664. [Google Scholar] [CrossRef]
  63. Qiu, L.; Lin, J.; Wang, F.; Qin, Q.-H.; Liu, C.-S. A homogenization function method for inverse heat source problems in 3D functionally graded materials. Appl. Math. Model. 2021, 91, 923–933. [Google Scholar] [CrossRef]
  64. Song, L.; Li, P.-W.; Gu, Y.; Fan, C.M. Generalized finite difference method for solving stationary 2D and 3D Stokes equations with a mixed boundary condition. Comput. Math. Appl. 2020, 80, 1726–1743. [Google Scholar] [CrossRef]
  65. Boyd, J.P. The Rate of Convergence of Fourier Coefficients for Entire Functions of Infinite Order with Application to the Weideman-Cloot Sinh-Mapping for Pseudospectral Computations on an Infinite Interval. J. Comput. Phys. 1994, 110, 360–372. [Google Scholar] [CrossRef] [Green Version]
  66. Chen, C.S.; Karageorghis, A.; Li, Y. On choosing the location of the sources in the MFS. Numer. Algoritms 2016, 72, 107–130. [Google Scholar] [CrossRef]
  67. Karageorghis, A.; Lesnic, D.; Marin, L. The method of fundamental solutions for three-dimensional inverse geometric elasticity problems. Comput. Struct. 2016, 166, 51–59. [Google Scholar] [CrossRef] [Green Version]
  68. Alves, C.J.S.; Antunes, P.R.S. The method of fundamental solutions applied to boundary value problems on the surface of a sphere. Comput. Math. Appl. 2018, 75, 2365–2373. [Google Scholar] [CrossRef] [Green Version]
  69. Sarler, B.; Liu, Q.G. Non-singular method of fundamental solutions for two-dimensional isotropic elasticity problems. Comput. Model. Eng. Sci. 2013, 91, 235–266. [Google Scholar]
  70. Gu, Y.; Fan, C.-M.; Xu, R.-P. Localized method of fundamental solutions for large-scale modeling of two-dimensional elasticity problems. Appl. Math. Lett. 2019, 93, 8–14. [Google Scholar] [CrossRef]
  71. Ala, G.; Fasshauer, G.E.; Francomano, E.; Ganci, S.; McCourt, M.J. An augmented MFS approach for brain activity reconstruction. Math. Comput. Simul. 2017, 141, 3–15. [Google Scholar] [CrossRef]
  72. Fan, C.M.; Chen, C.-S.; Monroe, J. The method of fundamental solutions for solving convection-diffusion equations with variable coefficients. Adv. Appl. Math. Mech. 2009, 1, 215. [Google Scholar]
  73. Marin, L.; Lesnic, D. The method of fundamental solutions for the Cauchy problem associated with two-dimensional Helmholtz-type equations. Comput. Struct. 2005, 83, 267–278. [Google Scholar] [CrossRef]
  74. Gu, Y.; Fan, C.-M.; Qu, W.; Wang, F.; Zhang, C. Localized method of fundamental solutions for three-dimensional inhomogeneous elliptic problems: Theory and MATLAB code. Comput. Mech. 2019, 64, 1567–1588. [Google Scholar] [CrossRef]
  75. Gu, Y.; Fan, C.-M.; Qu, W.; Wang, F. Localized method of fundamental solutions for large-scale modelling of three-dimensional anisotropic heat conduction problems—Theory and MATLAB code. Comput. Struct. 2019, 220, 144–155. [Google Scholar] [CrossRef]
Figure 1. Periodic extensions of the function f ( x ) = e x + x 3 , x [ 3 , 3 ] .
Figure 1. Periodic extensions of the function f ( x ) = e x + x 3 , x [ 3 , 3 ] .
Mathematics 10 00296 g001
Figure 2. Comparison of the exact and Fourier-series solutions before (a) and after (b) smoothly extending the original function f ( x ) .
Figure 2. Comparison of the exact and Fourier-series solutions before (a) and after (b) smoothly extending the original function f ( x ) .
Mathematics 10 00296 g002
Figure 3. Distribution of Gauss–Lobatto nodes in [−1,1] × [−1,1].
Figure 3. Distribution of Gauss–Lobatto nodes in [−1,1] × [−1,1].
Mathematics 10 00296 g003
Figure 4. Flowchart for the developed FCM-MFS program.
Figure 4. Flowchart for the developed FCM-MFS program.
Mathematics 10 00296 g004
Figure 5. Geometry of the problem (a) and the distribution of the shifted Gauss–Lobatto nodes (b).
Figure 5. Geometry of the problem (a) and the distribution of the shifted Gauss–Lobatto nodes (b).
Mathematics 10 00296 g005
Figure 6. The profile of the multiply-connected domain, where “O”, “×”, and “” denote the source points (MFS), shifted Gauss–Lobatto nodes and boundary points, respectively.
Figure 6. The profile of the multiply-connected domain, where “O”, “×”, and “” denote the source points (MFS), shifted Gauss–Lobatto nodes and boundary points, respectively.
Mathematics 10 00296 g006
Figure 7. Relative error distribution of the calculated temperatures u ( x 1 , x 2 ) , where the degrees of Fourier polynomials are (a) N 1 = N 2 = 3 and (b) N 1 = N 2 = 8 .
Figure 7. Relative error distribution of the calculated temperatures u ( x 1 , x 2 ) , where the degrees of Fourier polynomials are (a) N 1 = N 2 = 3 and (b) N 1 = N 2 = 8 .
Mathematics 10 00296 g007
Figure 8. Geometry of the problem and the distribution of the shifted Gauss–Lobatto nodes.
Figure 8. Geometry of the problem and the distribution of the shifted Gauss–Lobatto nodes.
Mathematics 10 00296 g008
Figure 9. The profile of the dolphin-shaped solid, where “O” and “” denote the source points (MFS) and boundary points, respectively.
Figure 9. The profile of the dolphin-shaped solid, where “O” and “” denote the source points (MFS) and boundary points, respectively.
Mathematics 10 00296 g009
Figure 10. Relative error curves of u and u / x 1 with respect to different values of non-dimensional wave number λ D .
Figure 10. Relative error curves of u and u / x 1 with respect to different values of non-dimensional wave number λ D .
Mathematics 10 00296 g010
Figure 11. Geometry of the problem (a) and the distribution of the shifted Gauss–Lobatto nodes (b).
Figure 11. Geometry of the problem (a) and the distribution of the shifted Gauss–Lobatto nodes (b).
Mathematics 10 00296 g011
Figure 12. The profile of the five pieces fan blade domain, where “O” and “” denote the source points (MFS) and boundary points, respectively.
Figure 12. The profile of the five pieces fan blade domain, where “O” and “” denote the source points (MFS) and boundary points, respectively.
Mathematics 10 00296 g012
Figure 13. Relative error curves of u and u / x 1 with respect to different values of non-dimensional wave number λ D .
Figure 13. Relative error curves of u and u / x 1 with respect to different values of non-dimensional wave number λ D .
Mathematics 10 00296 g013
Table 1. MATLAB®2018a program for modified Fourier series approximation (14).
Table 1. MATLAB®2018a program for modified Fourier series approximation (14).
  •  clc; clear;
  •  u_exact = @(x) exp(x) + x.^3;
  •  = 10; N_N = -N: N;
  •  arf_arf = 2;
  •  N_collocation = 30; L = 3;
  •  L_extend = arf_arf *L;
  •  x_collocation = linspace(-L, L, N_collocation)’;
  •  = exp(i*N_N.*x_collocation*pi/L_extend);
  •  = u_exact(x_collocation);
  •  arf = A\B;
  •  x_num = linspace(-L, L, 60)’;
  •  Num = real(exp(i.*N_N.*x_num*pi/L_extend)*arf);
  •  plot(x_num, u_exact(x_num),’r-’, x_num, Num,’bo’);
Table 2. Numerical results with respect to various degrees of Fourier polynomials.
Table 2. Numerical results with respect to various degrees of Fourier polynomials.
Degrees of Fourier
Polynomials   ( N 1 = N 2 )
Maximum Absolute
Error   ( E M a x )
Global Error
( E G l o b a l )
CPU-Times (Second)
21.122 × 10−22.014 ×10−040.222
33.604 × 10−046.813 × 10−060.228
41.389 × 10−052.790 × 10−070.235
56.505 × 10−071.249 × 10−080.239
63.038 × 10−086.303 × 10−100.237
71.508 × 10−093.235 × 10−110.238
88.019 × 10−111.696 × 10−120.252
91.747 × 10−113.347 × 10−130.263
102.028 × 10−112.899 × 10−130.275
111.905 × 10−112.974 × 10−130.342
122.104 × 10−113.425 × 10−130.369
132.805 × 10−114.350 × 10−130.392
142.785 × 10−114.902 × 10−130.479
Table 3. Numerical results with respect to various degrees of Fourier polynomials.
Table 3. Numerical results with respect to various degrees of Fourier polynomials.
Degrees of Fourier
Polynomials   ( N 1 = N 2 = N 3 )
Maximum Absolute
Error   ( E M a x )
Global Error
( E G l o b a l )
CPU-Times (Second)
13.551 × 10−038.722 × 10−041.699
22.219 × 10−054.521 × 10−061.883
39.751 × 10−071.842 × 10−071.932
44.368 × 10−088.492 × 10−092.148
52.177 × 10−094.371 × 10−105.464
61.787 × 10−103.667 × 10−1117.471
76.674 × 10−106.694 × 10−1148.544
81.373 × 10−092.002 × 10−10132.663
94.130 × 10−094.884 × 10−10350.438
104.752 × 10−095.329 × 10−10771.604
Table 4. Numerical results with respect to various degrees of Fourier polynomials.
Table 4. Numerical results with respect to various degrees of Fourier polynomials.
Degrees of Fourier
Polynomials   ( N 1 = N 2 = N 3 )
Maximum Absolute
Error   ( E M a x )
Global Error
( E G l o b a l )
CPU-Times (Second)
11.854 × 10−026.593 × 10−042.355
21.646 × 10−035.606 × 10−052.542
31.354 × 10−044.353 × 10−062.736
41.005 × 10−053.139 × 10−073.306
56.777 × 10−072.223 × 10−085.678
64.346 × 10−081.609 × 10−0915.458
73.599 × 10−091.286 × 10−1047.648
82.934 × 10−094.647 × 10−11132.023
95.257 × 10−099.232 × 10−11345.086
105.524 × 10−091.095 × 10−10670.547
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Wang, X.; Wang, J.; Wang, X.; Yu, C. A Pseudo-Spectral Fourier Collocation Method for Inhomogeneous Elliptical Inclusions with Partial Differential Equations. Mathematics 2022, 10, 296. https://doi.org/10.3390/math10030296

AMA Style

Wang X, Wang J, Wang X, Yu C. A Pseudo-Spectral Fourier Collocation Method for Inhomogeneous Elliptical Inclusions with Partial Differential Equations. Mathematics. 2022; 10(3):296. https://doi.org/10.3390/math10030296

Chicago/Turabian Style

Wang, Xiao, Juan Wang, Xin Wang, and Chujun Yu. 2022. "A Pseudo-Spectral Fourier Collocation Method for Inhomogeneous Elliptical Inclusions with Partial Differential Equations" Mathematics 10, no. 3: 296. https://doi.org/10.3390/math10030296

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop