1 Introduction

In the last two decades, the application of the RBF technique as a mesh-free scheme has become popular for the numerical solution of partial differential equations (PDE). The fundamental concept of RBF-based numerical approximation of differential operators originates from the research works [41, 42], and a large number of papers have since contributed to the continuous development of the RBF-FD method [8, 17, 19, 34, 36, 37, 43] and dealt with the approximative solution of numerous BVPs and initial-BVPs appearing in science and engineering [6, 25, 27, 38]. The main advantage of the advanced FD methods based on the RBFs is that they are well-suited for arbitrarily-scattered (non-structured) point layouts. Furthermore the stencil topology can be chosen in different ways, thereby avoiding the fixed rectangular grid-like point layout considered as a restriction of the standard numerical methods applied to the solution of PDEs [21].

During the application of the RBF-FD scheme, the so-called differential weights are locally computed at a certain evaluation point within a stencil, using an RBF-based approximation. In this case, the stencil is constructed by a fixed number of points that are closest to the evaluation point under consideration. Accordingly, we start off by computing the differential weights at each point of the point-cloud generated on the considered computational domain, before storing them for the global assembling procedure—which is the next important step in solving the PDEs. Thus, the weight computations are performed as the pre-processing step of the solution algorithm. Since this computation can be carried out independently for all evaluation points, this part of the RBF-FD method is well parallelizable.

The RBFs can be divided into two main groups: piecewise- and infinitely smooth RBFs. The latter ones—such as the Gaussian-, the multiquadratic and inverse quadratic and inverse multiquadratic RBFs—provide spectral convergence behavior for smooth BVPs. However, they are not independent of a so-called shape parameter, which controls the gradient of the RBFs, thereby having significant effect on the condition number of the RBF matrices and thus on the solution accuracy. The optimal value of the shape parameter has to be found for all evaluation points during the weight computation in order to achieve numerical stability and accuracy [5, 7, 10, 12, 22]. The RBF coefficient matrix conditioning problem can be overcome by a stabilization algorithm using small shape parameter values [20, 26] or by applying RBFs with a hybrid kernel [29].

The piecewise smooth RBFs (such as the PHS) have a great advantage over the infinitely smooth RBFs, since they are not dependent on a shape parameter and since their usage can yield higher-order accuracy—though only with algebraic h-convergence characteristics. Additionally, the piecewise smooth RBFs perform well for the approximation of the differential operators near to the boundaries where the stencil geometry becomes half-sided, i.e., the deterioration of the numerical approximation accuracy due to the Runge phenomenon can be avoided, see [1,2,3,4].

In accordance with the above-mentioned beneficial properties of the piecewise smooth RBFs, in this paper, the PHS RBFs supplemented with polynomial functions will be introduced as the basis function space in order to develop an advanced FD scheme for the numerical solution of 1D and 2D BVPs in linear elasticity. The robust convergence behavior of the FD method based on this type of augmented basis function spaces has been verified in [1, 2, 4, 14]. Furthermore, it has been experienced in numerical studies presented in [4, 14] that the highest polynomial degree specifies the convergence rate, while the PHS RBF order has a significant influence only on the achievable accuracy. One order in the convergence rate is lost in the case of the numerical approximation of the first (spatial) derivatives, while two orders are lost for approximating the second derivative. Thus, the convergence rate depends on the order of the differential operator [4, 5, 13, 14, 30].

Interestingly, the increase in the stencil size does not lead to better accuracy and faster convergence when a fixed higher-degree polynomial basis is used. However, if lower-degree polynomials are applied and their degree is kept fixed, increasing the stencil size can yield improved accuracy while the convergence order remains unchanged [2]. This type of independence on the stencil size motivated the construction of the p-adaptive PHS RBF-FD method. Here the desired accuracy is achieved by locally increasing the polynomial degree and adapting the required stencil size, see [30], for which the non-uniform point-cloud is generated by the code NodeLab [28].

Adaptive strategies such as h-, p- and hp-refinement are popular for finite element methods (FEMs), see [11, 35] for example. The basic idea of the adaptive schemes is to introduce an error indicator function that guides the non-uniform h- and/or p-refinement until the prescribed stopping criteria are met. Although the FEM-based adaptive strategies are more prevalent than the FD method-based ones, the construction of the adaptive point refinement procedure is much easier for RBF-FD schemes than the implementation of the adaptive mesh refinement process in the case of FEMs. Residual error- and Zienkiewicz-Zhu type indicator-based adaptive RBF-FD algorithms are also developed using the Gaussian RBF, for example in [23, 24, 31]. It is worth emphasizing here that, in the case of h-adaptive point refinement, the DistMesh code is one of the most suitable for fast generation of 2D point distributions with variable density [15, 31, 33].

In accordance with the above findings, the aim of this paper is to develop a residual-based h-adaptive point refinement algorithm for 1D BVPs, which is based on the odd m-order PHS supplemented with additional polynomials. Firstly, the computational efficiency of the approach will be investigated on smooth and non-smooth 1D BVPs, using the uniform- and the adaptive point-cloud refinement schemes. Secondly, the h-convergence behavior of the PHS RBF-FD method complemented with polynomials will be tested on smooth and non-smooth 2D BVPs in linear elasticity, applying uniform, quasi-uniform and h-adaptive point distributions.

The paper is organized as follows. In Sect. 2, the basic system of second-order differential equations and the related Dirichlet- and Neumann-type boundary conditions are summarized for 2D linear elasticity problems. Section 3 briefly presents the procedure to evaluate the local RBF matrix and to compute the related differentiation weights from the local linear algebraic system of equations using PHS combined with polynomials. In Sect. 4, a comprehensive overview of the applied stencil geometry is given, discussing how to treat the Neumann-type boundary conditions with the aid of ghost points. Furthermore, a new adaptive point-cloud refinement strategy is presented. In Sect. 5, the h-convergence behavior of the PHS RBF-FD method is studied for 1D BVPs, applying uniform as well as the proposed adaptive point-cloud refinement. Afterwards, the PHS RBF-FD method is also investigated for 2D BVPs of linear elasticity—applying the uniform, the quasi-uniform, and the newly-developed h-adaptive point-cloud refinements. Section 6 summarizes the results and suggests possible extensions of the presented approach.

2 Basic system of differential equations in plane elasticity

The second-order partial differential equations for the 2D elastostatic problem are expressed in a Cartesian coordinate frame as

(1)

where \(u_x\), \(u_y\), and \(f_x\), \(f_y\) are the coordinates of the displacement- and body force density vectors \(\varvec{u}=u_x\,\varvec{i}+u_y\,\varvec{j}\) and \(\varvec{f}=f_x\,\varvec{i}+f_y\,\varvec{j}\). Further, \(\mu \) and \(\lambda \) denote the Lamé coefficients, while \(\mathcal {L}_{\triangle }\) as well as \(\mathcal {L}_{xx}\), \(\mathcal {L}_{yy}\), and \(\mathcal {L}_{xy}\) are, respectively, the Laplacian as well as the pure and mixed 2D second-order partial differential operators—defined as

