Next Article in Journal
Convexity, Starlikeness, and Prestarlikeness of Wright Functions
Previous Article in Journal
Mathematical Formulations for Asynchronous Parallel Disassembly Planning of End-of-Life Products
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

The Modified Local Boundary Knots Method for Solution of the Two-Dimensional Advection–Diffusion Equation

Department of Geotechnics, Faculty of Civil Engineering, University of Žilina, 01026 Žilina, Slovakia
*
Author to whom correspondence should be addressed.
Submission received: 15 September 2022 / Revised: 12 October 2022 / Accepted: 14 October 2022 / Published: 18 October 2022
(This article belongs to the Topic Fluid Mechanics)

Abstract

:
This paper deals with a new modification of the local boundary knots method (LBKM), which will allow the irregular node distribution and the arbitrary shape of the solution domain. Unlike previous localizations, it has no requirements on the number of nodes in the support or on the number of virtual points. Owing to the limited number of virtual points, the condition number of boundary knots matrix remains relatively low. The article contains the derivation of the relations of the method for steady and unsteady states and shows its effectiveness in three control examples.

1. Introduction

In recent decades, the significant evolution of meshless methods for solving partial differential equations is evident. The first sign of this trend can be considered the boundary element method (BEM) [1,2], which is not yet an utterly network-free method. However, it has significantly reduced the necessary network of elements. On the other hand, this method required solving the integrals of the fundamental solution, which was sometimes very complicated. The removal of integration is the main advantage of the method of fundamental solution (MFS) [3,4,5], which uses fundamental solutions as basis functions to approximate the solution without needing integration. This property has contributed to the significant expansion of this method and its considerable popularity. However, this method also has its problems, especially related to using a network of fictitious virtual points. The singular boundary method (SBM) [6,7,8] tries to eliminate this disadvantage using real points at the boundary of an area to be identified with fictitious points. At the same time, however, this leads to the need to solve the problems of the singularity of the fundamental solution in case the two points are identical. SBM solves this by introducing the so-called origin intensity factors (OIF) [6,9], which are calculated in a more or less complicated way and are essentially the main weakness of this method. Another way to solve the singularity uses the boundary knot method (BKM) [10,11,12], which uses the general solution of the governing differential equation as the basis function instead of the fundamental solution.
Unfortunately, the condition number of the BKM interpolation matrix is very high, and its inversion is overburdensome. Recently, a local BKM solution [13,14] can help keep the interpolation matrix conditional on a reasonable level, thus enabling even more extensive tasks. Nevertheless, even so, with more local support, problems can arise. These should be removed by the presented modification of the local BKM. It is based partly on the LBIEM principle [15,16] and separates the virtual area around each point from its support. It allows keeping the condition number of the matrix independent of the number of points in the support.
Our article focuses on the solution of the steady and non-steady advection–diffusion problem, which is of great practical importance, e.g., in modeling the transport of substances in a flowing liquid. The first two sections describe the connection between BKM and FC and its application to the advection–diffusion problem in the two-dimensional domain. The following sections present the control examples and compare the results with the exact solution.

2. Governing Equations

The governing equation of the unsteady hydrodynamic dispersion in the domain Ω R 2 with boundary Γ is
R d C ( x , t ) t = D Δ C ( x , t ) v · C ( x , t ) λ C ( x , t ) x Ω ,
where C is the concentration of the tracer, D is the coefficient of dispersion, R d is the retardation factor, λ is the decay coefficient, x are spatial coordinates, v is the vector of velocity, and t is the time.
The usual boundary conditions of Equation (1) are as follows:
-
The Dirichlet boundary conditions, where the value of the concentration C on the part of boundary Γ 1 is prescribed, i.e., C = C 0 ( x , t ) x Γ 1 ;
-
The Neumann boundary conditions, where the flux q 0 with concentration C 0 perpendicular to the boundary Γ 2 is given, i.e.,
D C x i n i = ( C C 0 ) q 0 ( x , t ) x Γ 2 ,
where n i is the i component of the outer normal vector, perpendicular to the boundary Γ 2 .
These are in addition to the whole boundary Γ = Γ 1 Γ 2 . The initial condition is defined by the prescribed value of the concentration at time t 0 = 0 .
All boundary conditions can be simply expressed as
B ( u ) = b 0 ( x , t ) x Γ ,
where B ( u ) is the boundary operator.

3. Numerical Solution

Time-dependent tasks are solved in two main ways when using meshless methods. We can use a time-dependent fundamental or general solution of a differential equation, or approximate the time term using a finite difference (FD) scheme. Since the time-dependent general solution of the advection–diffusion equation is difficult to find, we replaced the time derivative on the left side of (1) with a finite difference scheme.
The backward (Euler) scheme (4) is the simplest and can be defined as
C n + 1 t = 1 Δ t C n + 1 C n .
When we applied the scheme (4) to the presented method, it performed poorly for long time series. Therefore, we are looking for a more suitable and accurate scheme.
The Houbolt method [8,17] is an implicit and unconditionally stable FD scheme that can be obtained by the cubic-Lagrange interpolation of the concentration C from time ( n 2 ) Δ t through to time ( n + 1 ) Δ t . This scheme can be written as
C n + 1 t = 1 6 Δ t 11 C n + 1 18 C n + 9 C n 1 2 C n 2 ,
where Δ t is the time step and the superscripts n − 2, n − 1, n, and n + 1 of u represent the time level. The differential Equation (1) is now changed to
D Δ C n + 1 v · C n + 1 λ C n + 1 = R d 6 Δ t 11 C n + 1 18 C n + 9 C n 1 2 C n 2 .
The simple Euler formula is used in the first two steps to obtain the needed data C n and C n 1 to start the Houboldt scheme ( C n 2 is a given initial solution).
To solve the unsteady diffusion Equation (1), we represent the solution as a sum of homogeneous and particular solutions. The solution of (6) can now be defined as the sum
C n + 1 = C H n + 1 + C P n + 1 ,
where C H n + 1 is a solution of homogeneous differential equation in time level n + 1 that satisfies boundary conditions and C P n + 1 is a particular solution of the non-homogeneous Equation (6). The homogeneous problem has been solved using the modified local boundary knots method (LBKM). The particular solution could be solved using the local method of approximating particular solutions (LMAPS) [9,18].

