Abstract
We introduce a meshless method derived by considering the time variable as a spatial variable without the need to extend further conditions to the solution of linear and non-linear parabolic PDEs. The method is based on a moving least squares method, more precisely, the generalized finite difference method (GFDM), which allows us to select well-conditioned stars. Several 2D and 3D examples, including the time variable, are shown for both regular and irregular node distributions. The results are compared with explicit GFDM both in terms of errors and execution time.
MSC:
65M06
| Zum Raum wird hier die Zeit | ||||
| (Here, time becomes space) | ||||
| (Richard Wagner, Parsifal) |
1. Introduction
A wide variety of physical phenomena are studied mathematically through evolution partial differential equations. The difference between parabolic evolution equations and elliptic equations is important, both from the point of view of mathematical analysis and numerical analysis. In this article, we are interested in the numerical treatment of parabolic PDEs. In particular, we focus on the numerical solution at a time T of the general parabolic PDE
with the boundary and initial condition
Here, is a bounded domain of or , and the non-linear operator
or, if ,
Throughout the paper, we assume enough regularity of the functions and in order to provide classical solutions.
The time evolution of the modeled physical problem creates the need to study the propagation of the numerical error. This, in some cases, produces consistent numerical schemes that generate unstable solutions. The most common way to solve parabolic partial differential equations numerically is to use a different discretisation for the time and space derivatives. For instance,
is frequently used for the time derivative, which entails a study of the stability of the numerical method.
In this paper, we introduce a meshless method (see [1,2,3,4] for a detailed description of meshless methods) for resolving parabolic PDEs that consists of using the formulas given by the generalized finite difference method to discretise all the derivatives of the equation, including the time derivative. The researchers Jensen [5], Liszka and Orkisz [6], Orkisz [7] and Perrone and Kao [8] have contributed to the development of the GFDM, as well as Benito, Gavete and Ureña [9] who studied the influence of several factors and developed the h-adaptive method for the solution of the PDEs in 2D. During the last two decades, the method has attracted growing attention, not only because of its applications, but also, for instance, because some improvements to the one dimensional method have been made [10].
By considering the time variable as a spatial variable in a one-dimensional problem (or two-dimensional), we can find the 2D (or 3D) Taylor series of the solution, in the variables x and t (or and t), and at any nodal point a desired discretization, without adding any extra conditions. In this way, we avoid the stability issues related to the time evolution of the problem. We transform problem (1) and (2) into an elliptic problem with boundary conditions (see Figure 1).
Figure 1.
Computational domain of the problem, where the green nodes belongs to and , and the blue nodes correspond to .The solution of the original problem corresponds to the solution at (green nodes).
Our procedure consists of defining a GFD star at each point of and and solving the elliptic problem without adding any extra condition or applying any other numerical method. A pictorial definition of the selection of the stars is given in Figure 2.
Figure 2.
On the left, the distance criterion to choose the nodes of a star in the interior of where we choose the eight nearest nodes. On the right, the star is centered at a node of (the star is centered at the black point, the yellow points belong to and the red ones to ).
For this reason, we have called this approach the “space time cloud method (STCM)”. The previous discretization of the computational domain for parabolic PDEs is not new. Several meshless numerical methods have recently been applied, such as a kernel-based method [11], the space–time diffuse approximation meshless method [12], the Trefftz method [13], the localized radial basis function collocation method [14] and the multiquadratic method with the radial basis collocation method [15]. In addition, the GFDM has been applied to solve space-time problems in [16,17,18]. The novelty of the STCM method is to use only the generalized finite difference formulas to solve a time-dependent problem (parabolic in this case), which makes it unnecessary to study the stability and the calculation of the time step in the explicit case, or not to have to solve for each time step a system of equations in the implicit case. With the solution of a single system, the problem is solved. The advantage of STCM over the explicit GFDM is essentially not having to study the stability and, therefore, not having to calculate the time step and perform the calculations with that value. In addition, the advantage over FEM is that it solves the equation without the need for integration, it does not require mesh and the boundary conditions are simpler to implement, and, with respect to FDM, its main advantage is that irregular meshes can be used.
The structure of the paper is as follows. In Section 2, we introduce the meshless space time cloud method and derive the discretization of the Equations (1)–(3) for two and three dimensions. We provide several examples where we compare the present method with the standard GFDM applied to the original problem. Finally, some conclusions are drawn.
2. Space Time Cloud Method (STCM)
We introduce the STCM for the two dimensional case (that is, ). Let be a domain and
a discretization of with n points (see Figure 1). We designate each point of the discretization P as a point. with the central node and , is a set of points located near . The selection of the points for each star can be made according to criteria as four quadrants or distance (see [9]).
With the previous notation, and , define . Let us put and then, by the Taylor series expansion, we have
for , where is the remainder of the second order. Let us use the notations
and
By truncation in (4) up to the second order, we can obtain a second-order approximation of , which we shall denote . Then, we define the weighted residual function:
where are positive weighting functions as [19]. We minimize the norm given by (5) with respect to the partial derivatives by considering the following linear system
where
and
In [20], the authors proved that is a positive definite matrix and that the local truncation error is . Then, admits a unique Cholesty decomposition, and, if we define
we have
Thus, Equation (6) can be rewritten as
We denote the derivatives as follows
or, written in vectorial form,
where and stand for
fulfilling
Since the method allows us to choose different numbers of points per star, greater or equal to 6, and the selection of these nodes can be made by different criteria (distance, quadrant, octant), in order to obtain well-conditioned stars, the STCM allows us to solve the problem without the requirement of adding further conditions.
Similarly for the 3D case, the approximation derivatives are:
or, written in the vectorial form,
where and stand for
fulfilling
For the 3D case, the number of nodes per star should be greater or equal to 10 in order to obtain well-conditioned stars.
Remark 1.
The consistency of the GFD formulae was proved in [20] for the 2D case (which in our case is and ) and for the 3D case (for our case, and ) in [21]. Moreover, the rate of convergence is quadratic, which is clear from the cited papers.
3. Numerical Results
In the present section, we give several numerical results obtained by solving the parabolic equations in 2D and 3D using STCM. In order to show the applicability of the present method, we compare the present method with the results obtained previously in the literature. In the following numerical examples, the distance criterion has been used, the number of nodes per star is eight plus the central node and the weighting function is the inverse of the distance cubed, with being the distance from node i to the central node of the star. More precisely, we compare the errors and execution times of the STCM and the GFDM. In all the cases under consideration, the accuracy of the STCM and the GFDM are computed using the expressions:
where Z is the number of points in .
3.1. 2D Problems
For the two-dimensional examples (one space variable and one temporal variable), we use the clouds of points of Figure 3 and Figure 4.
Figure 3.
First cloud of points for the 2D examples (Cloud 1).
Figure 4.
Second cloud of points for the 2D examples (Cloud 2).
3.1.1. Example 1
We consider the equation
with initial and boundary conditions:
and whose exact solution is
Table 1 shows the errors and execution times for the resolution of Example 1 in the clouds of Figure 3 and Figure 4, respectively, using STCM and GFDM explicitly (with step size s for cloud 1 and for cloud 2). It can be seen that the error norms are very similar and the execution times of the STCM are slightly higher.
3.1.2. Example 2
For our second 2D examples, we choose
together with
The error norms, run times, and a comparison between the STCM and the explicit GFDM (step sizes are the same as in the previous example as the meshes are the same), for this second example in the clouds of points of Figure 3 and Figure 4, are depicted in Table 2. We observe that the errors are rather similar and the execution times are smaller for the STCM for a great number of points.
It is clear from the examples that, as the number of nodes increases, the execution times are shorter in the STCM than in the explicit GFDM, which is logical, since, as the time step decreases (in order to guarantee the stability conditions), the explicit GFDM has to make more iterations.
3.2. 3D Problems
To continue our study, we provide examples in the three-dimensional setting. We use both regular and irregular clouds of points, seen in Figure 5, Figure 6, Figure 7 and Figure 8. The black points denote the boundary nodes, the blue ones denote the interior nodes and the green points denote the boundary nodes. In the following numerical examples, the distance criterion has been used, the number of nodes per star is 24 plus the central node and the weighting function is the inverse of the distance squared, with being the distance from node i to the central node of the star.
Figure 5.
First regular cloud of points for the 3D examples (Cloud 3).
Figure 6.
Second regular cloud of points for the 3D examples (Cloud 4).
Figure 7.
First irregular cloud of points for the 3D examples (Cloud 5).
Figure 8.
Second irregular cloud of points for the 3D examples (Cloud 6).
3.2.1. Example 3
Consider the following equation
with the initial condition
By a direct check, the exact solution is (the Dirichlet boundary conditions are chosen so that the equation is fulfilled)
We depict in Table 3 the error norms and run times for this third example. We found that for similar errors, the STCM consumes slightly less time than the explicit GFDM (where we use s for cloud 3, s for cloud 4, s for cloud 5 and s for cloud 6). For this third example, we have also compared the STCM with the implicit scheme given by the GFDM formulae (with step size s for cloud 5 and s for cloud 6). In this case, the discretisation of the derivatives is
3.2.2. Example 4
Finally, we solve the equation
with initial data
and exact solution
Again, in Table 4, we can observe that, even though the errors are rather similar for both methods, the STCM achieves better execution times.
4. Conclusions
The STCM allows the solution of the numerically parabolic PDEs in an efficient way without the need for any additional condition to the well-defined problem (initial and boundary conditions). In the various examples treated, both in 2D and 3D, linear and non-linear, in regular and irregular domains, the numerical results show that the errors are similar to those obtained with the explicit GFDM. The run times are also similar, but the numerical examples show that the time consumption of the STCM is smaller if the number of points in the computational domain is high.
The potential of the STCM consists of the elimination of the time step constraint forced by the stability of the explicit method, which is a real advance in the resolution of linear and non-linear parabolic PDEs.
Author Contributions
Formal analysis, A.M.V.; Methodology, F.U.; Project administration, J.J.B.; Resources, J.J.B.; Software, Á.G.; Writing—original draft, M.N. All authors have read and agreed to the published version of the manuscript.
Funding
This research received no external funding.
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Data Availability Statement
Not applicable.
Acknowledgments
The authors acknowledge the support of the Escuela Técnica Superior de Ingenieros Industriales (UNED) of Spain, project 2021-IFC02. This work is also partially supported by the Project MTM2017-42907-P from MICINN (Spain).
Conflicts of Interest
The authors declare no conflict of interest.
References
- Li, S.; Liu, W.K. Meshfree Particle Methods; Springer Science & Business Media: Berlin/Heidelberg, Germany, 2007. [Google Scholar]
- Nguyen, V.P.; Rabczuk, T.; Bordas, S.; Duflot, M. Meshless methods: A review and computer implementation aspects. Math. Comput. Simul. 2008, 79, 763–813. [Google Scholar] [CrossRef] [Scilit]
- Huang, T.H.; Wei, H.; Chen, J.S.; Hillman, M.C. RKPM2D: An open-source implementation of nodally integrated reproducing kernel particle method for solving partial differential equations. Comput. Part. Mech. 2020, 7, 393–433. [Google Scholar] [CrossRef] [Scilit]
- Zhang, C.; Rezavand, M.; Zhu, Y.; Yu, Y.; Wu, D.; Zhang, W.; Wang, J.; Hu, X. SPHinXsys: An open-source multi-physics and multi-resolution library based on smoothed particle hydrodynamics. Comput. Phys. Commun. 2021, 267, 108066. [Google Scholar] [CrossRef] [Scilit]
- Jensen, P.S. Finite difference technique for variable grids. Comput. Struct. 1972, 2, 17–29. [Google Scholar] [CrossRef] [Scilit]
- Liszka, T.; Orkisz, J. The finite difference method at arbitrary irregular grids and its application in applied mechanics. Comput. Struct. 1980, 11, 83–95. [Google Scholar] [CrossRef] [Scilit]
- Orkisz, J. Finite difference method (Part, III). In Handbook of Computational Solid Mechanics; Kleiber, M., Ed.; Spriger: Berlin/Heidelberg, Germany, 1998. [Google Scholar]
- Perrone, N.; Kao, R. A general finite difference method for arbitrary meshes. Comput. Struct. 1975, 5, 45–58. [Google Scholar] [CrossRef] [Scilit]
- Benito, J.J.; Ureña, F.; Gavete, L. Influence of several factors in the generalized finite difference method. Appl. Math. Model. 2001, 25, 1039–1053. [Google Scholar] [CrossRef] [Scilit]
- Albuquerque-Ferreira, A.C.; Ureña, M.; Ramos, H. The generalized finite difference method with third-and fourth-order approximations and treatment of ill-conditioned stars. Eng. Anal. Bound. Elem. 2021, 127, 29–39. [Google Scholar] [CrossRef] [Scilit]
- Uddin, M.; Ali, H. The space-time kernel-based numerical method for Burgers’ equations. Mathematics 2018, 6, 212. [Google Scholar] [CrossRef] [Scilit]
- Sophy, T.; Silva, A.D.; Kribèche, A.; Sadat, H. An alternative space-time meshless method for solving transient heat transfer problems with high discontinuous moving sources. Numer. Heat Transf. Part B Fundam. 2016, 69, 377–388. [Google Scholar] [CrossRef] [Scilit]
- Ku, C.-Y.; Liu, C.-Y.; Yeih, W.; Liu, C.-S.; Fan, C.-M. A novel space-time meshless method for solving the backward heat conduction problem. Int. J. Heat Mass Transf. 2019, 130, 109–122. [Google Scholar] [CrossRef] [Scilit]
- Hamaidi, M.; Naji, A.; Charafi, A. Space-time localized radial basis function collocation method for solving parabolic and hyperbolic equations. Eng. Anal. Bound. Elem. 2016, 67, 152–163. [Google Scholar] [CrossRef] [Scilit]
- Li, Z.; Mao, X.Z. Global space-time multiquadric method for inverse heat conduction problem. Int. J. Numer. Methods Eng. 2011, 85, 355–379. [Google Scholar] [CrossRef] [Scilit]
- Lei, J.; Wei, X.; Wang, Q.; Gu, Y.; Fan, C.-M. A novel space-time generalized FDM for dynamic coupled thermoelasticity problems in heterogeneous plates. Arch. Appl. Mech. 2022, 92, 287–307. [Google Scholar] [CrossRef] [Scilit]
- Li, P.-W. Space-time generalized finite difference nonlinear model for solving unsteady Burgers’ equations. Appl. Math. Lett. 2021, 114, 106896. [Google Scholar] [CrossRef] [Scilit]
- 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] [Scilit]
- Ureña, F.; Gavete, L.; Garcia, A.; Benito, J.J.; Vargas, A.M. Solving second order non-linear parabolic PDEs using generalized finite difference method (GFDM). J. Comput. Appl. Math. 2019, 354, 221–241. [Google Scholar] [CrossRef] [Scilit]
- Gavete, L.; Ureña, F.; Benito, J.J.; Garcia, A.; Ureña, M.; Salete, E. Solving second order non-linear elliptic partial differential equations using generalized finite difference method. J. Comput. Appl. Math. 2017, 318, 378–387. [Google Scholar] [CrossRef] [Scilit]
- Ureña, F.; Gavete, L.; Garcia, A.; Benito, J.J.; Vargas, A.M. Non-linear Fokker-Planck equation solved with generalized finite differences in 2D and 3D. Appl. Math. Comput. 2020, 368, 124801. [Google Scholar] [CrossRef] [Scilit]
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2022 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).







