On the Boundary Condition and Related Instability in the Smoothed Particle Hydrodynamics

2019-11-07 02:58ChongYe叶翀PhilipeMotaJinLi李瑾KaiLin林恺andWeiLiangQian钱卫良
Communications in Theoretical Physics 2019年11期

Chong Ye (叶翀), Philipe Mota, Jin Li (李瑾),Kai Lin (林恺), and Wei-Liang Qian (钱卫良)

1College of Physics, Chongqing University, Chongqing 401331, China

2Centro Brasileiro de Pesquisas Físicas, 22290-180, Rio de Janeiro, RJ, Brazil

3Institute of Geophysics and Geoinformatics, China University of Geosciences, Wuhan 430074, China

4Escola de Engenharia de Lorena, Universidade de São Paulo, 12602-810, Lorena, SP, Brazil

5Faculdade de Engenharia de Guaratinguetá, Universidade Estadual Paulista, 12516-410, Guaratinguetá, SP, Brazil

6School of Physical Science and Technology, Yangzhou University, Yangzhou 225002, China

Abstract In this work,we explore various relevant aspects of the Smoothed Particle Hydrodynamics regarding Burger’s equation.The stability, precision, and efficiency of the algorithm are investigated in terms of different implementations.In particular, we argue that the boundary condition plays an essential role in the stability of numerical implementation.Besides, the issue is shown to be closely associated with the initial particle distribution and the interpolation scheme.Among others, we introduce an interpolation scheme termed symmetrized finite particle method.The main advantage of the scheme is that its implementation does not involve any derivative of the kernel function.Concerning the equation of motion,the calculations are carried out using two distinct scenarios,where the particles are chosen to be either stationary or dynamically evolved.The obtained results are compared with those obtained by using the standard finite difference method for spatial derivatives.Our numerical results indicate subtle differences between different schemes regarding the choice of boundary condition.In particular, a novel type of instability is observed where the regular distribution is compromised as the particles start to traverse each other.Implications and further discussions of the present study are also addressed.

Key words:hydrodynamic model, SPH algorithm, pair instability

1 Introduction

The smoothed particle hydrodynamics (SPH)[1−9]is a meshfree, Lagrangian method for the partial different equations.Distinct from traditional approaches such as the finite difference method (FDM) or finite element method,the SPH approximates a partial differential equation in terms of ordinary differential equations of freely moving interpolation points, known as SPH particles.Subsequently, the infinite number of degrees of freedom of the original system is represented by a finite number of SPH particles, aiming to describe any arbitrary configuration of the continuum medium.As one of the most important applications of the partial differential equation is to describe the dynamics of fluid, SPH method naturally finds extensive applications in the context of hydrodynamics, as inferred by the terminology.Indeed,due to the significance of hydrodynamics, as well as recent advance in computing power, the SPH method is widely employed in many distinct areas of science and engineering.Among traditional applications to fluid dynamics,the SPH method has been employed to investigate a great variety of topics.In astrophysics, the SPH is implemented for the study of galaxy formation, supernova explosion.[7,9−11]In solid state mechanics,[12]the method has been applied to problems such as metal forming,[13]fracture and fragmentation,[14]and shock wave propagation in solids.[15]Moreover, concerning the high energy nuclear physics, the hydrodynamic approach of heavy-ion nuclear collisions plays an essential role associated with RHIC and LHC.[16−18]The latter further inspires onging investigations of fluid/gravity duality,[19−22]one realization of the holographic principle.[23,24]Numerical simulations based on implementations of SPH algorithm[25−29]have shown to give reasonable description on various experimental observables.The algorithm is also employed in chemistry where a variety of chemical evolutions simulations has been implemented in terms of the SPH method.

The SPH was initially suggested to investigate astrophysical problems by Gingold and Monaghan[2]and by Lucy.[1]In the standard implementation, each SPH particle is assigned a finite size,h, over the extension of which the relevant physical properties are smoothed in terms of a kernel function.By kernel function, the contribution of each particle is weighted regarding their respective distance to the coordinate position of interest.As a consequence,a physical quantity at a given position is evaluated by summing over all the contributions from all the relevant SPH particles in the neighborhood within reach of the kernel function.In terms of the above interpolation regarding SPH particles, a partial differential equation is transformed into a system of ordinary differential equations of the SPH degrees of freedom.