3.1. Homogeneous Solution

As is usual with most local methods, we assume that the domain Ω is covered by individual points. We find a group of the nearest points for each point i Ω that form the support. In this modified version, in addition to support, we need to define a circular virtual area around each point and regularly spaced virtual points at its boundary (Figure 1). In this area, we now approximate the value of the concentration at a given point i and time interval n + 1 using the general solution of a homogeneous differential equation in the form
C ( x i ) H n + 1 = j = 1 n α j G * ( r i j ) x i Ω ,
where n is the number of virtual points, r i j = x i x j is the distance between point i and virtual point j, and G * is the general solution. For the 2D advection–diffusion differential Equation (6), the non-singular general solution is given as
G * ( r i j ) = 1 2 π exp v · r 2 D I 0 ( μ r i j ) ,
where r i j = x i x j , I 0 is the modified Bessel function of the first kind and
μ = v 2 D 2 + λ D .
The coefficients α j are unknown and we determine them by applying (8) to all virtual points and we obtain
j = 1 n A k j α j = C k k = 1 n ,
where C k are the values of concentrations in virtual points for homogeneous solution.

3.2. Particular Solution

The particular solution C P n + 1 is approximated by radial basis (RBF) functions as
C P n + 1 = j = 1 p β j n + 1 Θ ( r j ) ,
where Θ ( r j ) are radial basis functions, β j n + 1 are unknown coefficients, and p is the number of internal virtual points in the virtual subdomain of the point i. These points can be regularly placed inside the subdomain (see Figure 2). The function Θ is defined as a solution of the following equation [2,8]
D Δ Θ ( r j ) v · Θ ( r j ) λ Θ ( r j ) = φ ( r j ) ,
where φ ( r j ) are also the radial basis functions. There are various possibilities for how to choose these functions [2,19]. Instead of choosing the simple form of the function φ ( r j ) on the right-hand side of (13), we choose the simple expression for the basis functions Θ ( r j ) . By substituting into (13), we can obtain the corresponding formula for the function φ ( r j ) . In our paper, we chose Θ ( r j ) functions as multiquadrics (MQ) and we obtain
Θ ( r ) = r 2 + R P 2 φ ( r ) = D r 2 + 2 R P 2 r 2 + R P 2 3 / 2 r · v r 2 + R P 2 λ r 2 + R P 2 ,
where R P is the shape factor of the particular solution. This factor can be different from the factor R used in (21). According to (6) and (13), we can write
j = 1 p β j n + 1 φ ( r j ) = R d 11 C P n + 1 + C H n + 1 18 C n + 9 C n 1 2 C n 2 6 Δ t .
Matrix A from Equation (11) is now extended to ( n + p ) × ( n + p ) dimension and it has the following structure
A = K L M N ,
where
K k j = G * ( r k j ) k , j = 1 n L k l = Θ ( r k l ) l = 1 p
in the boundary virtual points (see Figure 2) and
M l j = 11 R d 6 Δ t G * ( r l j ) l = 1 p , j = 1 n N l q = φ ( r l q ) 11 R d 6 Δ t Θ ( r l q ) l , q = 1 p
in the internal virtual points (see Figure 2). For the first two time intervals, when we use the Euler scheme, Formula (18) has the form
M l j = R d Δ t G * ( r l j ) l = 1 p , j = 1 n N l q = φ ( r l q ) R d Δ t Θ ( r l q ) l , q = 1 p
Since the virtual points do not correspond to the nodes in the support, we must express C k as a function of the concentrations in the support using some interpolation method. In our article, we have chosen the combination of the weighted radial basis functions and polynomials.
The unknown values C k in virtual source points are approximated in a support of the point i as
C k = l = 1 m β l k R r k l + l = 1 M χ l k p l ( x k , y k ) , k = 1 n ,
where β l k and χ l k are the weights, R r k l are the radial basis functions, and p l are polynomials with degree M-1. M is the order of R , and m is the number of nodes in the support of a reference point. In our paper, the multiquadrics functions [19] have been used
R r k l = R 2 + r k l 2 ,
where R is a so-called shape factor of the multiquadric function. We can determine the weighting coefficients β j k and χ j k in Equation (20) by requiring that this equation is fulfilled at all m support points. Then, by the procedure described, e.g., in [20], we obtain a set of RBF shape functions Φ l k and we can write
C k = l = 1 m Φ l k C l .
Now, we can substitute (22) to the right side of (11) and obtain
j = 1 n A k j α j = l = 1 m Φ l k C l k = 1 n
in matrix notation
A α = Φ C
and we can obtain the unknown coefficients α j as
α = A 1 Φ C .
For a homogeneous (steady) solution without internal virtual points, matrix A has dimensions ( n × n ) and matrix Φ ( n × m ) . The concentration in point i can now be expressed as
C i = G i T α = G i T A 1 Φ C = W i T C ,
where W i is a weight vector of the point i [21]. The vector W can be used to assemble the global system of equations to solve homogeneous problems. This system is sparse and can be defined as
C i = C 0 i i Γ 1 C i j = 1 m W j i u j = 0 i Ω j = 1 m W j i n u j = q 0 i C 0 i i Γ 2 ,
where m is the number of points in the i-th support.
For a non-stationary problem, it is necessary to add a particular solution (see Section 3.2), and we must extend the matrices A and Φ to the dimensions ( n + p ) × ( n + p ) and ( n + p ) × m , respectively. Then, (26) remains formally the same but the weight vector W also consists of two parts
W i = W 1 i W 2 i .
The resulting system of sparse linear equations in the time t n + 1 can be written as
C i n + 1 = C 0 i i Γ 1 C i n + 1 j = 1 m W 1 j i C j n + 1 = R d 6 Δ t j = 1 p W 2 j i 18 C j n 9 C n 1 + 2 C n 2 i Ω j = 1 m W 1 j i n C j n + 1 = q 0 i ( C i n C 0 i ) i Γ 2 .
We can solve these N equations to obtain values of concentration at all nodes in n + 1 time step.
In the case of the steady problem, the algorithm of the method can be clearly described by the following steps:
  • We define the support of each point in the area.
  • We generate virtual points around each point.
  • We prepare RBF shape functions Φ according to (22).
  • We calculate the matrix A according to (11) for each point, except for the points where the Dirichlet boundary condition is prescribed.
  • At these points, we solve the system of linear Equation (26) and obtain the weight vector W.
  • We use this weight vector to construct a sparse global matrix of linear equations according to (27).
  • We multiply the prescribed values of the Dirichlet boundary condition by the corresponding values of the weight vector W and, thus, create the right side.
  • By solving the equations, we obtain the concentration values at the points of the area.
