Abstract
This paper addresses the development of the meshless local Petrov–Galerkin (MLPG) method. Two major drawbacks of the MLPG method are high computational cost and difficulty in the imposition of essential boundary conditions. Moving least squares schemes (MLS) is mostly used in the MLPG method and has these two major drawbacks. New MLS variants, such as improved interpolating moving least squares, MLS with orthogonal basis functions, and modified weight function in the MLS have been explored in the literature. These MLS variants have been successfully employed in the other meshless methods. Each MLS variant resolves one of the two drawbacks of the traditional MLS scheme. The improved MLPG methods based on these new MLS schemes have been developed for the potential flow problem, and their performance has been analysed in this paper. The improved MLPG method based on MLS with orthogonal basis function and modified weight function is proposed in this paper; it is approximately 8% faster than the traditional MLPG with MLS, and it also enables the Kronecker delta property at the same convergence rate and accuracy level of the traditional MLPG method.
Access provided by Autonomous University of Puebla. Download conference paper PDF
Similar content being viewed by others
Keywords
1 Introduction
Many meshless methods have been developed to resolve the problem of re-meshing in conventional numerical methods such as FEM and FDM. The meshless local Petrov–Galerkin (MLPG) method seems to be the most successful meshless method among them [1]. It is based on a local weak form, and numerical integration is done over small local domains. A background mesh is generated locally rather than globally which makes the numerical integration relatively easier than by the global weak form-based meshless methods. The meshless shape functions in the MLPG method can be generated by meshless shape function generation schemes such as moving least squares (MLS), radial basis function (RBF), and several other approaches. The MLS scheme is mostly used due to its accuracy; however, it has some drawbacks such as the absence of Kronecker delta property (KDP) is computationally expensive, uses complicated polynomials, and could be instable for particular arrangements of nodal points. There is a motivation to further develop the MLPG method as two major problems remain: high computational cost and difficulty in the imposition of essential boundary conditions.
2 Literature Review and Objective
Many researchers have reported a slightly improved versions of the MLS scheme which overcome the drawbacks of the original MLS scheme. They have tested these MLS variants in element free Galerkin (EFG) method, global boundary node method (GBNM), and some other meshless methods [2]. To enable the KDP, modified weight functions in the MLS scheme have been proposed [3], which closely satisfy the KDP. Another variant, namely interpolating MLS (IMLS) scheme has been proposed in [4, 5], where a singular weight function is used in the IMLS scheme. It exactly satisfies the KDP, however, on the computational nodes, the value of the singular weight function becomes infinite, and thus, the shape functions cannot be calculated. The IMLS is successful only if the evaluation points do not coincide with the computational nodes. This problem is removed in the improved version of IMLS, named the improved interpolation moving least squares (IIMLS) scheme [6]. In IMLS and IIMLS variants, the inverse of a moment matrix has to be calculated in the procedure of computation of shape functions, which makes the scheme computationally expensive. Another variant of the MLS scheme, which is based on the orthogonal weight function (OMLS), has been proposed in [6]. In this scheme, the moment matrix becomes a diagonal matrix that eliminates the calculation for inversion of moment matrix, which saves a substantial part of computational time.
The objective of this paper is to develop the MLPG method based on the above listed improved versions of MLS scheme and test their performance for the potential flow problem. The tested MLPG methods based on the four improved versions of MLS, i.e. MLS_k (MLS with the modified weight function), IIMLS, OMLS, and OMLS_k (OMLS with modified weight function) are named here: MLPG_k, IIMLPG, OMLPG, and OMLPG_k, respectively. In the next section, the MLPG formulation for the Laplace equation, which governs the potential flow, is introduced followed by numerical results, discussion, and conclusion.
3 Materials and Methods
In this section, we first present the procedure of MLS and OMLS approaches followed by the formulation of the MLPG method for the Laplace equation. Detailed information on the procedure of shape function generation by the above listed MLS schemes has been discussed in [2].
3.1 MLS Approximation
The MLS approximation for unknown variable u(x) at an evaluation point x can be written as
where pT(x) is a row vector containing m basis functions and aj(x) are unknown coefficients. The elements of the vector pT(x) in 2D can be written as
There are six basis functions (m = 6) in 2D. Similarly, the vector can be written for 1D and 3D [2]. The coefficient vector a(x) is derived by minimising a weighted residual using l2 norm
where w(x, xi) is a weight function
\( d = \left\| {{\mathbf{x}} - {\mathbf{x}}_{i} } \right\|/r_{w} \) and rw is the radius of the support domain in which the weight function is nonzero. There are ns number of nodes in the support domain, and u(xi) is the nodal parameter of the field variable at the discretization node xi.
The m linear equations are obtained by differentiating Eq. (3) with respect to coefficient vector a(x) and equating it to zero
which can be written in matrix form as
where
is defined as the moment matrix, and
where \(\overline{u}_{i}\) is the value of the field variable at the discretization point xi. The coefficient vector a(x) is obtained from Eq. (6) and inserted in Eq. (1) to obtain the final MLS approximation
Denoting \({{\mathbf{p}}}^{T} {{\mathbf{A}}}^{ - 1} {{\mathbf{B}}}\) by \(\phi\), we obtain the vector of ns MLS shape functions.
Using a vector notation, the partial derivatives of \(\phi\) can be obtained as
where
To enable KDP, the modified weight function used in [2] can be used in MLS.
where
\(\varepsilon\) is a small constant, e.g. 10–5 [2]. The modified weight function makes the MLS approximation very close to having the KDP.
3.2 OMLS Approximation
The weighted orthogonal basis functions were proposed in the MLS approximation [5], which makes the moment matrix a diagonal matrix. Let, f and g be functions of x. The inner product (f · g) is defined as
where w(x, xi) is a weight function. The weighted orthogonal basis function is defined as
where \(\tilde{p}_{i} \left( {{\mathbf{x}}} \right)\) is the new, orthogonal basis function of the OMLS scheme and \(p_{i} \left( {{\mathbf{x}}} \right)\) is the monomial basis function of MLS from Eq. (2). In the present paper, the notations are same as in the MLS procedure, except for \(\tilde{p}\). For example, the first and second elements of the weighted orthogonal basis function (\(\tilde{p}_{i} \left( {{\mathbf{x}}} \right)\)) are given as
In the same way, other weighted orthogonal basis functions for the OMLS can be obtained. The approach for obtaining the OMLS shape functions is the same as in the MLS. The only difference is the diagonal moment matrix (A), which can be written as.
To enable the KDP in the OMLS (OMLS_k), a modified weight function of Eq. (10) can be used.
We further use shifted and scaled polynomials to improve the conditioning of the moment matrix. Its details can be found in [2].
3.3 MLPG Formulation
The Laplace equation governs the potential flow. The global domain and boundary are represented as Ω and Γ, respectively.
u is the potential function, \(\overline{u} \) is the specified value of potential function on the global Essential boundary Γe, \(\overline{q} \) is the specified value on the global Natural boundary Γn, where \({\Gamma }_{e} \cup {\Gamma }_{n} = {\Gamma }\). The weighted residual statement for the above equation can be written as
where ΩQ is a local quadrature domain and ν is the test function. The above equation can be written in the weak form by applying the divergence theorem to reduce the continuity requirement. The equation in the vector notation can be written as
where ΓQ denotes the boundary of ΩQ. We use vector notation, subscript, x denotes derivative with respect to the spatial coordinate. In the first term, the weak MLPG form can be written for three possible types of ΓQ
where ΓQe is a part of ΓQ that intersects Γe, ΓQn is a part of the local domain boundary that intersects Γn, and ΓQin is a part of the local domain boundary that does not intersect \({\Gamma }\). The test function in the MLPG method is chosen so that it vanishes at ΓQin, then the line integral term for ΓQin from Eq. (19) becomes zero. A discretization of the MLPG form leads to the system of algebraic equations given by
where K is the global system matrix (traditionally named the stiffness matrix), u is the vector of unknown field variable, and F is the force vector. The elements of the matrix K and the vector F are as follows:
The indices i and j represent computational node number and number of nodes in the support domain of the node i, respectively. In the MLPG method based on MLS and OMLS, the direct interpolation method is used to impose essential boundary condition, and in the MLPG method based on IIMLS, MLS_k and OMLS_k, the EBC can be directly imposed, in the same way as in the FEM.
Test Function
The MLPG test function is a quadratic function proposed in [7]
where \(a_{Q} \left( {{{\mathbf{x}}}_{i} } \right) = {\upbeta }_{Q} r_{s} \left( {{{\mathbf{x}}}_{i} } \right)\), \(a_{Q} \left( {{{\mathbf{x}}}_{i} } \right)\) is the edge of the local quadrature domain, \({\upbeta }_{Q}\) is the proportionality parameter, and rs(xi) is the radius of the support domain of point xi.
4 Results and Discussion
Four improved MLPG methods have been developed, namely, MLPG_k, IIMLPG, OMLPG, and OMLPG_k based on MLS scheme with modified weight function (MLS_k), improved interpolating MLS (IIMLS), MLS based on orthogonal basis function (OMLS) and OMLS with modified weight function (OMLS_k), respectively. Their performance is analysed and compared with the original MLPG method, based on a standard MLS scheme, regarding accuracy level, convergence behaviour, and computational speed for the potential flow problem. The MLPG computer code is developed on the C/C++ platform. The Laplace equation has been solved on two-dimensional non-rectangular domain with both EBC and Natural boundary conditions as shown in Fig. 1.
Results of the MLPG code have been verified with the exact analytical solution of the problem which is
where u is the potential function, L is the length of the domain, x1 and x2 are spatial coordinates. Two error norms have been used in the current work, absolute l1 norm is defined as
where ui and \(u_{i}^{e}\) are approximate and exact values at the evaluation point i, respectively, and l2 norm is defined as
where N is the number of discretization nodes.
Often, there are two types of grid, discretisation grid, and evaluation grid. The MLPG solution is obtained on discretised grid points and further re-evaluated on evaluation grid points. In Fig. 2, the distribution of 30 discretised and 114 evaluation grid points in the domain are shown.
Tests have been performed for different sets of parameters such as the different number of nodes in the support domain ns, different sizes of the local support domain by varying the proportionality parameter and the different number of Gaussian points in the local integration domain. The quadratic basis has been chosen in the MLS variants as it appears to be an optimum. Results obtained with optimised parameters are shown here, i.e. 3 × 3 Gaussian points in the local integration domain, proportionality parameter βQ = 0.7 and ns = 13. First, the MLPG solution is obtained on the discretised grid, and then it is re-evaluated on the evaluation grid. Numerical experiments have been performed for different sizes of grids.
In Fig. 3, a comparison of analytical solution (top) with numerical MLPG solution (bottom) for 168 discretised and 717 evaluation points respectively is shown. Contour plots of constant potential lines are shown in the domain. Satisfactory result is found even for the coarser grid. The solution contour plots of other MLPG variants are visually similar to the MLPG method; thus, they are not shown.
The computational efficiency, of all the selected MLS variants in the MLPG method, relative to the original MLS, has been tested (Fig. 4). The IIMLS method is the most computationally expensive due to its complicated shape function generation procedure. The OMLS method is the fastest and almost 10% more efficient as the original MLS method. As it does not possess KDP, the use of the modified weight function in the OMLS enables KDP, and based on it, the OMLS_k method is approximately 8% more efficient than the original MLS method. There is the little trade-off between possessing KDP and computational efficiency.
The results of MLPG and OMLPG are identical, and similarly, the results of MLPG_k and OMLPG_k are identical. The OMLPG_k seems to be optimum, and thus, we show only its convergence with the original MLPG method in Fig. 5; however, the IIMLPG method exhibits similar convergence behaviour. The x-axis shows the number of discretised grid points, and the y-axis shows the error. The convergence behaviour of both methods based on the l2 norm (top) and l1 norm (bottom) is shown in Fig. 5. Slight waviness in convergence can be seen, nevertheless, good and almost similar convergence behaviour and good accuracy level are found.
The accuracy level and convergence behaviour of all the selected methods are found almost similar and satisfactory. The IIMLPG possesses KDP; however, it is more computationally expensive than MLPG and MLPG_k. The OMLPG is almost 10% faster than the MLPG method; however, it does not possess KDP. The use of modified weight function in the OMLPG method enables KDP at the cost slight decrease in computational speed. Hence, OMLPG_k seems to be the optimum method which resolves both the problems, imposition of essential boundary conditions and moderate computational speed.
5 Conclusions
Four improved MLPG methods have been developed, i.e. MLPG_k, IIMLPG, OMLPG, and OMLPG_k based on MLS scheme with modified weight function (MLS_k), improved interpolating MLS (IIMLS), MLS based on orthogonal basis function (OMLS) and OMLS with modified weight function (OMLS_k), respectively. Their performance is analysed and compared with the original MLPG method based on accuracy level, convergence behaviour, and computational speed for potential flow problem. The accuracy level and convergence behaviour of all the selected methods are found almost similar and satisfactory. The IIMLPG possesses KDP; however, it is more computationally expensive than MLPG and MLPG_k. The OMLPG is almost 10% faster than the MLPG method; however, it does not possess KDP. The use of the modified weight function in the OMLPG method enables KDP at the cost of slight decrease in the computational speed. Hence, OMLPG_k seems to be the optimum method which resolves both the problems, imposition of essential boundary condition and increase of computational speed.
Abbreviations
- \(\alpha_{Q}\):
-
Edge of the local quadrature domain
- \(\beta_{Q}\):
-
Proportionality parameter
- ϕ:
-
Shape function
- \(\Gamma\):
-
Global boundary
- \(\Gamma_{e}\):
-
Global boundary on which essential boundary condition is applied
- \(\Gamma_{n}\):
-
Global boundary on which natural boundary condition is applied
- ΩQ:
-
Local quadrature domain
- \(\nu\):
-
Test function
- ns:
-
Number of nodes in support domain
- rs:
-
Radius of support domain
- m:
-
Basis function
- u:
-
Potential function
- x:
-
Spatial coordinate
- KDP:
-
Kronecker delta property
- IIMLS:
-
Improved interpolating moving least squares
- MLS:
-
Moving least squares
- MLPG:
-
Mehsless local Petrov Galerkin
- OMLS:
-
Moving least squares with orthogonal basis function
References
Sladek J, Stanak P, Han ZD, Sladek V, Atluri SN (2013) Applications of the MLPG method in engineering & sciences: a review. Comput Model Eng Sci 92(5):423–475
Singh R, Trobec R (2022) Engineering analysis with boundary elements analysis of the MLS variants in the meshless local Petrov-Galerkin method for a solution to the 2D Laplace equation. Eng Anal Bound Elem 135:115–131
Most T, Bucher C (2005) A moving least squares weighting function for the elementfree Galerkin method which almost fulfills essential boundary conditions. Struct Eng Mech 21:315–332
Netuzhylov H (2008) Enforcement of boundary conditions in meshfree methods using interpolating moving least squares. Eng Anal Bound Elem 32(6):512–516
Ren HP, Cheng YM, Zhang W (2009) An improved boundary element-free method (IBEFM) for two-dimensional potential problems. Chinese Phys B 18(10):4065–4073
Wang JF, Sun FX, Cheng YM (2012) An improved interpolating element-free Galerkin method with a nonsingular weight function for two-dimensional potential problems. Chinese Phys B 21(9):090204
Sterk M, Trobec R (2008) Meshless solution of a diffusion equation with parameter optimization and error analysis. Eng Anal Bound Elem 32(7):567–577
Zhu T, Zhang JD, Atluri SN (1998) A local boundary integral equation (LBIE) method in computational mechanics, and ameshless discretization approach. Comput Mech 21(3):223–235
Acknowledgements
The authors acknowledge the financial support from the Slovenian Research Agency under the Grant P2-0095.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2024 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
Singh, R., Trobec, R. (2024). Improved MLPG Method for Potential Flow Problem. In: Singh, K.M., Dutta, S., Subudhi, S., Singh, N.K. (eds) Fluid Mechanics and Fluid Power, Volume 3. FMFP 2022. Lecture Notes in Mechanical Engineering. Springer, Singapore. https://doi.org/10.1007/978-981-99-6343-0_5
Download citation
DOI: https://doi.org/10.1007/978-981-99-6343-0_5
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-99-6342-3
Online ISBN: 978-981-99-6343-0
eBook Packages: EngineeringEngineering (R0)