The SPH algorithm is a meshfree approach, which implies several essential features.First,the method is suited to handle problems with sophisticated boundary conditions, inclusively, scenarios with free boundary.The algorithm can achieve exact advection mostly in a trivial manner, which is a rather difficult task for any Eulerian grid-based approaches.Meanwhile, the absence of the structured computational mesh, by and large, simplifies model implementation.In particular, the spatial derivatives are implemented in a flexible and straightforward fashion, independent of any grid-based configuration.Besides, one of the most remarkable features of the SPH method is that it naturally guarantees the conservation law.In other words, independent of any specific application, the algorithm rigorously conserves quantities such as mass, energy, momentum, and angular momentum by construction.Also, a certain degree of re-meshing takes place automatically as time evolves, as a consequence of the kernel function.It is distinct from other Lagrangian grid-based methods where the grid can sometimes become arbitrarily disordered in time.[30]Moreover, when appropriately configured, it is understood that the computational cost of numerical simulations per SPH particle is usually less than that per cell of grid-based simulations.This is because the resolution of the method follows naturally the mass flow rather than the volume as in the case of most grid-based techniques.It happens as each SPH particle carries a fixed amount of mass and dislocate itself according to the flow velocity, and subsequently, the density only goes up related to an increase in the local matter concentration.[30]To be more specific,it is the case especially when the metric of interest is associated with the relevant density, and thus an automatical refinement on density is achieved.Furthermore, the SPH method is highly flexible and can be combined with other algorithms straight forwardly.[10]

However, the SPH formulation also faces a few challenges.Several notable problems potentially hamper further exploiation of the method, such as accuracy, tensile instability,[31−33]pairing instability,[34]the kernel as well as particle consistency,[8,35−38]and artificial viscosity.[39]From a physical viewpoint, tensile instability is triggered when SPH particles become mutually attractive due to,by and large,the presence of negative pressure.The eventual instability manifested regarding particle distribution,known as tensile instability,can be viewed as equivalent to the mesh distortion in a mesh-based scenario, is typically found in simulations of elastic material under tension.One possible approach to deal with such instability associated with irregular particle distribution is to sacrifice exact conservation of the algorithm by a slim amount.[40]Besides,other approaches were proposed to handle the instability by improving the estimation of spatial gradients, such as the corrected derivatives method.[41]As the number of neighbors of an individual SPH particle increases,the ratio of the particle spacing to the smoothing length decreases.However, for standard “Bell-shaped” or “Gaussian-like”kernels, their first derivative, and equivalently the force between SPH particles, vanishes at the origin.Consequently,particle pairing occurs.This problem is relatively benign, as it usually does not lead to any severe consequence.It can mostly be avoided by just using an adequate initial particle distribution with a smaller number of neighbors or adopting a short-range kernel function.Concerning kernel and particle consistency, much effort has been devoted to restore the consistency and subsequently improve accuracy.Monaghan derived a symmetrization formulation for the spatial gradient term[3]consistent with the variational approach,which is shown to provide better accuracy.Randles and Libersky proposed a normalization scheme for the density approximation.[35]The concept is further developed by Chenet al.[33,36,42]in terms of a corrective smoothed particle method (CSPM) as well as by Liuet al.[37]in terms of a finite particle method (FPM).For some physical phenomena such as shockwave, the entropy is increased as a physical consequence.In fact, unlike in a Eulerian scheme where numerical dissipation is an intrinsic feature related to the discretization process and mostly unavoidable, diffusion terms in SPH must be inserted explicitly, and as a result, their physical content is transparent.In this regard, it has been argued that it is essential to supply an adequate amount of artificial viscosity which works for not only scenarios where artificial viscosity is required but also for other cases where its presence ought to be minimized.[43,44]