$$\begin{aligned}{} & {} \mathcal {L}_{xx}:=\frac{\partial ^2}{\partial x^2}\,,\nonumber \\{} & {} \mathcal {L}_{yy}:=\frac{\partial ^2}{\partial y^2}\,,\nonumber \\{} & {} \mathcal {L}_{xy}:=\frac{\partial ^2}{\partial x\,\partial y}\,,\nonumber \\{} & {} \mathcal {L}_{\triangle }:=\mathcal {L}_{xx}+\mathcal {L}_{yy} \, . \end{aligned}$$
(2)

The coefficient matrix in Eq. (1) can be rearranged in the form

(3)

The Neumann-type boundary conditions prescribed on the surface part \(S_p\subset \partial \Omega \) are expressed in terms of the first-order partial derivatives of the displacements \(u_x\) and \(u_y\):

$$\begin{aligned} \begin{array}{rl} &{}\displaystyle p_x=n_x\left( 2\mu +\lambda \right) \mathcal {L}_x u_x+n_y\,\mu \,\mathcal {L}_x u_y\\ {} &{}\qquad \quad +n_x\,\lambda \,\mathcal {L}_y u_y+n_y\,\mu \,\mathcal {L}_y u_x\\ &{}\displaystyle p_y=n_y\left( 2\mu +\lambda \right) \mathcal {L}_y u_y+n_x\,\mu \,\mathcal {L}_y u_x\\ {} &{}\qquad \quad +n_y\,\lambda \,\mathcal {L}_x u_x+n_x\,\mu \,\mathcal {L}_x u_y \end{array}\quad \textrm{on}\;S_p\,,\end{aligned}$$
(4)

using the operator-notations

$$\begin{aligned} \mathcal {L}_x:=\frac{\partial }{\partial x}\,,\qquad \mathcal {L}_y:=\frac{\partial }{\partial y}\,. \end{aligned}$$
(5)

Here, \(\partial \Omega =S_p\cup S_u\) is the boundary of the body for which \(S_p\cap S_u=\emptyset \) is valid, while \(n_x\) and \(n_y\) denote the coordinates of the outward unit normal vector \(\varvec{n}=n_x\,\varvec{i}+n_y\,\varvec{j}\) to \(\partial \Omega \). The Dirichlet-type boundary condition

$$\begin{aligned} \varvec{u}= \tilde{\varvec{u}}=\tilde{u}_x\,\varvec{i}+\tilde{u}_y\,\varvec{j} \qquad \textrm{on}\;S_u\end{aligned}$$

is prescribed on the remaining boundary part of the solid body \(S_u\subset \partial \Omega \). The Lamé coefficient \(\lambda \) corresponds to

$$\begin{aligned} \frac{E\nu }{(1+\nu )(1-2\nu )}\quad \text {if}&\quad \text {plane strain} \\\frac{E\nu }{(1+\nu )(1-\nu )}\quad \text {if}&\quad \text {plane stress} \end{aligned}$$

conditions are considered. Here, \(\lambda \) converges to \(\infty \), as \(\nu \) tends to \(\frac{1}{2}\) in the plain strain case, i.e., this model problem will be prone to volumetric locking effects.

3 Computing the differentiation weights using the augmented PHS

In this section, our aim is to approximate the first- and second-order partial derivative operators \(\mathcal {L}\) introduced in Eqs. (2) and (5) at the evaluation point \(\varvec{r}_e\). The derivative \(\mathcal {L}u\) at \(\varvec{r}_e\) is approximated by a linear combination of the function values \(u_i=u(\varvec{r}_i)\) considered at the distinct points \(\varvec{r}_i\in \mathbb {R}^d\) along with the evaluation point \(\varvec{r}_e\), where \(i=1,\ldots ,n\) and d is the space dimension. These points are used to construct the local stencil. Accordingly, we seek the weights \(w_i\) as the coefficients of \(u_i\) in such a way that

$$\begin{aligned} \left[ \mathcal {L}u(\varvec{r})\right] _{\varvec{r} =\varvec{r}_e}\approx \sum _{i=1}^nw_i\,u_i\,, \end{aligned}$$
(6)

in which n and \(w_i\) are called the stencil size and the differentiation weights, respectively. In order to determine \(w_i\), we start with a linear combination

$$\begin{aligned}{} & {} s(\varvec{r})=\sum _{j=1}^nk_j\,\phi (\Vert \varvec{r}-\varvec{r}_j\Vert )+\sum _{j=1}^{\left( {\begin{array}{c}p+d\\ p\end{array}}\right) }\gamma _j\,P_j(\varvec{r})\end{aligned}$$
(7)

along with the constraints

$$\begin{aligned} \sum _{i=1}^nk_i\,P_j(\varvec{r}_i)=0\,,\quad j=1,\ldots ,\left( {\begin{array}{c}p+d\\ p\end{array}}\right) \,, \end{aligned}$$
(8)

where \(P_j(\varvec{r}_i)\) denotes multivariate polynomials up to degree p and \(\phi (\Vert \varvec{r}-\varvec{r}_i\Vert )\) are the RBFs localized at the points \(\varvec{r}_i\), [1, 13, 16, 30]. Here, \(\Vert \varvec{r}-\varvec{r}_i\Vert =\Vert \varvec{r}-\varvec{r}_i\Vert _2\) denotes the Euclidean norm on \(\mathbb {R}^d\). For the mathematical background of the related quadratic constrained minimization problem, we refer to [2, 4].

To derive the equation for the differentiation weights we apply the interpolant (7) to the function values \(u_i=u(\varvec{r}_i)\) and consider the \(\left( {\begin{array}{c}p+d\\ p\end{array}}\right) \) constraints (8). Next, we use again the interpolant (7) but now for the approximation of the derivative \(\left[ \mathcal {L}u(\varvec{r})\right] _{\varvec{r}=\varvec{r}_e}\) at the evaluation point \(\varvec{r}_e\). Then we eliminate the function values \(u_i\) with the assumption that \(k_i\) and \(\gamma _i\) are non-zero coefficients arriving at the following linear equation system

$$\begin{aligned} \left[ \begin{array}{cc} \underline{\textbf{K}}&{}\underline{\textbf{Q}} \\ \underline{\textbf{Q}}^T&{}\underline{\textbf{O}} \end{array}\right] \left[ \begin{array}{c} \underline{\textbf{w}}\\ \underline{\textbf{v}} \end{array}\right] =\left[ \begin{array}{c} \underline{\varvec{\ell }} \\ \underline{\textbf{q}} \end{array}\right] \end{aligned}$$
(9)

which can be solved for the weights \(w_i\) and \(v_j\), for details see [1, 14]. In Eq. (9)