The following style will modify the algorithm, describing the unsteady state: The first three steps will be the same as in the steady problem, and we start with step No. 4.
4.
We generate internal virtual points.
5.
We calculate the matrix A according to (19) for each point, except for the points where the Dirichlet boundary condition is prescribed.
6.
At these points, we solve the system of linear Equation (26) and obtain the weight vector W.
7.
We use this weight vector to construct a sparse global matrix of linear equations according to (29).
8.
We use the initial conditions and create the right side of the global system (29).
9.
We multiply the prescribed values of the Dirichlet boundary condition by the corresponding values of the weight vector W and add the results to the right side.
10.
By solving the global equations, we obtain the concentration values at the points of the area in the next time step.
11.
We can use the results and change the right side of the global system.
12.
We repeat steps No. 9 to 11 in the first two time steps.
13.
We calculate the new matrix A according to (18) and reassemble the global system of equations.
14.
We prepare the system’s right side using all previous values of concentrations.
15.
By solving the global equations, we obtain the concentration values at the points of the area in the next time step.
16.
We repeat steps No. 14 to 15 in all remaining time steps.

4. Results

To test the possibilities of the proposed method, we present the results of several test examples in this chapter. In all these cases, the exact analytical solution is known; therefore, it is possible to compare the error of the numerical method. The root mean squared error (RMSE) and R are employed to evaluate accuracy. These errors are defined as
R M S E = i = 1 N ( C ¯ i C i ) 2 N R = max i = 1 . . . N ( | C ¯ i C i | ) ,
where C ¯ i is the exact value of concentration in point i.
When solving advection–diffusion problems, the Peclet number Pe is often used to assess the effect of advection
P e = v L D .
All examples have been computed on a PC computer with an Intel(R) Core(M) i7-8550U processor (1.8 GHz CPU), a 64-bit Windows 11 operating system, and a 16 GB internal memory. The programming language has been Visual C++ and Eigen library for sparse matrix operations.

4.1. Example No. 1, Steady Case

In the first example, we consider the steady advection–diffusion problem with the Dirichlet boundary conditions [22]. The domain is a unit square with prescribed concentrations
C ( x , 0 ) = 1 e ( x 1 ) v x / D 1 e v x / D
C ( 0 , y ) = 1 e ( y 1 ) v y / D 1 e v y / D .
The dispersion coefficient is D = 1 and the velocity vector is v = ( v x , v y ) and v x = v y . The exact solution to this problem is [22]
C ( x , y ) = 1 e ( x 1 ) v x / D 1 e ( y 1 ) v y / D 1 e v x / D 1 e v y / D .
For the numerical solution of this example, three meshes were used. Two meshes were regular with 21 × 21 and 51 × 51 points. The third mesh was irregular with 5426 points. This example was solved with three different Peclet numbers, namely, Pe = 10, 30, and 50. Table 1 shows the solution RMSEs for all previously mentioned meshes and three different Peclet numbers.
The course of the absolute error in the profile x = y is also interesting (Figure 3). It is clear that for higher Peclet numbers, the most significant error is concentrated in the largest concentration gradient at the upper right corner of the area. In Figure 4, we can see the contours of the absolute error of the solution for a regular network of 51 × 51 points and a Peclet number of 10 and 30.
In this example, we also tested the effect of the number of virtual points n and support points m on the method’s accuracy. It has been shown that increasing the number of virtual points does not lead linearly to reducing errors (Table 2).
As for supporting points, point i itself has been also included in the support. The shape of the support for a regular network has been a square with sides formed by an odd number of points. For an irregular network, the algorithm described in [23] has been used. The principle is to divide the vicinity of point i into identical segments, and the point in the segment closest to point i is taken into support.
As seen from Table 3, there is a certain optimal number of points in the support, and further increasing the number of points will not cause an increase in the accuracy of the method.
We also tested the effect of the virtual area’s radius on the solution’s accuracy. The results are shown in Table 4. We express the radius size as the ratio of the distance from the nearest network point r / d m i n .
With this dependence, it is interesting that there is an optimal radius of the virtual area, which is slightly larger than the minimum distance ( r 1.4 d m i n ).
Since the accuracy of interpolation using multiquadric functions depends on the shape factor R, we also performed tests for the optimal value of this factor. The result is presented in Figure 5, where the minimum error at the value of R 0.47 is obvious.