As a matter of fact, there does not exist a single numerical method which performs satisfactorily well at all different aspects.Therefore, in practice, the choice of the best numerical approach can often depend entirely on which feature of the problem is more relevant to the present study.Nonetheless, stability is usually the primary concern of a numerical scheme, while precision and efficiency are two essential performance metrics in most cases.Our present study thus aims to provide a quantitative analysis of these aspects of the SPH method.In particular, we explore the role of boundary condition, as well as its relationship with initial particle distribution and interpolation scheme.Regarding the specific problem we choose to investigate, the equation of motion is implemented using two distinct scenarios, where the SPH particles are selected to be either stationary or allowed to evolve dynamically in time.The first scenario is shown to be an excellent indicator of the efficiency and accuracy of the individual interpolation algorithm.The second scenario, on the other hand, resides on a more general basis and is subsequently found to be sensitively associated with the stability of different implementations.

The paper is organized as follows.In the following section, we briefly discussed the main features of different implementations of the SPH algorithms involves in the present study, namely, the standard SPH, CSPM, FPM,and the symmetrized finite particle method (SFPM).The calculations are carried out in Secs.3 and 4 where Burger’s equation is chosen to be the object of the numerical simulations.The results are then compared against the analytic solutions.Two specific scenarios for the equation of motion are made use of with either stationary and dynamical SPH particles.In Sec.3 we show the results concerning the first scenario, where we mainly focus on the precision and efficiency of different interpolation schemes.The second scenario is studied in Sec.4, which is mostly related to the stability of the algorithm regarding the boundary conditions.We discuss how the boundary condition affects the stability of the numerical calculations for different schemes.Also, a type of novel instability is observed where SPH particles are found to traverse each other,which, in turn, undermine the regular particle distribution.The last section is devoted to further discussions and concluding remarks.

2 The SPH Method

In the present study, we mainly focus on four different SPH interpolation schemes, namely, standard SPH,CSPM, FPM, and SFPM.In what follows, what briefly review these schemes concerning their derivations.For the spatial distribution of a given physical quantity,f(x),all the above schemes can be viewed as specific implementations to interpolate the distribution by using a finite number of SPH particles as well as the kernel functionW.The latter is assumed to be an even function and its normalization reads

The Taylor series expansion off(x) reads

We proceed by multiplying both sides by the kernel functionW(x −xa) and integrating overx, we have

As one keeps the first term on the r.h.s.of the above equation and discard the higher order ones, one obtains

By substituting the normalization condition Eq.(1),we obtain the standard SPH formula, namely,

We note that the particle approximation is utilized,where a summation enumerating all SPH particle is used to approximate the integral.Hereνbis the “mass” of theb-th particle, usually it is a given value assign to the particle at the beginning of the algorithm.ρbis the density of the SPH particles, iffitself is the density, one has

In practice, the ratiofb/ρbcan be determined by the physical properties of the system in question.For instance, iffrepresents pressure andρis the number density, their ratio might be determined by the equation of state.[17]Otherwise,fbandρbcan be that evaluated for theb-th particle at the last time step.The first and second order derivatives can be obtained by carrying out spatial derivative of Eq.(5), and are found to be

where symmetric formulism[3]has been employed.

One might be aware of the fact that in the particle approximation of Eq.(1),the kernel function is not precisely identical to the Diracδ-function, and instead employ the following modified particle approximation in the place of Eq.(4),

One finds

Equation (10) is known as CSPM in literature, which can be shown to preserve the zeroth-order kernel and particle consistency.[8]The first-order and second-order derivatives can be derived by retaining until the second order term on the r.h.s.of Eq.(2), multiplying both sides byW′andW′′, and making use of the symmetry of these functions.One finds

In fact, one may proceed further by generalizing the above arguments to higher order in a slightly more consistent fashion.This is achieved by consistently expanding the r.h.s.of Eq.(2) to the second order, namely,

The present case is different from that of CSPM scheme, since now Eqs.(12)–(13) furnishes a system of coupled equations, as follows

By inverting the above matrix equation, one obtains for the desired expressions for the FPM scheme, which read