$$\begin{aligned}{} & {} \underline{\textbf{K}}=\left[ \begin{array}{ccc} \phi (\Vert \varvec{r}_1-\varvec{r}_1\Vert _2)&{} \cdots &{}\phi (\Vert \varvec{r}_1-\varvec{r}_n\Vert _2)\\ \vdots &{} \ddots &{} \vdots \\ \phi (\Vert \varvec{r}_n-\varvec{r}_1\Vert _2) &{} \cdots &{}\phi (\Vert \varvec{r}_n-\varvec{r}_n\Vert _2)\\ \end{array}\right] \quad \text {and}\\{} & {} \underline{\textbf{Q}}=\left[ \begin{array}{ccc} P_1(\varvec{r}_1)&{} \cdots &{} P_{\left( {\begin{array}{c}p+d\\ p\end{array}}\right) }(\varvec{r}_1)\\ \vdots &{} \ddots &{} \vdots \\ P_1(\varvec{r}_n) &{} \cdots &{}P_{\left( {\begin{array}{c}p+d\\ p\end{array}}\right) }(\varvec{r}_n)\\ \end{array}\right] \end{aligned}$$

represent the symmetric RBF matrix \(\underline{\textbf{K}}\in \mathbb {R}^{n\times n}\) and the rectangular polynomial matrix \(\underline{\textbf{Q}}\in \mathbb {R}^{n\times \left( {\begin{array}{c}p+d\\ p\end{array}}\right) }\), respectively, while

$$\begin{aligned} \underline{\varvec{\ell }}=\left[ \begin{array}{ccc} \left[ \mathcal {L}\phi (\Vert \textbf{r}-\textbf{r}_1\Vert _2)\right] _{\textbf{r}_e}&\ldots&\left[ \mathcal {L}\phi (\Vert \textbf{r}-\textbf{r}_n\Vert _2)\right] _{\textbf{r}_e} \end{array}\right] ^T\end{aligned}$$

and

$$\begin{aligned} \underline{\textbf{q}}=\left[ \begin{array}{ccc} \left[ \mathcal {L}P_1\right] _{\textbf{r}_e}&{}\cdots &{}\left[ \mathcal {L}P_{\left( {\begin{array}{c}p+d\\ p\end{array}}\right) }\right] _{\textbf{r}_e} \end{array}\right] ^T \end{aligned}$$

are the differentiation vectors \(\underline{\varvec{\ell }}\in \mathbb {R}^n\) and \(\underline{\textbf{q}}\in \mathbb {R}^{\left( {\begin{array}{c}p+d\\ p\end{array}}\right) }\), as well as

$$\begin{aligned} \underline{\textbf{w}}=\left[ \begin{array}{ccc} w_1&\cdots&w_n\end{array}\right] ^T \quad \text {and}\quad \underline{\textbf{v}}=\left[ \begin{array}{ccc} v_1&{}\cdots &{}v_{\left( {\begin{array}{c}p+d\\ p\end{array}}\right) }\end{array}\right] ^T \end{aligned}$$

denote the weight vectors \(\underline{\textbf{w}}\in \mathbb {R}^n\) and \(\underline{\textbf{v}}\in \mathbb {R}^{\left( {\begin{array}{c}p+d\\ p\end{array}}\right) }\). Please note that the weights \(\underline{\textbf{v}}\) are omitted, for details see [1, 14, 16].

The widely-used RBFs are classified into two main groups: the infinitely and piecewise smooth RBFs, see the tables in [1, 13, 16]. The infinitely smooth RBFs depend on the shape parameter \(\epsilon \), influencing the gradient of the RBFs and thereby controlling the condition number of the coefficient matrix in Eq. (9) and thus the accuracy of the result for the differentiation weights. On the contrary, the piecewise smooth PHS is independent of \(\epsilon \) and provides higher convergence rates under node refinement, without the use of a stable algorithm to invert the RBF matrix, see [1,2,3,4, 18]. This is the main reason and motivation why the PHS is chosen for the numerical computation of the weights, supplemented with a polynomial basis for the sake of further stabilization and faster convergence.

The RBF-FD methods are well-applicable if the coefficient matrix appearing in Eq. (9) exhibits non-singular behavior, i.e., the system (9) has a unique solution for the choice of the odd m-order PHS

$$\begin{aligned} \phi \left[ r(x,y)\right] =r^m=\sqrt{\left[ \left( x-x_e\right) ^2+\left( y-y_e\right) ^2\right] ^m}\,, \end{aligned}$$
(10)

in which \(\varvec{r}_e=x_e\,\varvec{i}+y_e\,\varvec{j}\) represents the Cartesian coordinates of the evaluation point of the stencil, supplemented with polynomials up to degree p where

$$\begin{aligned} m\le 2p+1\,.\end{aligned}$$
(11)

If, for instance, \(m=3\) is chosen, the degree of the polynomial basis has to be at least 1—or degree p has to be at least 2 for \(m=5\), see [1]. The stencil size n is chosen to be approximately twice the number of the polynomial basis functions \(\left( {\begin{array}{c}p+d\\ p\end{array}}\right) \), which is \(p+1\) in 1D and \((p+2)(p+1)/2\) in the 2D case. The increase in stencil size n has only small or no influence on the accuracy and convergence rate for a fixed polynomial degree p, see [4].

4 Solution procedure

4.1 Point cloud and stencil geometry

In what follows, the applied point-cloud will be structured as Cartesian or, in other words, as a rectangular point distribution for the convergence studies of the uniform h-refinement, see Figs. 1 and 7. These Cartesian arrangements are similar to the standard grid-like FD schemes, but the RBF interpolant defined in Eqs. (7)–(8) is of course quite different. Next to the boundaries, the stencil becomes half-sided and non-symmetric. Although the evaluation point comes closer to the boundaries in this case the stencils retain the rectangular shape. However, inside the domain, the stencils remain symmetric and their evaluation point is localized at their center, see Figs. 1 and 7.

Next, we consider Neumann-type boundary conditions (BC). Let us assume that the Neumann-type BC (4) and its 1D version (15), respectively, are prescribed on the right boundary \(x=2\) and on the top boundary \(y=1\) for the 2D case (Fig. 7), as well as at the right boundary \(x=L\) for the 1D case (Fig. 1).

In order to satisfy these BCs at a given boundary point, a new point has to be added to the point-cloud outside the domain as a neighbor of the boundary point under consideration. These external points are called ghost points. They allow for the addition of constraint equations to the global system of equations arising from the numerical approximation of the 2D PDE (1) or its 1D version (13). The subsidiary equations are required for the enforcement of the Neumann-type BC (4) (or (15) for the 1D case) prescribed at the corresponding boundary points, see [14].