4.2. Example No. 2, Steady Case with Decay

The second example tests steady advection along with tracer decay. For the test, we used an irregular area with two different networks of points—the sparser one has 3216 nodes and the denser one has 6530 points (Figure 6). The coordinates of the boundary points have been computed according to the following formula [8,24]
r ( θ ) = ( 37 12 cos ( 5 θ ) ) / 25 , 0 θ 2 π { x , y } = { r cos ( θ ) , r sin ( θ ) } .
The internal points in both networks have been generated using the Poisson disc algorithm [25,26].
The dispersion and decay coefficients are D = 5 and λ = 4 , respectively. The vector of velocity is constant, v = v x , v y = ( 1 , 1 ) . Dirichlet boundary conditions are prescribed at the boundary Γ as
C 0 ( x ) = e x + e y x Γ .
The exact solution is
C ( x ) = e x + e y x Ω .
Similar to the first example, we present a comparison of the accuracy of our modified method for different numbers of virtual points n. We can see from Table 5 that this influence of the number of virtual points on accuracy is negligible.
Table 6 shows the dependence of the accuracy of the method on the number of points in the support. The situation is now different; the number of supporting points m affects the accuracy significantly. The results for both networks used are different.
The error decreases with the increasing number of supporting points in the first sparser network. In the second denser one, the initial decrease is followed by an increase in the error; thus, we can find the optimal number of points in the support (see also Figure 7 and Table 6). The slight deterioration in accuracy when increasing the number of supporting points is probably since the criterion according to [23] at higher numbers leads to an unsatisfactory selection. In these cases, it would probably be better to return to a simple choice based on the distance from point i.
The distribution of absolute errors in the area for both solved networks is presented in Figure 8.
As in the previous example, we can also see in Table 7 that it is possible to increase the accuracy of the solution by approximately one order of magnitude by slightly increasing the radius of the virtual area to r 1.4 d m i n .
Further, in this example, we tested the shape factor’s influence on the method’s accuracy. It turns out that the accuracy increases slightly with the increasing value of R (Figure 9).

4.3. Example No. 3, Unsteady Case

The third example is the usual case used for testing of the unsteady problem [27,28,29]. The rectangular domain [ 0 , 20 ] × [ 0 , 2 ] has the initial concentration C 0 = 0 and the Dirichlet boundary conditions C ( 0 , y ) = 1 and C ( 20 , y ) = 0 . The Neumann boundary conditions are prescribed as q ( 0 , x ) = q ( 2 , x ) = 0 . The exact solution is (see e.g., [30])
C ( x , t ) = C 0 2 e r f c ( z 1 ) + exp v x x D e r f c ( z 2 ) ,
where
z 1 = x v x t 4 D t z 2 = x + v x t 4 D t .
The horizontal velocity v x = 1 and three diffusion coefficients D = 0.1 , D = 0.05 , and D = 0.02 have been used. Then, the Peclet numbers (31) are Pe = 200, Pe = 400, and Pe = 1000, respectively. The RBFs with shape functions φ ( r ) according to (14) are used in this example. Two regular meshes of 101 × 11 and 161 × 17 points have been used. The total simulation time is t = 10 .
Figure 10 presents the concentration for both networks in the profile y = 1 . Figure 11 then represents the course of the absolute error in this profile. All these results are plotted for times t = 2, 4, 6, 8, and 10.
Table 8 clearly shows that the values of RMSE and R decrease when increasing the density of the grid.
In this example, because it is an unsteady problem, we focused primarily on testing the influence of the time step size and the values of the two shape factors R and R P on the accuracy of the solution.
Figure 12 shows a comparison of the RMSE and R errors using the various sizes of time steps and Pe = 200. It is clear from Figure 12 that there is an optimal time step for every mesh. Its further refinement only reduces the accuracy of the solution and increases the CPU time.
Similar to the previous examples, we monitored the dependence of the accuracy of the solution on the shape factor R of the RBF interpolation for the third example. We also tested the influence of the R P factor, which is used for the particular solution approximation. These dependencies are plotted in Figure 13 and Figure 14. It can be seen that initially, the error of the method decreases to an insignificant minimum and then the values of RMSE and R stabilize.
The same rectangular domain with the same two different point meshes as well as boundary conditions is used to test the effect of tracer decay; the decay coefficient values λ = 0.1 and λ = 0.3 are entered. The exact solution is then given as [30]
C ( x , t ) = C 0 2 exp ( v x x 2 D ) exp ( x β ) e r f c ( z 1 ) + exp ( x β ) e r f c ( z 2 ) ,
where
β = v x 2 4 D 2 + λ D
and z 1 and z 2 are now
z 1 = x t v x 2 + 4 λ D 4 D t z 2 = x + t v x 2 + 4 λ D 4 D t .
The course of exact concentration and LBKM results in the profile y = 2 at time t = 2, 4, 6, 8, and 10 can be seen in Figure 15 for the two different values of the decay coefficient. Figure 16 then shows the course of the absolute errors at the same time intervals.
Table 9 shows the RMSE values for λ = 0.1 and 0.3 for both used point networks.

5. Discussion and Conclusions

In the article, we presented a modification of the local knots method applied to the solution of the advection–diffusion equation. Unlike the previous localizations of the node method, this method uses a regular circular virtual region with evenly spaced virtual points. The boundary knots method is applied to this area. In the next step, this area is connected to the support of the resolved node. Although this procedure is a bit more complicated than the previous methods, it has some significant advantages.

5.1. Condition Numbers