with

The FPM scheme is understood to possess the zeroth and first-order particle consistency.[8]

It is worth mentioning that in deriving Eq.(13), one has the freedom to utilize any basis function.Another particular choice, which is meaningful by its own right, is to make use of(x−xa)W(x−xa)and(x−xa)2W(x−xa)in the place ofW′(x −xa) andW′(x −xa).The only difference is that the definitions in Eq.(15) are replaced by

We note that the alternative basis functions maintain the symmetries (even or odd with respect to the origin) of the integral kernel.Meanwhile, the formalism has avoided using the derivatives of the kernel function,which turns out to be quite advantageous as shown below.This last scheme was initially proposed in Ref.[45]and will be referred to as the symmetrized finite particle method(SFPM) in the present work.

To sum up, Eqs.(5)–(7), Eq.(10), Eqs.(15)–(16) and Eqs.(16)–(17) give the specific formalism for standard SPH, CSPM, FPM and SFPM.In the remainder of the paper, these differences will be put into practice in the following two sections.

3 Burgers’ Equation with Stationary SPH Particles:on Precision and Efficiency of Different Schemes

In this section, we focus ourselves on the static aspect of the algorithm regarding the precision as well as the efficiency of different schemes.By and large, the precision of a given scheme can be measured in terms of kernel consistency and particle consistency.The former is determined by then-th moment of the kernel functions, namely,

forn=0,1,2,...The above conditions are rigorous when the interpolation is perfect.When it is satisfied for a given ordern, the corresponding SPH approximation is said to possessn-th order orCnconsistency.

The particle consistency, on the other hand, is related to the fact that in practice, the integral in Eq.(18) is implemented by a summation.As a result, one requires

As mentioned above, the present section is primarily dedicated to investigating to what degree the SPH algorithm is capable of reproducing a well-defined distribution of certain physical quantity in terms of the SPH particles.In this context, the precision and efficiency are affected by various factors, such as the specific form of the kernel function, the number of particles, and the interpolation scheme.In what follows, we carry out numerical simulations while tuning parameters regarding these aspects.We note that, for the time being, we will temporarily discard another vital factor, the stability of the algorithm.In other words, we only concentrate on the precision and efficiency of specific problems where the stability is guaranteed or a minor issue.In this regard, we study the following one-dimensional Burgers’ equation:

whereγis the viscosity coefficient.The reason for our choice of Burgers’ equation is as follows.First, the equation possesses an analytic solution, corresponding to smooth initial conditions whereuvanishes on the boundary.Secondly, usually, the physical interpretation of the equation is the same as the Navier-Stokes equation.In other words,the Burgers’equation determines the temporal evolution of,u,the velocity of the fluid.Therefore,the physical system is governed by two equations for the fluid velocityu(x,t) and matter densityρ(x,t), respectively.The latter is nothing but the continuity equation of the fluid, which takes the following form in one-dimensional space,

However, it is interesting to point out that one may simply viewuas an intensive physical quantity, and solve Eq.(20) alone independent of Eq.(21).This is possible since, for the specific case of the Burgers’ equation, the equation ofudoes not depend onρ.Therefore, when implementing the SPH scheme, we choose to assign the SPH particles to fixed spatial coordinates.Here,uaof thea-th particle is a function of time, determined by the r.h.s.of Eq.(20), while the coordinates of the SPH particles remain unchanged during the simulation.Lastly,the boundary condition of the present problem is that the distribution attains zero at both end points, namely,

But since the SPH particle do not dislocate in time, for the present section, one does not need to explicitly implement Eq.(22) into the code.As shown in the next section, the latter is closely related to the issue of stability.For simplicity,throughout our calculations,we employ the fifth order spline kernel function.[46]We also note that the present application involves fixed boundary condition,while on the other hand, SPH algorithm is most advantageous for problems with generic free boundary condition,the resultant precision and efficiency of SPH is not expected to be superior to the outcome of traditional FDM.In what follows,the different schemes discussed in the previous section will be applied by using the above setup.

