Abstract
Keywords
Introduction
Numerical methods have been widely implemented to model acoustic and hydrodynamic waves. Compared with mesh-based methods,1–4 meshfree methods receive much concern because field points used in this method are arbitrarily distributed and material properties are no more assigned to elements. The element-free Galerkin method, 5 the method of radial basis function method, 6 the singular boundary method, 7 and other meshfree methods8,9 had been used to address certain wave problems. In this work, we proposed a pure Lagrangian meshfree particle-based approach for solving different time-dependent wave equations.
In recent years, Lagrangian meshfree particle-based methods are fast developing and widely used, since it is easily adapted to modeling fluid dynamic problems with complex or time-evolving boundaries for single or multiple phases like the numerical simulation of dam break flow, 10 flooded city, 11 and bubble collapse. 12 Introducing such a method to solve the wave equation can bring these advantages to this field. Among all Lagrangian meshfree methods, the smoothed particle hydrodynamics (SPH) method is one of the earliest and widely applied methods in different fields. The SPH method was first pioneered independently by Lucy 13 and Gingold and Monaghan 14 to solve astrophysical problems in 1977. Details about the SPH computation can be found in the literature.15–19 The SPH and its modified methods were also used to solve different wave equations.20–22 However, it is still a challenge to find a particle-based computational method for solving wave equations with high-order accuracy.
Considering the generalized finite difference (GFD) scheme for spatial derivatives with arbitrarily distributed points, we proposed a Lagrangian meshfree finite difference particle method (FDPM) for solving wave equations. Meshfree GFD approximation was first discussed for fully arbitrary meshes by Jensen 23 in 1972. Perrone and Kao 24 also contributed to the development of this method at that time. Subsequently, a variation using the moving least squares method was proposed by Liszka and Orkisz. 25 The meshless finite difference approximation or the GFD approximation that we used came from Benito et al., 26 who gave a discussion about the influence of several factors in the GFD approximation, and a comparison between the GFD scheme and the element-free Galerkin method in solving Laplace equation is also presented in Gavete et al. 27 and Benito et al. 28 The GFD scheme is more accurate than the Galerkin method. So the FDPM is supposed to be a Lagrangian particle-based approach developed from the high-accuracy GFD scheme. It should be noticed that there are some other particle-based methods improving the accuracy with the Taylor series expansion. Chen et al.29,30 proposed the corrective smoothed particle method (CSPM) by introducing the Taylor series expansion to normalize the kernel function. After that, Zhang and Batra31,32 have proposed the modified smoothed particle method (MSPH) and the symmetrical smoothed particle hydrodynamics (SSPH) method with a higher order accuracy. Although these methods used the Taylor series expansion to modify the kernel function, the FDPM still have its advantages.
The FDPM has several advantages compared with the conventional SPH. First, the method is kernel gradient free. 33 Only the kernel function itself and the positions of each particle are used to compute the spatial derivative. Second, the method can be easily extended to higher orders. We propose the second- and fourth-order schemes for the FDPM, and describe how to obtain higher order schemes. It can be seen that only few lines of code need to be changed to obtain a high-order FDPM, which is simple for users. Third, the second derivative can be obtained without special limitations on the kernel function. And so the viscous term in the Burgers’ equation can be obtained directly without introducing any artificial parameters.
Although the FDPM based on the Taylor series expansion shows more accuracy than the traditional SPH method, the motion of the particles still affects the accuracy a lot. As the time goes on, the particles change from regular distribution to irregular, and the support domain for some particles becomes too small to have sufficient neighbor particles or too large to cost unnecessary computing resources. The same problem can also be found in the application of the SPH method and some related work can be found in the literature.34–36 Recently, Price and Monaghan 37 considered a smoothing length in the application of the smoothed particle magnetohydrodynamics. Qiang and Gao 38 implicitly coupled the density evolution equation with variable smoothing length to deal with the large density gradient and large smoothing length gradient problems. All these ways to change the smoothing length are proposed with their own pros and cons, and they need to use the physical density to update the length, which is not suitable for this work. So we show another way to update the smoothing length only based on particle positions and propose different approaches to preserve the symmetry of particle interactions.
This article is organized as follows. In section “FDPM,” the FDPM is proposed. Section “Review of SPH method” provides a review of the SPH method. Sections “Computation of the simple wave equation in Lagrangian form” and “Computation of the nonlinear Burgers’ equation in Lagrangian form” evaluate the accuracy and efficiency of the proposed method in solving the Lagrangian simple wave equation and the nonlinear Burgers’ equation. Section “Computation of the acoustic wave equation in Lagrangian form” summarizes the results of this work.
FDPM
GFD scheme for solving spatial derivative
In the FDPM, the GFD scheme is utilized to solve the spatial derivative in governing equations. Consider a particle
where equations (1) and (2) are for one and two dimensions, respectively.
Ignoring high-order terms, the approximation of
After rearranging these equations, the sum of these expressions for all particles
where
The closest nodes to the particle
Define the functions
According to equations (5) and (6), the norms
From equations (9) and (10), the following equations can be obtained
where
Since the matrices
Time integration scheme
In our Lagrangian approach, calculation of the particle motion and time integration are performed with second-order leapfrog integration. In this scheme, the equations for updating particle positions and velocity are
where
Equation (19) starts with the initial velocity offset given by
Variable smoothing length
In the FDPM, the computation of the weight function depends on the support domain. The support domain around a particle decides its neighbor particles, so the shape and size of the support domain are important. The most used domain is the circular (two-dimensional (2D)) or spherical (three-dimensional (3D)) domain because of its feasible and stable property. A circular support domain in the computational domain Ω is shown in Figure 1. It is obvious that the circular radius decides the size of the support domain, so this radius of the support domain (

Support domain (dot dash circle) and the smoothing length (
Here we proposed a simple approach to dynamically update
where the particle
Since
In this work, we use the third one to get the symmetric
Review of SPH method
The integral representation for
where
The kernel approximation of
where
Computation of the simple wave equation in Lagrangian form
Simple wave equation in Lagrangian form
The simple wave equations 40 with only the first-order partial differential terms are always used as fundamental tests in acoustic and hydrodynamic wave problems. This equation can also be seen as the advection equation. To evaluate the FDPM algorithm, we consider the numerical solution of the one-dimensional (1D) simple wave equation in Lagrangian form
where
with the initial condition defined over −20 m ≤
The boundary condition at both ends is set as
The exact solution to the problem is available as
Nondimensional error definition
The numerical accuracy is evaluated by the root mean square error and the maximum error, which are defined as
where
In this section, the FDPM is based on the second-order Taylor series expansion.
Validation of the computation
Numerical results for FDPM with variable smoothing length in solving the Lagrangian simple wave equation are shown in Figure 2. The initial particle spacing is set as Δ

Comparison between FDPM (second order with variable
The wave propagates from the left to right in the figure, and a peak appears during the propagation. Comparing with the exact solutions, it can be seen that the FDPM with variable smoothing length accurately simulates the waves, and the peak value is obtained precisely.
Accuracy and efficiency evaluation
Different wave propagation models with time changing from 2 to 40 s are simulated with CSPM and FDPM with or without variable smoothing length. The root mean square and maximum error of the velocity are shown in Figure 3.

Comparison between CSPM and FDPM (second order with constant or variable
At the beginning, the CSPM error is obviously larger than the FDPM error, and little difference can be found between the FDPM with constant and variable
The effect of the initial smoothing length

Comparison between CSPM and FDPM (second order with constant or variable
As shown in Figure 4, both root mean square and maximum numerical error increase along with the increase of
Different computational cases corresponding to the CSPM and FDPM results with similar numerical error are shown in Table 1. The purpose of the computation is to obtain the CPU time cost of the CSPM and FDPM with variable
Efficiency comparison between CSPM and FDPM with variable
CSPM: corrective smoothed particle method; FDPM: finite difference particle method.
Computation of the nonlinear Burgers’ equation in Lagrangian form
Burgers’ equation in Lagrangian form
Because of having the nonlinear convection terms and the occurrence of viscosity, Burgers’ equations are a simple form of the nonlinear partial differential equations. Hence, they have often been used as a test model for ensuring the accuracy and stability of numerical methods. For this reason, Burgers’ equations are considered in this work for testing the applicability of the FDPM to nonlinear dynamic problems.
The Lagrangian form of 1D Burgers’ equation is
where
Considering the time-dependent Burgers’ equation, the initial condition for solving the Burgers’ equation is defined over −0.5 m ≤
The exact Fourier solution 41 to the problem is available as
where the coefficients are defined as
The number
Validation of the computation
Considering the nonlinear Burgers’ equation, Figure 5 shows the comparison of the FDPM results with exact solutions. The initial particle spacing is set as Δ

Comparison between FDPM (second order with variable
The figure shows that the FDPM with variable
Accuracy and efficiency evaluation
The effect of the time changing from 0.15 to 0.30 s is shown in Figure 6.

Comparison between CSPM and FDPM (second order with constant or variable
As shown in Figure 6, both root mean square and maximum numerical error increase along with the increase of
Different wave propagation models with

Comparison between CSPM and FDPM (second order with constant or variable
When
For the nonlinear Burgers’ equation, different computational cases corresponding to the CSPM and FDPM results with similar numerical error are shown in Table 2. It can be seen from the data that the CSPM needs smaller particle spacing to reduce numerical error compared with the FDPM with variable smoothing length. With numerical error in the same level, the FDPM with variable
Efficiency comparison between CSPM and FDPM with variable
CSPM: corrective smoothed particle method; FDPM: finite difference particle method.
Computation of the acoustic wave equation in Lagrangian form
Acoustic wave equation in Lagrangian form
In order to test the performance of the proposed method in solving the 2D problem, sound propagation is simulated using the FDPM. Governing equations for acoustic waves in Lagrangian form can be found in Zhang et al., 21 which are defined as
where
A Gaussian pulse model of sound propagation is built. The center of the computation region is located at the origin of the coordinates, the computation domain is a square, and the length of the square is 60 m. At the time
where
Acoustic wave
The simulation results of the Gaussian pulse of sound propagation are shown in Figure 8. Figure 8(a) and (b) shows the contour of sound pressure at

Sound pressure contour at different times obtained by FDPM: (a)
For providing a better comparison, the sound pressure of the particles at

Comparison between the FDPM (second order with variable
From the figure, it can be seen that, at
Conclusion
A Lagrangian meshfree FDPM is proposed to numerically solve different wave equations. A variable smoothing length approach for updating the support domain size is suggested. The numerical method is tested with the simple wave equation and the Burgers’ equation in Lagrangian form. Comparison with the CSPM, FDPM with constant smoothing length, and FDPM with variable smoothing length is made. In summary, we have shown the following:
The proposed FDPM solves the simple wave equation and the Burgers’ equation with good accuracy;
An updating smoothing length approach based on particle distributions is given. It is found to be able to reduce numerical error when the particles are distributed irregularly;
Compared with the CSPM, the FDPM with variable smoothing length is more accurate with different initial particle spacing, and so it needs fewer particles to maintain the same level of numerical error which costs less CPU time in solving wave equations.