Probably the most significant advantage concerns the reduction of the order of the boundary knots matrix and, thus, also the decrease of the condition number of this matrix. It is possible owing to the fact that the virtual points number is small. It also remains constant for all nodes. Therefore, it was possible to work with this matrix in the presented method using only simple algorithms for solving linear equations or matrix inversion. In addition, it is possible (especially for regular networks of nodes) to design this virtual region equal for all nodes and, thus, to calculate the inverse matrix of the method only once.
In our method, we can distinguish three different condition numbers (CN): local, global, and RBF. The local CN is the condition number of the local matrix A (16). The global CN is the condition number of the global system of equations and is significantly lower than the local one. The RBF condition number refers to the interpolation matrix of radial basic functions (see Table 10). Table 11 contains condition numbers of unsteady case (Example No. 3).
The local CN depends substantially on the number of virtual boundary points (see Figure 17). As the number of these points does not influence the precision of our method, we recommend using a maximum of 8 points.

5.2. Convergence Rate

For all three examples, we performed tests of the speed of convergence of the method. For the purposes of these tests, we have additionally added one more sparse network for each example. For the first example, the grid had 16 × 16 points; in the second example, it was an irregular grid with 4305 points; and in the third example, we used a grid of 81 × 9 points. Figure 18 shows the dependency of RMSE on the number of points. To demonstrate the convergence rate (CR) of the present method, the following formula is introduced
C R = log ( R M S E 1 ) log ( R M S E 2 ) log ( N 1 ) log ( N 2 ) .
Table 12 contains values of RMSE and convergence rates for examples of the steady case and Table 13 for those of the unsteady transport.
From the values in Table 12, we can conclude that with a regular network of points, the order of the method is slightly above the value of one, and with an irregular network, it is about 30% higher, which may be caused by the different geometric configuration of the irregular networks. In the unsteady state, we see that Houbolt’s method confirms its effectiveness in this case as well, and the values of the rate of convergence are above two.
In the further development of the method, a logical step will be to extend it to 3D tasks or non-linear problems.

Author Contributions

Conceptualization and methodology, K.K. and J.M.; software, J.M.; validation, K.K. and J.M.; project administration, J.M. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by Vedecká Grantová Agentúra MŠVVaŠ SR a SAV (VEGA) grant number 1-0879-21.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
CNCondition Number
CRConvergence Rate
MDPIMultidisciplinary Digital Publishing Institute
LBKMLocal Boundary Knots Method
LMAPSLocal Method of Approximating Particular Solutions
PePeclet number
RBFRadial Basis Functions
RMSERoot Mean Square Error
R Maximum Absolute Error

References

  1. Brebbia, C.A.; Telles, J.C.F.; Wrobel, L.C. Boundary Element Techniques; Springer: Berlin, Germany; New York, NY, USA, 1984. [Google Scholar]
  2. Partridge, P.W.; Brebbia, C.A.; Wrobel, L.C. The Dual Reciprocity Boundary Element Method; CM Publications: Southampton, UK, 1992. [Google Scholar]
  3. Golberg, M. The method of fundamental solutions for Poisson’s equations. Eng. Anal. Bound. Elem. 1995, 16, 205–213. [Google Scholar] [CrossRef]
  4. Golberg, M.A.; Chen, C.S. The method of fundamental solutions for potential, Helmholtz and diffusion problems. In Boundary Integral Methods-Numerical and Mathematical Aspects; Golberg, M.A., Ed.; CM Publications: Southampton, UK, 1998; pp. 103–176. [Google Scholar]
  5. Chen, C.S.; Karageorghis, A. On choosing the location of the sources in the MFS. Numer. Algorithms 2016, 72, 107–130. [Google Scholar] [CrossRef]
  6. Chen, W.; Fu, Z.; Wei, X. Potential problems by singular boundary method satisfying moment condition. CMES-Comput. Model. Eng. Sci. 2009, 54, 65–85. [Google Scholar]
  7. Chen, W.; Gu, Y. Recent Advances on Singular Boundary Method. In Proceedings of the Joint International Workshop for Trefftz Method, Kaohsiung, Taiwan, 15–18 March 2011; Volume 4, pp. 543–558. [Google Scholar]
  8. Kovářík, K.; Mužík, J.; Bulko, R.; Sitányiová, D. Singular boundary method using dual reciprocity for two-dimensional transient diffusion. Eng. Anal. Bound. Elem. 2017, 83, 256–264. [Google Scholar] [CrossRef]
  9. Kovářík, K.; Mužík, J.; Masarovičová, S.; Sitányiová, D. Regularized singular boundary method for 3D potential flow. Eng. Anal. Bound. Elem. 2018, 95, 85–92. [Google Scholar] [CrossRef]
  10. Hon, Y.C.; Chen, W. Boundary knot method for 2D and 3D Helmholtz and convection–diffusion problems under complicated geometry. Int. J. Numer. Method Eng. 2003, 56, 1931–1948. [Google Scholar] [CrossRef] [Green Version]
  11. Chen, W.; Shen, L.J.; Shen, Z.J.; Yuan, G.W. Boundary knot method for Poisson equations. Eng. Anal. Bound. Elem. 2005, 29, 756–760. [Google Scholar] [CrossRef]
  12. Mužík, J. Boundary Knot Method for Convection-diffusion Problems. Procedia Eng. 2015, 111, 582–588. [Google Scholar] [CrossRef] [Green Version]
  13. 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]
  14. Yue, X.; Wang, F.; Li, P.W.; Fan, C.M. Local non-singular knot method for large-scale computation of acoustic problems in complicated geometries. Comput. Math. Appl. 2021, 84, 128–143. [Google Scholar] [CrossRef]
  15. Zhu, T.; Zhang, J.D.; Atluri, S. A local boundary integral equation (LBIE) method in computational mechanics, and a meshless discretization approach. Comput. Mech. 1998, 21, 223–235. [Google Scholar] [CrossRef]
  16. Sellountos, E.J.; Sequeira, A. An advanced meshless LBIE/RBF method for solving two-dimensional incompressible fluid flows. Comput. Mech. 2008, 41, 617–631. [Google Scholar] [CrossRef]
  17. Young, D.; Gu, M.; Fan, C. The time-marching method of fundamental solutions for wave equations. Eng. Anal. Bound. Elem. 2009, 33, 1411–1425. [Google Scholar] [CrossRef]
  18. Kovářík, K.; Mužík, J.; Bulko, R.; Sitányiová, D. Local singular boundary method for two-dimensional steady and unsteady potential flow. Eng. Anal. Bound. Elem. 2019, 108, 168–178. [Google Scholar] [CrossRef]
  19. Golberg, M.; Chen, C.; Bowman, H. Some recent results and proposals for the use of radial basis functions in the BEM. Eng. Anal. Bound. Elem. 1999, 23, 285–296. [Google Scholar] [CrossRef]
  20. Kovářík, K.; Mužík, J.; Mahmood, M.S. A meshless solution of two dimensional unsteady flow. Eng. Anal. Bound. Elem. 2012, 36, 738–743. [Google Scholar] [CrossRef]
  21. Stevens, D.; Power, H.; Meng, C.Y.; Howard, D.; Cliffe, K.A. An alternative local collocation strategy for high-convergence meshless PDE solutions, using radial basis functions. J. Comput. Phys. 2013, 294, 52–75. [Google Scholar] [CrossRef]
  22. Reddy, J.; Martinez, M. A dual mesh finite domain method for steady-state convection–diffusion problems. Comput. Fluids 2021, 214, 104760. [Google Scholar] [CrossRef]
  23. Kovářík, K.; Mužík, J. A meshless solution for two dimensional density-driven groundwater flow. Eng. Anal. Bound. Elem. 2013, 37, 187–196. [Google Scholar] [CrossRef]
  24. Wang, F.; Chen, W. Accurate empirical formulas for the evaluation of origin intensity factor in singular boundary method using time-dependent diffusion fundamental solution. Int. J. Heat Mass Transf. 2016, 103, 360–369. [Google Scholar] [CrossRef]
  25. Dunbar, D.; Humphreys, G. A spatial data structure for fast Poisson-disk sample generation. ACM Trans. Graph. 2006, 25, 503–508. [Google Scholar] [CrossRef]
  26. Wei, L.Y. Parallel Poisson Disk Sampling. ACM Trans. Graph. 2008, 27, 1–9. [Google Scholar]
  27. Singh, K.M.; Tanaka, M. Dual reciprocity boundary element analysis of transient advection-diffusion. Int. J. Numer. Method Heat Fluid Flow 2003, 13, 633–646. [Google Scholar] [CrossRef]
  28. Kovářík, K. Numerical simulation of groundwater flow and pollution transport using the dual reciprocity and RBF method. Communications 2010, 12, 5–10. [Google Scholar] [CrossRef]
  29. Wang, F.; Chen, W.; Tadeu, A.; Correia, C.G. Singular boundary method for transient convection–diffusion problems with time-dependent fundamental solution. Int. J. Heat Mass Transf. 2017, 114, 1126–1134. [Google Scholar] [CrossRef]
  30. Bear, J. Dynamics of Fluids in Porous Media; American Elsevier Publishing Co.: New York, NY, USA, 1972. [Google Scholar]