In Fig.1, we show the calculated temporal evolutions of the distribution in comparison with those obtained by using the FDM as well as the analytic solutions.It is found that most methods give consistent and reasonable results for different viscosity coefficients.Among all the interpolations schemes, the standard SPH shows the most substantial deviations from the analytic results.To precisely identify the precision and efficiency of different schemes,we numerically evaluate the deviations from analytic results.In Table 1, the averaged relative precision and efficiency for different numbers of SPH particles or grid numbers (for FDM) are summarized.In our calculations, the particles are distributed uniformly, and the size of SPH particles,h, varies according to the total number of SPH particles.To be specific, we chooseh=∆xwhere ∆xis the distance between neighbor particles.In the calculations, the time interval is taken to be ∆t=h/500, and we considerγ=1.0.The precision is estimated for the instantt=1.0 while regarding an average of the relative deviation

whereNis the total number of selected spatial points where the quality of the interpolation is evaluated by comparing to analytic result.In our calculations,we have used seven evenly distributed spatial points for the evaluation.As the efficiency, one additionally takes into account the CPU time consumption, ∆t.The efficiency of a given method is defined as follows

which is measured with respect to that of the standard SPH method.

Fig.1 (Color online) The numerical solutions of the Burgers’ equation in comparison with the analytic ones.The calculations are carried out by using stationary SPH particles for standard SPH, CSPM, FPM, FDM, and SFPM,respectively.The results are presented for different values of the viscosity coefficients γ.

Table 1 The relative precision and efficiency of different methods.The first row indicates the number of SPH particles or grids used in the calculations.

It is observed in Table 1,for all the methods,the calculatedPmonotonically decrease with increasing SPH particles.This is as expected, which indicates that the precision improves as the particle number increases.Also, the efficiency,which is defined as an overall evaluation of speed and accuracy, improves as the SPH particle increase.The modified SPH methods included in this study; namely,CSPM,FPM,and SFPM show significantly better performance than that of the standard SPH method.It is found that as the number of SPH particle further increases, the improvement of efficiency gradually slows down.This happens due to that the precision of the interpolation starts to be saturated while the computational time increases linearly.It is further expected for the higher dimensional case since the computation cost increases much faster with increasing particle number, the efficiency of the methods may even start to decrease as the particle number becomes significantly large.

4 Burgers’ Equation with Dynamical SPH Particles:on the Stability of the Algorithm

This section is devoted to the stability analysis of different schemes regarding the boundary condition and initial particle distribution.When not appropriately configured, a numerical algorithm might be plagued by instability.Here we investigate particularly how the boundary condition may affect the numerical instability.As discussed in the introduction, there are at least three different types of characteristics of the SPH algorithm closely related to stability issue, namely, self-regularization, pairing instability, and tensile instability.All of them are related to the particle distribution and the specific form of the kernel function.SPH can automatically maintain a reasonable particle arrangement[10,30]during the course of the temporal evolution.Owing to the form of the kernel function, mutual repelling forces are exerted between neighboring SPH particles,which automatically drives the system towards a regular particle distribution.Intuitively,it corresponds to “re-meshing” procedure that is utilized in other Lagrangian mesh methods.As the SPH particles come closer, paring instability takes place as soon as the repelling force start to decrease with decreasing neighbor distance.Furthermore, under certain conditions[31,32]tensile instability takes place and disrrupts the particles distribution.In what follows, we attempt to configure an initial SPH distribution where the distance of neighboring SPH particles is randomized but within the range where particles repelling each other and the strength decreases with increasing distance.However,our calculation does not reveal any automatical re-meshing.Moreover,we show that boundary condition may introduce small perturbation which is accumulated over time and turned into oscillations.Such instability is observed to be accompanied by particle crossing.In order to carry out the analysis, one allows the SPH particle to move according to the continuity equation, namely, Eq.(21).In other words, we will solve Eqs.(20) and (21) simultaneously, as in most SPH implementations.The numerical results are presented in Figs.2−5.