As a result of the latter procedure, new unknown function values have to be introduced at the external points for u in 1D and for \(u_x\) and \(u_y\) in 2D. After the global assembly process, the resulting linear algebraic system of equations is simultaneously solved for all of the unknown function values located at the external, internal, and boundary points. The total number of the points N in the point-cloud is given as the sum of the number of the external, internal, and boundary points, \(N_E\), \(N_I\), and \(N_B\):

$$\begin{aligned} N=N_E+N_I+N_B\,.\end{aligned}$$
(12)

As described above, the number of the extra constraint equations associated with the enforcement of the Neumann-type BC is equal to \(d \cdot N_E\), where d denotes the space dimension, see [14].

4.2 h-adaptive point-cloud refinement strategy

In this subsection, we propose a new adaptive point-cloud refinement scheme for the PHS-RBF method to solve 1D and 2D problems of linear elasticity. In what follows, the h-adaptive algorithm will be demonstrated for 1D problems. This type of BVP can be considered as the 1D version of the problem presented in Sect. 2. The basic equation and the boundary conditions can be stated as follows, see [11, 39]:

$$\begin{aligned} -(AEu'(x))'=f(x)&\quad \text {in }\;\Omega =[x|x\in (0,L)]\,, \end{aligned}$$
(13)
$$\begin{aligned} u=\tilde{u}&\quad \text {at }\;x=0\,,\end{aligned}$$
(14)
$$\begin{aligned} AEu'=\tilde{F}&\quad \text {at }\;x=L\,. \end{aligned}$$
(15)

Here, f(x) represents as a distributed line load, A the cross-sectional area, E the Young’s modulus, and L the length of the bar—while \(\tilde{u}\) and \(\tilde{F}\) are the prescribed values of the axial displacement at \(x=0\) and the axial force at \(x=L\), respectively.

The point refinement procedure is guided by an error indicator based on the residual of the second-order differential equation (13), see Algorithm 1. At the very beginning of the numerical process, we set the initial number of points \(N_0\), the number of the iteration steps, the order of the PHS m, and the degree of the supplementary polynomials p, as well as the material parameters and the loading values. Next, the structured point-cloud \(\underline{\textbf{x}}_{\,0}\) is generated.

In each iteration step, the problem has to be solved. To this end, the weights for the approximation of \(\mathcal {L}_x\) and \(\mathcal {L}_{xx}\) at the internal and boundary points are computed by solving the local system (9) and assembling the global first- and second-order differential operator matrices \(\underline{\textbf{D}}_x\), \(\underline{\textbf{D}}_{xx}\) and the global equation system \(AE\,\underline{\textbf{D}}_{xx}\,\underline{\textbf{u}}=\underline{\textbf{f}}\). Next, Dirichlet-type boundary conditions (14) are applied in strong form, and Neumann-type boundary conditions (15) as new constraint equation are considered. Then, the resulting system is solved in order to determine \(\underline{\textbf{u}}\in \mathbb {R}^N\). Afterwards, the column matrix of the axial force \(\underline{\textbf{F}}\) is computed as \(AE\,\underline{\textbf{D}}_x\,\underline{\textbf{u}}\). By means of the first-order differential-operator matrix \(\underline{\textbf{D}}_x\), we compute the numerical approximation of the right-hand side of Eq. (13) as \(\underline{\hat{\textbf{f}}}=\underline{\textbf{D}}_x\,\underline{\textbf{F}}\). In this way, the residual is expressed in the form

$$\begin{aligned} \underline{\varvec{\eta }}=\underline{\hat{\textbf{f}}}-\underline{\textbf{f}}\,. \end{aligned}$$
(16)

In a next step, the absolute value of the residual is checked for two neighboring points within a ’for’ loop over all the internal and boundary points. A new point is inserted between the two neighboring points in question if the refinement criterion

$$\begin{aligned} \left| \eta _i\right| >\beta /N\,\eta _{\textrm{max}} \end{aligned}$$
(17)

holds true for one of the two investigated points. Here, \(\eta _{\textrm{max}}\) is the maximum norm of the column matrix of the global residual as

$$\begin{aligned} \eta _{\textrm{max}}=\max _{1\le i\le N}\left| \eta _i\right| \end{aligned}$$
(18)

whereas N is the total number of points and \(\beta \in [0,1]\) denotes the threshold parameter. The choice of this tolerance value controls how many points are added to the point-cloud in each iteration step. The h-adaptive refinement terminates if it meets the stopping criterion, which can be set for both the number of the iterations or the maximum of the residual. During our numerical tests, the value \(\beta \) will be set to 0.01 for 1D BVPs and to 0.1 for 2D BVP. Algorithm 1 summarizes the h-adaptive point-cloud refinement scheme.

figure a

5 Numerical experiments

In this section, the performance of the PHS-based RBF-FD method augmented with a polynomial basis will be analyzed for both smooth and non-smooth BVPs of 1D and 2D linear elasticity. During the computational tests, the convergence of the relative error measured in \(\ell _2\)-norm of the displacements and stresses will be studied. The number of degrees of freedom (denoted as DOF in the figure captions) is defined as the total number of points N of the point-cloud, ignoring the constraints related to the Dirichlet BC.

Additionally, the influence of the polynomial degree p on the rate of h-convergence will be investigated in each problem. In order to avoid the singular behavior of PHS when \(x=x_e\) and \(y=y_e\) for a second-order operator, the PHS order m has to be chosen high enough. In what follows we set m to 3 for 1D and \(m=5\) for 2D BVPs. Therefore, the smallest possible polynomial degree p, on account of inequality (11), is 1 in 1D and 2 in 2D.

5.1 One-dimensional boundary value problems

In this subsection, the computational performance of the PHS-based RBF-FD method will be analyzed for the 1D problem presented above. For the sake of simplicity, the geometric parameters A and L, as well as Young’s modulus E, will be assumed to be constant. In view of this, the values \(AE=1\) N and \(L=1\) m will be assumed in all of the considered 1D benchmark problems.

During the h-convergence study, the domain will be refined equidistantly in 10 steps for smooth and non-smooth (such as singular- and shock) BVPs, while the degree of the polynomial basis p is fixed in each step. In order to investigate the effect of the polynomial degree p on the rate of the h-convergence, p will be varied from 1 to 7 and 2 to 5, respectively, for smooth and non-smooth problems. Therefore, the odd stencil size n has to be adjusted to the actual p-value as \(n=2p+5\).

Fig. 1
figure 1

Symmetric and half-sided stencil shape representations near to the boundaries (below), at the boundaries (above), and inside the domain (above in red) for the lowest polynomial degree \(p=0\)

The efficiency of the newly developed adaptive point refinement strategy will also be investigated by comparing its convergence behavior to the numerical results obtained using equidistant point sets.

The symmetric stencil geometry applied within the domain and the half-sided, non-symmetric stencil shapes used near to the boundaries and at the boundaries are illustrated for the lowest degree case in Fig. 1. Here, the polynomial degree is set to \(p=0\)—and the stencil size inside the domain is \(n=2p+5=5\) while the stencil bandwidth can be determined as \(b=(n-1)/2\). The total number of points of the uniformly structured point-cloud is set to \(N=20\).

5.1.1 Smooth problem

In the first example, let the distributed line load be chosen as the smooth function \(f(x)=\alpha (\alpha -1)x^{\alpha -2}\), where \(\alpha =10\). Furthermore, the homogeneous BCs \(\tilde{u}=0\) m and \(\tilde{F}=0\) N are given, respectively, at the ends \(x=0\) and \(x=L\). In this case, the exact solution is a smooth function, i.e. \(u_{\,\textrm{EX}}=-x^{\alpha }+\alpha \,x\).

The h-convergence curves obtained for the relative error in \(\ell _2\)-norm of the axial displacement u and force F are plotted against the number of degrees of freedom on log-log scales in Fig. 2. In addition, their rates are also indicated by the slopes. Accordingly, algebraic convergence rates are observed for all refinements. The order of the convergence \(O(h^g)\) depends on the polynomial degree p, closely correlated to the theoretical estimate

$$\begin{aligned} g\simeq p-k+1\,,\end{aligned}$$
(19)

see [4, 14, 28]. Herein, k denotes the differential order of the considered BVP (\(k=2\)).

As expected, higher convergence rates are exhibited for higher-degree polynomial bases. For higher-degrees (\(p=6\) and \(p=7\)) however, the stagnation—or, in other words, saturation error—emerges at a certain (but very low) level of the relative error, see [1]. For lower polynomial degrees, the stagnation error is reached at a relatively high error level only with the use of a much larger number of points on the same domain, see [1]. In this example, however, the stagnation error does not yet appear for lower-degree polynomials because the number of points applied is relatively low. Besides, it follows from Eq. (19) that the h-convergence is lost for \(p=1\), as shown in Fig. 2 as well. The convergence rates are very close to the estimation (19), see also the results for the numerically approximated Laplacian of a smooth function in [14].

Fig. 2
figure 2

Convergence curves for the relative error in \(\ell _2\)-norm of the displacement u and the axial force F—uniform point cloud for smooth problem

5.1.2 Singular problem

In the second example, we consider again a line load \(f(x)=\alpha (\alpha -1)x^{\alpha -2}\)—but now in such a way that the exact solution \(u_{\,\textrm{EX}}=-x^{\alpha }+\alpha \,x\) is non-smooth. Here, the parameter \(\alpha \) controls the smoothness of the solution. If \(\alpha \) is small, i.e., \(\alpha <1\), then the first derivative of the exact solution will become singular at \(x=0\), see [11]. Thus, we set \(\alpha \) to 0.55 in order to study the convergence for a problem with a singular solution. The homogeneous Dirichlet- and Neumann-type BCs, \(\tilde{u}=0\) m and \(\tilde{F}=0\) N, are specified, respectively, at the boundaries \(x=0\) and \(x=L\).

Again, the h-convergence curves of the relative \(\ell _2\)-error are plotted as the function of the number of degrees of freedom on log-log scales for the displacement u and the axial force F in Fig. 3. The convergence rates are indicated by the corresponding slopes.

Fig. 3
figure 3

Convergence curves for the relative error in \(\ell _2\)-norm of the displacement u and the axial force Fh-adaptive versus uniform point-cloud refinement for singular problem, \(p=2, p=3, p=4\) and \(p=5\), number of the iteration steps: 10, \(\beta =1\%\)

Fig. 4
figure 4

Displacement u and axial force F along x—exact and approximate solutions of the singular problem, using adaptive and uniform refinement in the 6th iteration step for \(p=5\)

Fig. 5
figure 5

Convergence curves for the relative error in \(\ell _2\)-norm of the displacement u and the axial force Fh-adaptive versus uniform point-cloud refinement for shock problem, \(p=2, p=3, p=4\), and \(p=5\), number of the adaptive iteration steps: 5, \(\beta =1\%\)

Fig. 6
figure 6

Displacement u and axial force F along x—exact and approximate solutions of the shock problem, using h-adaptive and uniform refinement in the 4th iteration step for \(p=5\)

The results obtained for \(p=1\) are not shown since we already observed (in the previous example) that the p-value has to be equal to 2 or higher, as predicted by the theoretical estimate.

In the case of uniform point-cloud refinement, the h-convergence in the displacement error computations is of an algebraic type with the same rate for all polynomial degrees. Concerning the convergence of the axial force, we also observe an algebraic type of convergence with the same rate for different polynomial degrees. The convergence curves are shifted down without changing their slopes as the degree p is increased indicating a lower error constant.

Next, we compare the h-adaptive refinement to the uniform approach. To this end, different polynomial degrees are compared, see Fig. 3. We start the refinement with a uniformly distributed point-cloud with \(N_0=25\). It can be observed that the h-adaptive algorithm helps a lot to improve the convergence rates, thereby increasing the accuracy at any considered p-level, not only in the displacement but also in the axial force. A comparison of the numerical and exact solution is given for the 6th iteration step in Fig. 4 for the highest considered polynomial degree \(p=5\). In this iteration step, the relative \(\ell _2\)-error of the numerical solution computed for the displacement u by the h-adaptive algorithm is already less than 3 \(\%\). This error level is much lower than what was achieved by means of the uniform point-distribution.

5.1.3 Shock problem

In the third example, we consider a shock problem with the exact solution

$$\begin{aligned} u_{\,\textrm{EX}}=\arctan [\alpha (x-1/\pi )] \end{aligned}$$
(20)

which has a high gradient within the domain at \(x=1/\pi \), controlled by the parameter \(\alpha \), see [11, 32]. Here, \(\alpha \) will be set to 120, and f(x) will be defined accordingly. Non-homogeneous Dirichlet-type BCs are prescribed at both ends of the domain, i.e., at \(x=0\) and \(x=L\), consistent with the exact solution (20).

As in the previous examples, the relative error measured in \(\ell _2\)-norm is plotted in Fig. 5 for both the displacement and the axial force computed with a uniform h-refinement.

In the pre-asymptotic range, it is possible to observe an exponential type of convergence that slows down to an algebraic rate. The convergence rate indicated by the measured slope is almost independent of the chosen polynomial degree.

Henceforward, the adaptive PHS RBF-FD method is studied in 5 refinement steps for \(p=2,3,4,5\). The results of the adaptive approach are compared to the uniform refinement in Fig. 5. As expected, h-adaptivity significantly improves the convergence rates. The desired accuracy is achieved with much less degrees of freedom for any polynomial degree p, both in the displacement and in the axial force.

To illustrate the numerical approach, the results of the 4th refinement step are once again compared to the uniform approach for the highest investigated polynomial degree \(p=5\), see Fig. 6. In this adaptive refinement step, the relative \(\ell _2\)-error of the displacement u and the axial force F is already less than 4 \(\%\). Again, the accuracy of the adaptive approach is much higher than that of the uniform refinement.

5.2 Two-dimensional boundary value problems

In this section, the convergence behavior of the PHS-based RBF-FD method will be investigated for several representative smooth and non-smooth 2D BVPs of linear elasticity. During the convergence studies, the domain in question is uniformly or quasi-uniformly refined in 6 steps, from 2601 up to 8281 points for all of the benchmark problems. In each step, the degree of the polynomial basis p is kept fixed. In order to observe the influence of the polynomial degree, p will be varied from 2 to 5. Hence, the odd stencil size n has to be adjusted to the actual p-level as \(n=[(p+1)(p+2)+5]^2\) within the domain. The 2D version of the h-adaptive strategy presented in Algorithm 1 will also be tested on the “shock problem” as non-smooth 2D BVP, and its computational performance will be studied.

Fig. 7
figure 7

Cartesian stencils near to the boundaries, at the boundaries, and inside the domain—uniformly structured point-cloud

As an example for the definition of the stencil in the case of uniform point-cloud refinement, a square domain \((x,y)\in [1,2]\times [1,2]\) discretized with a uniformly distributed set of points is considered, see Fig. 7. Different stencils are presented: the symmetric square stencil shape used inside the domain and the half-sided non-symmetric stencil applied next to the boundaries and at the boundaries.

Fig. 8
figure 8

Convergence histories for the relative error in \(\ell _2\)-norm of approximating the first-order differential operators \(\mathcal {L}_x\) and \(\mathcal {L}_y\) acting on the smooth function u

Fig. 9
figure 9

Convergence histories for the relative error in \(\ell _2\)-norm of approximating the second-order differential operators \(\mathcal {L}_{xx}\) and \(\mathcal {L}_{yy}\) acting on the smooth function u

In this example, for the sake of illustration, the stencil size n is set to \(5\cdot 5\) within the domain. The equidistantly structured point set involves \(N=N_I+N_B+N_E=15\cdot 15+2\cdot 15=255\) points on the basis of Eq. (12), where \(N_I+N_B=225\) and \(N_E=30\).

5.2.1 Approximation of the two-dimensional differential operators

In the first 2D example, the partial derivatives introduced in Eqs. (2) and (5) are approximated with the RBF-FD method, based on the PHS supplemented with polynomials applying the point-cloud defined on the square domain \((x,y)\in [1,2]\times [1,2]\). Having determined the differential operator matrices \(\underline{\textbf{D}}_x\), \(\underline{\textbf{D}}_y\), and \(\underline{\textbf{D}}_{xx}\), \(\underline{\textbf{D}}_{yy}\), as well as \(\underline{\textbf{D}}_{xy}\), they are applied to the given smooth test function

$$\begin{aligned} u(x,y)=1+\sin 4x+\cos 3x+\sin 2y\,, \end{aligned}$$
(21)

to compute the derivatives for all points of the structured point-cloud. The \(\ell _2\)-error of the approximation of the first- and second-order partial differential operators, \(\mathcal {L}_x\), \(\mathcal {L}_y\), and \(\mathcal {L}_{xx}\), \(\mathcal {L}_{yy}\), \(\mathcal {L}_{xy}\) applied to the smooth function (21) is plotted on a double logarithmic scale against the number of degrees of freedom in Figs. 8, 9 and 10.

Fig. 10
figure 10

Convergence histories for the \(\ell _2\)-error-norm of approximating the second-order mixed differential operator \(\mathcal {L}_{xy}\) acting on the smooth function u

From this, it is evident that the rate of convergence depends on the degree of the polynomial basis p. A higher degree leads to a high algebraic rate of convergence when increasing the number of points. Furthermore, it can be observed that the first-order derivatives can be approximated more accurately as compared to the second-order derivatives.

Fig. 11
figure 11

Convergence curves for the relative error in \(\ell _2\)-norm of the displacements \(u_x\) and \(u_y\)—smooth problem

Fig. 12
figure 12

Convergence curves for the relative error in \(\ell _2\)-norm of the stress coordinates \(\sigma _x, \sigma _y\), and \(\tau _{xy}\)—smooth problem

5.2.2 Smooth problem

Next, the convergence behavior of the PHS RBF-FD method for a unit square plate under linear elastic plane stress conditions is studied. Dirichlet-type BCs are imposed on all of the four boundaries. The body force densities \(f_x,\;f_y\) and the BCs correspond to the smooth “manufactured” solution:

$$\begin{aligned}{} & {} u_x=-\frac{1}{10}\cos \pi \left( x-1\right) \sin \pi \left( y-1\right) ,\nonumber \\{} & {} u_y=\frac{1}{10}\sin \frac{\pi \left( x-1\right) }{7}\sin \frac{\pi \left( y-1\right) }{3}. \end{aligned}$$

In Figs. 11 and 12 the relative error in \(\ell _2\)-norm of the displacements \(u_x\) and \(u_y\) and the stresses \(\sigma _x\), \(\sigma _y\), and \(\tau _{xy}\) is plotted versus the number of degrees of freedom in double logarithmic style. The stresses are computed by post-processing the first-order partial derivatives of the displacements:

$$\begin{aligned}\begin{array}{rl} &{}\varvec{\sigma }_x=\displaystyle \left( 2\mu +\lambda \right) \,\underline{\textbf{D}}_x\,\underline{\textbf{u}}_x +\lambda \,\underline{\textbf{D}}_y\,\underline{\textbf{u}}_y\\ &{}\varvec{\sigma }_y=\displaystyle \left( 2\mu +\lambda \right) \,\underline{\textbf{D}}_y\,\underline{\textbf{u}}_y +\lambda \,\underline{\textbf{D}}_x\,\underline{\textbf{u}}_x\\ &{}\varvec{\tau }_{xy}=\mu \left( \underline{\textbf{D}}_y\,\underline{\textbf{u}}_x+\underline{\textbf{D}}_x\,\underline{\textbf{u}}_y\right) \end{array}\quad \textrm{in}\;\Omega \,,\end{aligned}$$

where the differential operator matrices \(\underline{\textbf{D}}_x\) and \(\underline{\textbf{D}}_y\) include the weights for the numerical approximation of the partial derivatives \(\mathcal {L}_x\) and \(\mathcal {L}_y\) at the internal and boundary points, while the column matrices \(\underline{\textbf{u}}_x\) and \(\underline{\textbf{u}}_y\) consist of the previously-computed displacements \(u_x\) and \(u_y\), respectively. From the computational results, it can be seen that algebraic convergence rates are obtained when increasing the number of points. Again, raising the degree of the additional polynomials improves the convergence rate.

Fig. 13
figure 13

Numerical and exact solutions for the displacements \(u_x\) and \(u_y\) on the undeformed domain—smooth problem, \(p=2, n=17\cdot 17\), and \(N=59\cdot 59\)

Fig. 14
figure 14

Numerical and exact solutions for stress coordinates \(\sigma _x, \sigma _y\), and \(\tau _{xy}\) on the undeformed domain—smooth problem, \(p=2\), \(n=17\cdot 17\), and \(N=59\cdot 59\)

Fig. 15
figure 15

Convergence curves for the relative error in \(\ell _2\)-norm of the stress coordinates \(\sigma _x\), \(\sigma _y\) and \(\tau _{xy}\)—shock problem

Fig. 16
figure 16

Numerical and exact solutions for the displacements \(u_x\) and \(u_y\) on the undeformed domain—shock problem, \(p=2, n=17\cdot 17\), and \(N=59\cdot 59\)

Fig. 17
figure 17

Numerical and exact solutions for stress coordinates \(\sigma _x, \sigma _y\), and \(\tau _{xy}\) on the undeformed domain—shock problem, \(p=2, n=17\cdot 17\), and \(N=59\cdot 59\)

Fig. 18
figure 18

Convergence curves for the relative error in \(\ell _2\)-norm of the stress coordinates \(\sigma _x, \sigma _y\) and \(\tau _{xy}\)h-adaptive versus uniform refinement, \(p=2, n=17\), number of the iteration steps: 6, \(\beta =10\%\)

Fig. 19
figure 19

Numerical solutions for the displacements \(u_x\) and \(u_y\) on the adaptive point-cloud, using h-adaptive refinement in the 6th iteration step—shock problem, \(p=2\) and \(n=17\)

Fig. 20
figure 20

Numerical solutions for stress coordinates \(\sigma _x, \sigma _y\), and \(\tau _{xy}\) on the adaptive point-cloud, using h-adaptive refinement in the 6th iteration step—shock problem, \(p=2\) and \(n=17\)

Fig. 21
figure 21

Computational domain (a) and initial point-cloud (b) of the model problem—unstressed circular hole in an infinite solid subjected to the uniaxial tension \(\sigma _{\infty }\) in direction x

Fig. 22
figure 22

Convergence curves for the relative error in \(\ell _2\)-norm of the displacements \(u_x\) and \(u_y\)—circular hole in an infinite solid

Fig. 23
figure 23

Convergence curves for the relative error in \(\ell _2\)-norm of the stress coordinates \(\sigma _x\), \(\sigma _y\), and \(\tau _{xy}\)—circular hole in an infinite solid

Fig. 24
figure 24

Convergence of the stress coordinates \(\sigma _x\), \(\sigma _y\), and \(\tau _{xy}\) at the corners C, D, and E—unstressed circular hole in an infinite solid

Fig. 25
figure 25

Convergence of the stress coordinates \(\sigma _x\), \(\sigma _y\), and \(\tau _{xy}\) at the corners A and B—circular hole in an infinite solid

Fig. 26
figure 26

Numerical and exact solutions for the displacements \(u_x\) and \(u_y\) on the undeformed domain—circular hole in an infinite solid, \(p=2\), \(n=17\cdot 17\) and \(N=59\cdot 59\)

Fig. 27
figure 27

Numerical and exact solutions for stress coordinates \(\sigma _x\), \(\sigma _y\), and \(\tau _{xy}\) on the undeformed domain—circular hole in an infinite solid, \(p=2, n=17\cdot 17\) and \(N=59\cdot 59\)

A contour plot of the numerical approximation is compared to the exact solution for the displacements and stresses in Figs. 13 and 14. The numerical solution involves \(N=59\cdot 59\) points, a stencil size of \(n=17\cdot 17\), and a polynomial degree of \(p=2\). This comparison demonstrates the good agreement of the numerical approximation with the exact solution.

5.2.3 Shock problem

In our next example, the PHS RBF-FD method will be investigated for the 2D version of the “shock problem” introduced in Sect. 5.1.3. Again, the linear elasticity equation system (2) is numerically solved on a unit square domain, imposing non-homogeneous Dirichlet-type BCs on all parts of the boundary. The body force densities \(f_x,\;f_y\) and the BCs correspond to the manufactured solution

$$\begin{aligned} u_x&=\arctan \alpha \left( \sqrt{(x-3c)^2+(y-c)^2}-r_0\right) ,\\ u_y&=\arctan \alpha \left( \sqrt{(x-c)^2+(y-c)^2}-r_0\right) , \end{aligned}$$

where \(c=0.75\) m, \(r_0=1\) m and \(\alpha =60\) [11, 32].

Since—from an engineering point of view—a sufficiently accurate numerical approximation of the stresses is more of interest than that of the displacements, our numerical investigations are focused on the h-convergence behavior of the stresses. Firstly, in Fig. 15 the relative errors of the uniform h-refinement, measured in \(\ell _2\)-norm, are plotted for the stresses \(\sigma _x\), \(\sigma _y\) and \(\tau _{xy}\) against the number of degrees of freedom in a double logarithmic scale. The relative \(\ell _2\)-error achieved in the 6th refinement step is already below an acceptable level (3 \(\%\)).

Contour plots of the displacements and stresses are compared to the exact solution in Figs. 16 and 17. The numerical results were obtained with a uniform point-cloud consisting of \(N=59\cdot 59\) points, applying a stencil size of \(n=17\cdot 17\) and a polynomial degree of \(p=2\).

Next, the h-adaptive refinement strategy is compared to the uniform approach by extending and applying Algorithm 1 to the numerical solution of 2D BVPs. In the uniform as well as adaptive approach, the refinement procedure is started with a quite coarse resolution, i.e., a uniformly distributed point-cloud containing \(7\cdot 7=49\) points, keeping the polynomial degree \(p=2\) and the stencil size \(n=17\) fixed at each refinement step. However, during the h-adaptive refinement, the stencils become arbitrary-shaped because the knnsearch algorithm is used to find the n-nearest neighbors to the evaluation point of the stencils. Similarly to the 1D BVPs (see Algorithm 1), the h-adaptivity is driven by the following process: The absolute value of the residual is checked for three neighboring points and—when considering the boundary—for just two neighboring points. A new point is inserted in the center of the neighboring points in question if the refinement criterion (17) along with the definition (18) holds true for one the investigated points.

For quasi-uniform and uniform point-clouds, the convergence behavior of the PHS-RBF methods can be investigated by plotting the relative error curves against either the distance \(h=1/\sqrt{N}\) or against N. The convergence rate can be estimated for smooth BVPs by (19). However, for strongly non-uniform point-clouds, the relation between h and N is problem-dependent and the convergence rate can not be determined straightforwardly in each case. Therefore, for the h-adaptive point-cloud refinement strategy and thus also for this 2D comparative study, it is worth measuring the global convergence of relative errors as the function of the so-called effective fill-distance \(h_{\textrm{eff}}=h_{\Omega }/N\), where the fill distance

$$\begin{aligned}{} & {} h_{\Omega }=\sup _{\varvec{r}\in Y}\min _{\varvec{r}_i\in \Omega }\Vert \varvec{r}-\varvec{r}_i\Vert _2\,, \end{aligned}$$

defined as a “mesh size”, indicates how well the points in the point-cloud of \(\Omega \) cover the domain \(Y\subseteq \Omega \) and represent the radius of the largest empty circle that can be placed among the point locations inside Y [30]. For this reason, the convergence series obtained for the stresses are plotted against the more representative \(h_{\textrm{eff}}\) in Fig. 18.

It can also be observed that the 2D version of the h-adaptive scheme presented in Algorithm 1 helps a lot to increase both the convergence rates and the accuracy.

To illustrate the h-adaptive refinement approach, the numerical results of the 6th iteration step for the displacements and stresses are plotted on the adaptive point-cloud in Figs. 19 and 20. In this iteration step, the relative \(\ell _2\)-error of the numerical solution computed by the h-adaptive algorithm is already less than 5 \(\%\). This error level is lower than what was achieved using the equivalent uniform point-distribution. As a consequence of these results, the extension and the application of this h-adaptive algorithm to the numerical solution of 3D BVPs is the aim of our future research work.

5.2.4 Unstressed circular hole in an infinite plate

Finally, the classical 2D linear elasticity problem of the unstressed circular hole in an infinite plate exposed to unidirectional tension in the xy plane will be studied as a smooth benchmark problem [9, 39, 40]. Due to symmetry, only one quarter of the plate is investigated. The resulting computational domain is depicted in Fig. 21a.

The exact solution reads

$$\begin{aligned} u_x&=\frac{a\sigma _{\infty }}{8\mu }\left[ \frac{r}{a}\left( \kappa +1\right) \cos \theta +2\frac{a}{r}\left( (1+\kappa )\cos \theta +\cos 3\theta \right) \right. \nonumber \\ {}&\quad \left. -2\frac{a^3}{r^3}\cos 3\theta \right] , \end{aligned}$$
(22)
$$\begin{aligned} u_y&=\frac{a\sigma _{\infty }}{8\mu }\left[ \frac{r}{a}\left( \kappa -3\right) \sin \theta +2\frac{a}{r}\left( (1-\kappa )\sin \theta +\sin 3\theta \right) \right. \nonumber \\ {}&\quad \left. -2\frac{a^3}{r^3}\sin 3\theta \right] \end{aligned}$$
(23)

for the displacements and

$$\begin{aligned} \sigma _x&=\sigma _{\infty }\nonumber \\&\quad \left[ 1-\frac{a^2}{r^{2}}\left( \frac{3}{2}\cos 2\theta +\cos 4\theta \right) +\frac{3a^4}{2r^4}\cos 4\theta \right] , \end{aligned}$$
(24)
$$\begin{aligned} \sigma _y&=\sigma _{\infty }\nonumber \\&\quad \left[ -\frac{a^2}{r^{2}}\left( \frac{1}{2}\cos 2\theta -\cos 4\theta \right) -\frac{3a^4}{2r^4}\cos 4\theta \right] , \end{aligned}$$
(25)
$$\begin{aligned} \sigma _z&=\nu \left( \sigma _x+\sigma _y\right) \nonumber \\&\quad =\nu \sigma _{\infty }\left( 1-\frac{2a^2}{r^2}\cos 2\theta \right) ,\nonumber \\ \tau _{xy}&=\sigma _{\infty }\nonumber \\&\quad \left[ -\frac{a^2}{r^{2}}\left( \frac{1}{2}\sin 2\theta +\sin 4\theta \right) +\frac{3a^4}{2r^4}\sin 4\theta \right] \end{aligned}$$
(26)

for the stresses, where \(\sigma _{\infty }\) denotes the applied uniaxial stress, a is the radius of the unstressed circular hole, and

$$\begin{aligned} r=\sqrt{(x-1)^2+(y-1)^2}\qquad \text {and}\qquad \theta =\arctan \frac{y-1}{x-1} \end{aligned}$$

are the polar coordinates. Plain strain conditions are assumed with an isotropic linear elastic behavior, based on Young’s modulus \(E=10\) Pa and Poisson’s ratio \(\nu =0.3\), resulting in \(\kappa =3-4\nu \). The width and height of the plate are set to \(b=h=4a\) with \(a=1\) m. Symmetry boundary conditions are imposed on the edges AB and DE. Dirichlet BCs are prescribed along the edges BC, CD, and AE, according to the exact solution.

Not only the global but also the local convergence behavior of the RBF-FD method based on the PHS supplemented with a polynomial basis will be tested on this benchmark problem. As a first result, the relative error measured in \(\ell _2\)-norm is plotted for the displacements \(u_x\), \(u_y\) and for the stresses \(\sigma _x\), \(\sigma _y\), \(\tau _{xy}\) in Figs. 22 and 23. The uniform refinement starts with the point-cloud shown in Fig. 21b. Again, different values for the polynomial degree p are taken into account.

As it is evident from the figures, this setting leads to an algebraic type of convergence that is independent of the degree p.

As a second result, the PHS-based RBF-FD solutions obtained for the stresses \(\sigma _x\), \(\sigma _y\) and \(\tau _{xy}\) at the corners A, B, C, D, and E are depicted together with their exact values are plotted in Figs. 24 and 25. From these figures, quite a fast convergence of pointwise quantities can be observed.

Finally, we present contour plots of the displacements and stresses together with their exact distribution in Figs. 26 and 27. The computations are based on the quasi-uniform point set involving \(N=59\cdot 59\) points, applying a stencil size of \(n=17\cdot 17\) points together with a polynomial basis of degree \(p=2\).

6 Conclusions

A new error-controlled h-adaptive RBF-FD method was developed for the solution of BVPs in linear elasticity. The PHS supplemented with polynomials was chosen as basis.

Firstly, the computational performance of the method was tested through convergence studies of several representative 1D and 2D smooth and non-smooth BVPs. The relative errors were determined in the \(\ell _2\)-norm. It was demonstrated that fast convergence can be obtained by refining the point-cloud, provided that the polynomial degree of the additional polynomials is high enough.

Secondly, the convergence behavior of the newly-developed adaptive point-cloud refinement algorithm was verified in 1D for both the singular and the shock problem, as well as in 2D for the shock problem. The presented h-adaptive scheme leads to a significant improvement both of the convergence rates and the accuracy—not only for the displacement but also for the stress computations. Besides, the advantageous property of the PHS RBF-FD method supplemented with polynomials is that the differentiation weights can be generated in either structured or unstructured (randomized) point-sets.

In the light of the promising numerical results and beneficial properties, the presented h-adaptive point-refinement strategy will be extended to the task of solving 3D BVPs.