Comparison of local weak and strong form meshless methods for 2-D diffusion equation

https://doi.org/10.1016/j.enganabound.2011.08.009Get rights and content

Abstract

A comparison between weak form meshless local Petrov–Galerkin method (MLPG) and strong form meshless diffuse approximate method (DAM) is performed for the diffusion equation in two dimensions. The shape functions are in both methods obtained by moving least squares (MLS) approximation with the polynomial weight function of the fourth order on the local support domain with 13 closest nodes. The weak form test functions are similar to the MLS weight functions but defined over the square quadrature domain. Implicit timestepping is used. The methods are tested in terms of average and maximum error norms on uniform and non-uniform node arrangements on a square without and with a hole for a Dirichlet jump problem and involvement of Dirichlet and Neumann boundary conditions. The results are compared also to the results of the finite difference and finite element method. It has been found that both meshless methods provide a similar accuracy and the same convergence rate. The advantage of DAM is in simpler numerical implementation and lower computational cost.

Highlights

► Comparison of DAM and MLPG for diffusion equation. ► Implementation of strong and weak form meshless methods on complicated geometry. ► Comparison of meshless methods with standard numerical methods.

Introduction

In recent years, a number of meshless approaches have been developed for the numerical solution of partial differential equations (PDEs) to circumvent the problem of polygonisation encountered in the classical, mesh-based numerical methods, such as the finite difference (FDM) [1] and finite volume methods (FVM) [2], finite element method (FEM) [3] or boundary domain integral method (BDIM) [4]. The “mesh” denotes the connectivity between the corresponding neighboring nodes obtained by some sort of spatial discretization. For non-structured 3-D geometries from real world the mesh construction is one of the most cumbersome step in the entire numerical solution process [5].

Instead of using a mesh, a set of geometrically unconnected nodes can be used for the global domain discretization, resulting in the meshless methods (MLM) (also referred to as mesh-free methods). Initial concepts of MLM were published in the seventies with the smoothed particle hydrodynamics (SPH) [6], based on the combination of weak-form and collocation techniques. Many variants of the meshless methods have been developed later, based on different strong/weak formulations and approximation/interpolation techniques. Diffuse element method (DEM) [7], element-free Galerkin method (EFG) [8], reproducing kernel particle method (RKPM) [9], hp-cloud method [10], partition of unity FEM (PUFEM) [11], meshless Galerkin method using radial basis functions (MGRBF) [12], [13], [14], and others are based on the global weak-form. These methods became widely used in different areas of application. General finite difference method (GFDM) [15], [16] with arbitrary mesh, radial basis function collocation methods (RBFCM) [17] and finite point method (FPM) [18], which are based on collocation, are meshless methods devised from the global strong-form. In spite of the simple formulation, additional strategies are needed for their stabilization [19]. All above MLM methods do not need the mesh for the construction of the trial function but by weak-form methods a simple background mesh is still needed for the weighted residual integration. Detailed information on a variety of meshless methods can be found in the review papers [20], [21].

An alternative formulation of the meshless methods is based on the local weak-form. The integration can now be performed in independent quadrature subdomains, therefore no background mesh is needed. Interpolation [22], [23] or moving least squares (MLS) approximation of nodal parameters from subdomains can be used for the construction of shape functions. Even though the interpolation simplifies the implementation of the essential boundary conditions, there is no general method known to solve the possible singularities of the interpolation coefficient matrix in case of degenerated distribution of nodes or to ensure the continuity of the solution. On the other hand, MLS is less influenced by inappropriate nodal distribution in the support domain because it is over-determined by default. It is an essential approach that guarantees the locality of many meshless methods. The shape functions are built from the weighted contributions of a certain number of the nearest nodes [24], [25]. However, the approximative nature of the MLS trial functions makes it more difficult to impose essential boundary conditions because the trial functions do not pass through the nodal values.

The meshless local Petrov–Galerkin method (MLPG) [26], [27] is the earliest representative of the “truly” meshless methods. Several variants of MLPG differ in the construction of trial functions and the use of different test functions. Note that both of them are local. We will further test the MLPG1, a variant of MLPG [28], which uses the MLS weight function as a test function over a square quadrature subdomain. New methods that combine previous knowledge from FEM and BEM with the MLPG approach have been proposed in [29]. Several convergence issues have been addressed [28], [12], [30], mostly in connection with the structural analysis, and often on smaller systems with a uniform distribution of nodes. The convergence of MLPG methods depends on the MLS approximation accuracy and stability and on the integration accuracy of the local weak-form, all three depending on the distribution of discretization nodes [31], [32]. Further studies have confirmed that MPLG is a general concept that can be applied in various fields of application [33], [34], [35], [36], [37].

An alternative, much simpler local meshless approach, is Diffuse Approximate Method (DAM) [38]. Similar to the MLPG, in the DAM, the local trial functions are constructed through the MLS approach over the local support domain. In the DAM “local” refers to the locality of the MLS trial functions. The conceptual difference is in the treatment of partial differential operations. The DAM uses strong-form and thus no integration is required. All differential operations are performed by straightforward application of the differential operator on the trial function.