Fig.2 (Color online) The numerical solutions of the Burgers’ equation in comparison with the analytic ones.The calculations are carried out by using different values of the viscosity coefficients for standard SPH, CSPM, FPM, FDM,and SFPM, respectively.The boundary condition is implemented by using fixed SPH particles.

Fig.3 (Color online) The numerical solutions of the Burgers’ equation in comparison with the analytic ones.The calculations are carried out by using different values of the viscosity coefficients for standard SPH, CSPM, FPM, FDM,and SFPM, respectively.The boundary condition is implemented by adding extra SPH particles beyond the physical boundary.

Fig.4 (Color online) The numerical solutions of the Burgers’ equation in comparison with the analytic ones.The calculations are carried out by using different values of the viscosity coefficients for standard SPH, CSPM, FPM, FDM,and SFPM, respectively.The boundary condition is implemented by adding mirrored imaginary SPH particles beyond the boundary.

A critical aspect of the present study is to show that the boundary condition plays an essential role in the SPH algorithm.From its appearance, the boundary condition Eq.(22)of the problem looks“benign”.However,it turns out that the numerical stability sensitively depends on its implementation.We study three types of implementation for the boundary condition.First, we freeze the coordinates of the SPH particles on the boundary.Secondly, we extend the system beyond the boundary by adding more SPH particles and let those additional particles evolve freely.To be specific, we do not explicitly exert any additional condition for the most outward particles.Lastly,we implement mirroring boundary condition, by adding imaginary particles outside of the boundary to ensure the validity of Eq.(22).To be more precise, the imaginary particles are mirror images; namely, their positions are mirrored with respect to the location of the boundary,and their velocities are inverted regarding their counterparts.The obtained results are shown in Figs.2−4.

The calculated results indicate that it is essential to appropriately implement the boundary condition, determined by Eq.(22).As shown in Fig.2, the calculations with fixed boundary SPH particles start to fail as the coefficient of viscosity becomes significantly small.Asγdecreases, it takes a longer time for the system to evolve,and subsequently,small deviations are accumulated for an extended period,and the results demonstrate more significant discrepancy.It is observed that most schemes show significant deviations forγ <0.1 and fort >0.75, where the standard SPH fails dramatically.While one adds additional SPH particles beyond the boundary of the physical problem and apply free boundary condition for those particles,the results show a very similar feature asγbecomes sufficiently small.This can be observed in Fig.3.In Fig.4,the results are shown by employing mirrored boundary condition.We did not draw the mirrored SPH particles beyond the boundary as they are symmetrically positioned regarding their counterparts.In general, the results are significantly improved.It is found that the implemented boundary condition gives a significant impact on the resulting temporal evolution.For CSPM, the results are more stable and agree reasonably with the analytic ones for all different viscosity coefficients.Although, in some region,the numerical results are still found to deviate from the analytic ones.For FPM and SFPM, small oscillations are observed when the time becomes more substantial as SPH particles start to pile up at the right boundaryx=1.For the standard SPH method,the results are less satisfactory compared to the other approaches.We understand that it is mostly related to the fact that the standard SPH method suffers a severe problem with kernel and particle consistency.