Figure 1. Virtual and supporting nodes in the domain Ω .
Figure 1. Virtual and supporting nodes in the domain Ω .
Mathematics 10 03855 g001
Figure 2. Virtual subdomain around the node i.
Figure 2. Virtual subdomain around the node i.
Mathematics 10 03855 g002
Figure 3. Example No. 1—irregular mesh, absolute errors in the profile x = y.
Figure 3. Example No. 1—irregular mesh, absolute errors in the profile x = y.
Mathematics 10 03855 g003
Figure 4. Example No. 1—contours of absolute errors, (a) Pe = 10, (b) Pe = 30.
Figure 4. Example No. 1—contours of absolute errors, (a) Pe = 10, (b) Pe = 30.
Mathematics 10 03855 g004
Figure 5. Example No. 1—RMSE and R as functions of the shape factor R.
Figure 5. Example No. 1—RMSE and R as functions of the shape factor R.
Mathematics 10 03855 g005
Figure 6. Example No. 2—irregular meshes: (a) 3216 points, (b) 6530 points.
Figure 6. Example No. 2—irregular meshes: (a) 3216 points, (b) 6530 points.
Mathematics 10 03855 g006
Figure 7. Example No. 2—course of RMSE and R for different numbers of supporting points.
Figure 7. Example No. 2—course of RMSE and R for different numbers of supporting points.
Mathematics 10 03855 g007
Figure 8. Example No. 2—contours of absolute errors, (a) 3216 points, (b) 6530 points.
Figure 8. Example No. 2—contours of absolute errors, (a) 3216 points, (b) 6530 points.
Mathematics 10 03855 g008
Figure 9. Example No. 2—RMSE and R as functions of the shape factor R.
Figure 9. Example No. 2—RMSE and R as functions of the shape factor R.
Mathematics 10 03855 g009
Figure 10. Example No. 3—concentration profiles for Pe = 1000: (a) Grid 101 × 11 , (b) Grid 161 × 17 .
Figure 10. Example No. 3—concentration profiles for Pe = 1000: (a) Grid 101 × 11 , (b) Grid 161 × 17 .
Mathematics 10 03855 g010
Figure 11. Example No. 3—absolute errors for Pe = 1000, (a) Grid 101 × 11 , (b) Grid 161 × 17 .
Figure 11. Example No. 3—absolute errors for Pe = 1000, (a) Grid 101 × 11 , (b) Grid 161 × 17 .
Mathematics 10 03855 g011
Figure 12. Example No. 3—RMSE and R as functions of the time step Δ t.
Figure 12. Example No. 3—RMSE and R as functions of the time step Δ t.
Mathematics 10 03855 g012
Figure 13. Example No. 3—RMSE and R as functions of the shape factor R.
Figure 13. Example No. 3—RMSE and R as functions of the shape factor R.
Mathematics 10 03855 g013
Figure 14. Example No. 3—RMSE and R as functions of the shape factor R P .
Figure 14. Example No. 3—RMSE and R as functions of the shape factor R P .
Mathematics 10 03855 g014
Figure 15. Example No. 3—concentration profiles for Pe = 1000, mesh 161 × 33: (a) λ = 0.1 , (b) λ = 0.1 .
Figure 15. Example No. 3—concentration profiles for Pe = 1000, mesh 161 × 33: (a) λ = 0.1 , (b) λ = 0.1 .
Mathematics 10 03855 g015
Figure 16. Example No. 3—absolute errors for Pe = 1000, mesh 161 × 33: (a) λ = 0.1 , (b) λ = 0.5 .
Figure 16. Example No. 3—absolute errors for Pe = 1000, mesh 161 × 33: (a) λ = 0.1 , (b) λ = 0.5 .
Mathematics 10 03855 g016
Figure 17. Example No. 1—connection of the local condition number and number of virtual points.
Figure 17. Example No. 1—connection of the local condition number and number of virtual points.
Mathematics 10 03855 g017
Figure 18. Connection of the RMSE and number of points: (a) steady solution, (b) unsteady solution.
Figure 18. Connection of the RMSE and number of points: (a) steady solution, (b) unsteady solution.
Mathematics 10 03855 g018
Table 1. Example No. 1—comparison of RMSE and R for different meshes and Pe values.
Table 1. Example No. 1—comparison of RMSE and R for different meshes and Pe values.
PeMesh 21 × 21 Mesh 51 × 51 Irregular Mesh
RMSE R RMSE R RMSE R
109.1395 × 10 4 2.7817 × 10 3 1.4861 × 10 4 4.4874 × 10 4 9.5202 × 10 5 4.0198 × 10 4
306.0220 × 10 3 3.5671 × 10 2 9.3171 × 10 4 4.6437 × 10 3 7.3789 × 10 4 5.1634 × 10 3
501.3147 × 10 2 9.4959 × 10 2 2.1142 × 10 3 1.3600 × 10 2 1.8039 × 10 3 2.0027 × 10 2
Table 2. Example No. 1—comparison of RMSE and R for different number of virtual points.
Table 2. Example No. 1—comparison of RMSE and R for different number of virtual points.
nRegular Mesh 51 × 51Irregular Mesh
RMSE R RMSE R
61.4862 × 10 4 4.4850 × 10 4 9.6585 × 10 5 4.0193 × 10 4
81.4861 × 10 4 4.4789 × 10 4 9.6592 × 10 5 4.0197 × 10 4
121.4783 × 10 4 4.4629 × 10 4 9.6779 × 10 5 4.0168 × 10 4
161.4884 × 10 4 4.4984 × 10 4 9.6639 × 10 5 4.0198 × 10 4
Table 3. Example No. 1—comparison of RMSE and R for different numbers of supporting points.
Table 3. Example No. 1—comparison of RMSE and R for different numbers of supporting points.
mRegular Mesh 51 × 51mIrregular Mesh
RMSE R RMSE R
91.4860 × 10 4 4.4792 × 10 4 51.5962 × 10 2 5.4667 × 10 2
258.1076 × 10 5 2.5550 × 10 4 79.5201 × 10 5 4.0198 × 10 4
491.0941 × 10 4 3.7766 × 10 4 132.0092 × 10 5 5.3685 × 10 5
813.4093 × 10 4 1.5674 × 10 3 191.6715 × 10 5 2.0910 × 10 4
Table 4. Example No. 1—comparison of RMSE and R for different radius of the virtual area.
Table 4. Example No. 1—comparison of RMSE and R for different radius of the virtual area.
r / d min Regular Mesh 51 × 51Irregular Mesh
RMSE R RMSE R
0.64.3285 × 10 4 1.3045 × 10 3 1.6194 × 10 4 4.9429 × 10 4
0.83.0831 × 10 4 9.2960 × 10 4 1.3312 × 10 4 4.4993 × 10 4
1.01.4861 × 10 4 4.4789 × 10 4 9.6592 × 10 5 4.0197 × 10 4
1.24.6538 × 10 5 1.4011 × 10 4 5.6234 × 10 5 3.4336 × 10 4
1.42.7695 × 10 4 8.3469 × 10 4 4.0517 × 10 5 2.7423 × 10 4
1.65.4251 × 10 4 1.6342 × 10 3 8.7447 × 10 5 3.1388 × 10 4
Table 5. Example No. 2—comparison of RMSE and R for a different number of virtual points.
Table 5. Example No. 2—comparison of RMSE and R for a different number of virtual points.
n3216 Points6530 Points
RMSE R RMSE R
61.0489 × 10 4 1.8703 × 10 3 3.3324 × 10 5 6.8178 × 10 5
88.0688 × 10 5 3.6588 × 10 4 3.6236 × 10 5 7.3594 × 10 5
108.5035 × 10 5 8.2199 × 10 4 3.4279 × 10 5 7.0187 × 10 5
168.2809 × 10 5 7.0545 × 10 4 3.5056 × 10 5 7.1266 × 10 5
Table 6. Example No. 2—comparison of RMSE and R for different numbers of supporting points.
Table 6. Example No. 2—comparison of RMSE and R for different numbers of supporting points.
m3216 Points6530 Points
RMSE R RMSE R
73.57 × 10 4 2.56 × 10 3 1.87 × 10 4 3.79 × 10 4
96.13 × 10 4 2.68 × 10 3 2.55 × 10 4 1.54 × 10 3
138.07 × 10 5 3.66 × 10 4 3.62 × 10 5 7.36 × 10 5
191.01 × 10 5 3.47 × 10 5 3.85 × 10 6 7.96 × 10 6
253.25 × 10 6 2.29 × 10 5 8.01 × 10 6 6.65 × 10 5
317.63 × 10 7 1.61 × 10 5 3.23 × 10 6 6.09 × 10 5
Table 7. Example No. 2—comparison of RMSE and R for different radii of virtual area.
Table 7. Example No. 2—comparison of RMSE and R for different radii of virtual area.
r / d min 3216 Points6530 Points
RMSE R RMSE R
0.61.8708 × 10 5 3.7636 × 10 5 5.4936 × 10 6 1.1633 × 10 5
0.81.5363 × 10 5 5.6583 × 10 5 4.9468 × 10 6 1.0110 × 10 5
1.01.0094 × 10 5 3.4681 × 10 5 3.8808 × 10 6 8.0037 × 10 6
1.24.1740 × 10 6 3.5152 × 10 5 2.6612 × 10 6 5.7076 × 10 6
1.42.7209 × 10 6 5.8848 × 10 5 1.2998 × 10 6 4.9287 × 10 6
1.65.8256 × 10 6 8.4728 × 10 5 2.0681 × 10 6 2.1252 × 10 5
Table 8. Example No. 3—RMSE and R for different Peclet numbers.
Table 8. Example No. 3—RMSE and R for different Peclet numbers.
PeMesh 101 × 11 Mesh 161 × 17
RMSE R RMSE R
2004.6244 × 10 3 1.4834 × 10 2 8.3319 × 10 4 3.3870 × 10 3
4001.0440 × 10 2 3.9621 × 10 2 1.2844 × 10 3 5.6586 × 10 3
10002.2662 × 10 2 1.0775 × 10 1 4.1826 × 10 3 2.1395 × 10 2
Table 9. Example No. 3—comparison of RMSE for Pe = 1000, λ = 0.1 , λ = 0.3 , and different meshes.
Table 9. Example No. 3—comparison of RMSE for Pe = 1000, λ = 0.1 , λ = 0.3 , and different meshes.
Time λ = 0.1 λ = 0.3
Mesh 101 × 11 Mesh 161 × 17 Mesh 101 × 11 Mesh 161 × 17
28.0725 × 10 3 4.0627 × 10 3 5.9374 × 10 3 2.7769 × 10 3
48.0044 × 10 3 2.3824 × 10 3 4.5891 × 10 3 1.2482 × 10 3
68.8779 × 10 3 1.8665 × 10 3 4.0667 × 10 3 9.8041 × 10 4
89.2876 × 10 3 1.7438 × 10 3 3.6041 × 10 3 9.4922 × 10 4
109.2755 × 10 3 1.7132 × 10 3 3.2915 × 10 3 9.4261 × 10 4
Table 10. Example No. 1—values of condition numbers, eight virtual boundary points.
Table 10. Example No. 1—values of condition numbers, eight virtual boundary points.
PeLocalGlobalRBF
104.9691 × 10 7 5.0797 × 10 2 7.5114 × 10 5
302.6072 × 10 5 3.0437 × 10 2 7.5114 × 10 5
504.6362 × 10 5 2.4988 × 10 2 7.5114 × 10 5
Table 11. Example No. 3—values of condition numbers, eight virtual boundary and six internal points.
Table 11. Example No. 3—values of condition numbers, eight virtual boundary and six internal points.
MeshLocalGlobalRBF
101 × 116.9144 × 10 5 1.4806 × 10 3 1.8830 × 10 7
167 × 167.9764 × 10 6 3.8825 × 10 3 2.8587 × 10 7
Table 12. Example Nos. 1 and 2—values of RMSE and the convergence rates (CR).
Table 12. Example Nos. 1 and 2—values of RMSE and the convergence rates (CR).
No. of PointsRMSE, Example No. 1No. of PointsRMSE, Example No. 2
Pe = 10Pe = 30Pe = 50
2561.619 × 10 3 1.060 × 10 2 2.162 × 10 2 32161.023 × 10 5
4419.140 × 10 4 6.022 × 10 3 1.315 × 10 2 43058.390 × 10 6
26011.486 × 10 4 9.317 × 10 4 2.114 × 10 3 65303.881 × 10 6
CR1.0241.0521.030CR1.368
Table 13. Example No. 3—values of RMSE and the convergence rates (CR).
Table 13. Example No. 3—values of RMSE and the convergence rates (CR).
No. of PointsPe = 20Pe = 400Pe = 1000
7291.150 × 10 2 2.425 × 10 2 2.630 × 10 1
11114.624 × 10 3 1.044 × 10 2 2.266 × 10 2
27378.332 × 10 4 1.284 × 10 3 4.183 × 10 3
CR1.9842.2213.130
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Kovářík, K.; Mužík, J. The Modified Local Boundary Knots Method for Solution of the Two-Dimensional Advection–Diffusion Equation. Mathematics 2022, 10, 3855. https://0-doi-org.brum.beds.ac.uk/10.3390/math10203855

AMA Style

Kovářík K, Mužík J. The Modified Local Boundary Knots Method for Solution of the Two-Dimensional Advection–Diffusion Equation. Mathematics. 2022; 10(20):3855. https://0-doi-org.brum.beds.ac.uk/10.3390/math10203855

Chicago/Turabian Style

Kovářík, Karel, and Juraj Mužík. 2022. "The Modified Local Boundary Knots Method for Solution of the Two-Dimensional Advection–Diffusion Equation" Mathematics 10, no. 20: 3855. https://0-doi-org.brum.beds.ac.uk/10.3390/math10203855

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