To our knowledge this is the first work that compares errors of two meshless local methods MLPG and DAM, with most of method-specific parameters the same, e.g. local subdomain, base functions, nodal distribution. Thus the comparison of the weak and strong solution principles remains the primary focus of the present paper. As a reference, we add also the errors of the two mesh-based methods, FDM and FEM, obtained under the same circumstances. The meshless methods are claimed to perform well in situations with complicated geometry and non-uniform node arrangement resulting in smoother solution than mesh-based methods. However, since these methods are in development, they are in the great majority of numerical simulations [39], [40], [14] demonstrated only on simple geometries with regular node arrangements. Also direct comparisons between different meshless methods are very rarely found in the literature. The main incitement of this paper is in contributing towards a better understanding of the meshless approaches. Respectively, we compare the well known meshless local Petrov–Galerkin method (MLPG), which is based on the week formulation, and the local diffuse approximate method (DAM), based on the strong formulation. The methods are tested in solving the dimensionless diffusion equation. We use uniform and non-uniform node arrangements and simple as well as more complicated geometry for assessment. Errors were evaluated in discretization nodes on a square domain and on a domain with a hole with Dirichlet boundary conditions. Our analysis has taken into account different spatial domain discretization ranging from nodes on a simple orthogonal mesh, through randomized nodes with an approximately even density, to nodes on a fully optimized triangular meshes.

The structure of the paper is as follows. In the next section a short background on the meshless approaches used for the solution of a diffusion equation is given. Then the test conditions are described in more details. In Section 4, the obtained results are presented and analyzed. The paper concludes with the discussion on the obtained results and future work.

Section snippets

Diffusion equation

We compare the numerical solutions, obtained by two meshless methods MLPG1 and DAM, with the standard mesh-based methods FDM and FEM. The tested PDE is a diffusion equation in its 2-D dimensionless form:u,t=u,xx+u,yy,(x,y)Ω,u(x,y,t)=u¯(x,y,t),(x,y)ΓD,u(x,y,t),n=g¯(x,y,t),(x,y)ΓN,u(x,y,t)=u0,t=0,where Ω, ΓD and ΓN stand for interior, Dirichlet boundary and Neumann boundary of the domain, (x,y) are spatial coordinates, t is time, u(x,y,t) is the unknown solution, the part of subscript

Discretization error

Visualized typical shapes of numerical solutions for the described test cases u^(x,y,0.005) are shown in Fig. 3. The solutions are shown for non-regular discretization with irreg=±0.3h¯ and N=40×40=1600 nodes on the domain with no hole (left) and with the same nodal density on the domain with a hole (1528 inner nodes and 193 boundary nodes), which are the spatial discretizations shown in the middle part of Fig. 1. Note that the DAM solutions are defined in nodes only therefore they are shown

Discussion

All methods converge consistently on the unit square domain with no hole and regular discretization (see Fig. 4 upper left) for both test cases: Dirichlet boundary and mixed Dirichlet–Neumann boundaries (denoted in legend graphs by suffix N). In case of the non-regular discretization with irreg=±0.3 and no-hole (Fig. 4 middle left) the convergence rate of the test case with only Dirichlet boundaries remains, however, the test with mixed Dirichlet–Neumann boundaries cannot provide a reasonable

Conclusions

In the present paper we compared two mehsless methods and two classical numerical approaches FDM and FEM. We have selected a weak and a strong form meshless techniques and kept all common parameters and procedures the same for both methods in order to create a reasonable comparison. The well known Dirichlet jump case has been used for the test case on a square domain. The symmetry of the problem was exploited to test the numerical methods on mixed Dirichlet–Neumann boundaries. Complicated

Acknowledgment

The authors acknowledge the financial support from the state budget by the Slovenian Research Agency under Grant no. P2-0095 and P2-0379.

References (52)

  • R. Trobec et al.

    Computational complexity and parallelization of the meshless local Petrov–Galerkin method

    Comput Struct

    (2009)
  • M.N. Özisik

    Finite difference methods in heat transfer

    (1994)
  • S.V. Patankar

    Numerical heat transfer and fluid flow

    (1980)
  • O.C. Zienkiewicz et al.

    The finite element method: its basis and fundamentals

    (2005)
  • P.K. Banerjee

    The boundary element methods in engineering

    (1994)
  • S.J. Owen

    A survey of unstructured mesh generation technology

  • R.A. Gingold et al.

    Smoothed particle hydrodynamics: theory and application to non-spherical stars

    Mon Not Roy Astron Soc

    (1977)
  • B. Nayroles et al.

    Generalizing the finite element method: diffuse approximation and diffuse elements

    Comput Mech

    (1992)
  • T. Belytschko et al.

    Element-free Galerkin methods

    Int J Numer Methods Eng

    (1994)
  • W.K. Liu et al.

    Reproducing kernel and wavelet particle methods for elastic and plastic problems

  • I. Babuška et al.

    The partition of unity method

    Int J Numer Methods Eng

    (1997)
  • H. Wendland

    Error estimate for interpolation by compactly supported radial basis functions of minimal degree

    J Approximation Theory

    (1998)
  • M.S. Ingber et al.

    A mesh free approach using radial basis functions and parallel domain decomposition for solving three-dimensional diffusion equations

    Int J Numer Methods Eng

    (2004)
  • V. Girault

    Theory of a finite difference method on irregular networks

    SIAM J Numer Anal

    (1974)
  • M.D. Buhmann

    Radial basis functions

    (2000)
  • E. Oñate et al.

    A finite point method in computational mechanics. Applications to convective transport and fluid flow

    Int J Numer Methods Eng

    (1996)
  • Cited by (33)

    • An adapted plane waves method for heat conduction problems

      2022, Applied Mathematics and Computation
    • On the meshfree particle methods for fluid-structure interaction problems

      2021, Engineering Analysis with Boundary Elements
    • Weak and strong from meshless methods for linear elastic problem under fretting contact conditions

      2019, Tribology International
      Citation Excerpt :

      The chosen values were default values of the appropriate order of magnitude, such as 1 or 100. The behavior of the methods themselves is well researched and comparisons of the methods on test problems have been performed before [47]. Both methods behave well on the test problems and converge with expected orders of accuracy.

    View all citing articles on Scopus
    View full text