In order to investigate the instability occurs near the rightmost boundary, we carry out further calculations focusing the region near the vicinity ofx=1.To be specific, the numerical calculations are carried out for the range ofx ∈(0,2) with the boundary beingx=0 andx=2.The imaginary SPH particles beyond the original boundary are now treated as real particles and evolve according to the Burgers’ equation.In this context, the particles on both sides are moving toward the center atx=1.The numerical results are shown in Fig.5.The two plots on the first row are the trajectories the positions and velocities of SPH particles, shown by curves in different colors.A total of 125 SPH particles are initially distributed uniformly, whereh=0.2 and the size of the time step dt=0.02.The plots on the second as well as third rows are the same as the first row, except for the following difference.For the second row,the SPH particle distribution is also uniform initially, but a total number of 250 particles,withh=0.1 and dt=0.01.For the third row,regarding the initial condition for the case of the second row, the positions and velocity of SPH particles are perturbed by a small amount at the initial time.While the calculations are carried out for the rangex ∈(0,2)with the boundary are defined by the pointsx=0 and 2,the results are only shown in the vicinity region ofx ∼1.It is found that on the first row of Fig.5, particles simple travel across each other after they come close.This is a troublesome result, especially when comparing to the analytic results, the fluid on either side of the boundary should never traversex=1.Therefore,some fundamental problem regarding interpolation is implied.As will be discussed below, the stability mentioned above in Figs.2−4 is likely related to the present phenomenon.On the second and third rows, particles bound back from each other due to the repelling force between them, as intended.As discussed before, if particles maintain at an appropriate distance between each other, particle auto-remeshing is expected.In the plots on the second row of Fig.5, this is manifested, to a certain degree, in terms of the fact that all the SPH particles gradually decelerate and come to a full stop simultaneously att ∼0.6.Further, in the plots on the third row,it is shown that the particles also bounce back from each other, owing to the auto-remeshing mechanism.However, our results indicate that auto-remeshing does not always work in the present context, in particular, where the fluid becomes piled up atx=1 and is forced to squeeze into a small region, as governed by the Burgers’ equation.In this case, the results become quite sensitive to the specific parameter used in the calculations,as demonstrated by the plots on the first and second rows.When the auto-remeshing fails, as shown in the first row,the SPH particles are found to traverse each other when they stay too close to each other.Judging from the form of the kernel function, when ∆x < h, the repelling between two neighboring SPH particles decrease with decreasing distance.Therefore, as the neighboring particles become too close,as it inevitably happens in the case of the Burgers’ equation, the mechanism of particle auto-remeshing may fail.In fact, we observe that the resultant particle traversing occurs for a broad choice of parameters in the present scenario of the Burgers’ equation.We note that such a phenomenon is observed to accompany the instability discussed previously concerning Figs.2−4 closely.

5 Concluding Remarks

To summarize, in this paper, we carry out an analysis regarding the stability, precision, and efficiency of the SPH method.In particular, various aspects of the algorithm are explored such as the boundary condition,initial particle distribution,and interpolation scheme.Besides,a generalized FPM scheme, the symmetrized finite particle method,is employed in our study.The main advantage of the SFPM is that its implementation does not explicitly involve the derivatives of the kernel function.We studied two different scenarios for the implementation of the equation of motion, where the SPH particles are either stationary or dynamically evolved in time.In the first scenario, the obtained results are also compared with those obtained by using the FDM as well as analytic ones.All numerical schemes provide reasonable results in the case.Among others, it is indicated that CSPM and SFPM provides an overall better performance regarding precision as well as stability.

For the second scenario, the positions and velocity of the SPH particles are determined by the equations of motion.Though it is more meaningful to apply this scheme to topics with dynamical boundary conditions,in the present study, it is adopted to the same problem of the Burgers’equation.It is subsequently found that the boundary condition implementation plays a crucial role in the success of the algorithm.Among the three implementations, the mirrored boundary condition leads to mostly satisfactory results.Still,instability in terms of oscillations is observed when particle crossing starts to take place.Even for the case of mirrored boundary condition,increasing oscillation is observed for FPM and SFPM methods in regions with more significant particle density.Since the SFPM does not explicitly involve any derivative of the kernel function, the observed instability is likely of a distinct nature.This is because the sufficient condition of tensile instability involves the second order of the kernel function when derived regarding small perturbations.[31]One crucial feature of observed instability is that the oscillations take place when SPH particles start to cross each other.We will try to address the issue of particle crossing and the related instability in future work.

Acknowledgment

We gratefully acknowledge the financial support from Brazilian funding agencies Funda¸cão de Amparo à Pesquisa do Estado de São Paulo (FAPESP), Conselho Nacional de Desenvolvimento Científico e Tecnológico(CNPq), Coordena¸cão de Aperfei¸coamento de Pessoal de Nível Superior (CAPES), National Natural Science Foundation of China(NNSFC)under Grant Nos.11805166 and 11873001, and Nature Science Fund of Chongqing under Grant No.cstc2018jcyjAX0767.