Smoothed Particle Hydrodynamics: Theory, Implementation, and Application to Toy Stars Philip Mocz AppliedMath205FinalProject,HarvardUniversity,Fall2011,Prof.Knezevic ABSTRACT In this ﬁnal project, we discuss the theory of Smoothed Particle Hydrodynam
present exciting results for smoothed particle hydrodynamics for numerical predictions of primomy aaont r i zat . i The project section, on the other hand, shows how much GCS and its centers are enmeshed in the European and German scientific commu-ni
3 MODELING SMOOTHED PARTICLE HYDRODYNAMICS CODES: SPHSIM 3.1 Introduction to Smoothed Particle Hydrodynamics Smoothed-Particle Hydrodynamics (SPH) is a numerical method for solving the equations of motion governing material bodies in their frame of r
– Principle of Smoothed particle hydrodynamics • Standard formulation of SPH • Density Independent SPH – Artificial viscosity, time integration, time step 2.Practical part – Brief explanation of ASURA – Benchmark tests • 1D shock tube test • 2D hydro
Smoothed Particle Hydrodynamics @ BAW Eugenio Rustico Referat W5 – [email protected] Workshop “Application of SPH in Environmental Engineering and Geosciences” – June, 30th - …
Inviscid smoothed particle hydrodynamics 671 Figure 2. As Fig. 1, but for SPH with standard (α = 1) or Morris &Monaghan (1997) artiﬁcial viscosity, as well as our new method (only every
We study the convergence properties of smoothed particle hydrodynamics (SPH) using numerical tests and simple analytic considerations. Our analysis shows that formal numerical convergence is possible in SPH only in the joint limit N →∞, h → 0, and N
At the position of a liquid particle we can estimate the average density of the ice and thus determine h of the ice at the position of an SPH liquid particle. This is, in fact, an estimate of the ice h in the neighbourhood of the liquid particle. a(i
Smoothed particle hydrodynamics (SPH) is a meshless numerical method that was pioneered by Gingold and Monaghan  and at the same time (although independently) by Lucy  for astrophysics problems. The method is well adapted to simulation of solid
(referred to as particle methods), or via a hybrid approach by interpolation to an overlaid grid (referred to as particle-mesh methods, typiﬁed by the particle-in-cell (PIC) method used extensively in plasma physics. Smoothed Particle Hydrodynamics (
Department of Mechanical and Mechatronics Engineering, National University of Colombia, Bogotá. Abstract. In this work it was implemented the numerical method of Smoothed Particle Hydrodynamics (SPH) to solve plastic deformation problems. The SPH is a meshfree particle method, based on a Lagrangian formulation; this is a computationally efficient method that provides precision and stable solutions to integral and differential equations. This formulation includes the continuum mechanics equations for solids, modified by the Johnson-Cook model to represent the plastic behavior of metallic materials. Benchmarks problems and experimental validation are provided. Keywords: Smoothed Particle Hydrodynamics; Plastic Deformation. 1. INTRODUCTION Smoothed Particle Hydrodynamics (SPH) is a technique developed for solving Computational Continuum Dynamics problems. Thus, SPH is a mesh free method based on a Lagrangian approximation for solving partial differential equation systems. It was used first in Astrophysics problems , but nowadays SPH is applied in many fluid and solid mechanics problems [2–4]. The basic SPH technique was first introduced by Lucy, Gingold and Monaghan in 1997 , however the most important works in materials strength were provided by Libersky and Petshek . Since then, many authors have implemented SPH in solid mechanics, and lot of papers present applications on numerical fracture , elastic  and plastic  regime deformations in solids, extreme deformation and material processing applications (extrusion, forging and machining) , . The application of SPH method in solid mechanics uses the conservation equations of continuum mechanics with energy, momentum and density equations. This work includes lineal terms (elastic deformation) using Hooke’s law for the stress tensor, and to describe the non-diagonal terms of the stress tensor this is modified by a von Mises yielding relation, when beyond the elastic limit for permanent deformation. Plasticity is treated using the Johnson and Cook visco-plastic model  and an elastic – plastic perfect model was used for the stress and deformation behavior. This paper presents the application of SPH method to simulate large strains with material strength. A SPH code was implemented and evaluated in three test problems, the impact of a plate against a rigid surface, high shear in a plate and the penetration of a cylinder through a plate. The three example problems are compared using other SPH modeling of the
literature and the experimental data. The results that were obtained in the different simulations presents an adequate behavior compared to the experimental and other simulation sources. 2. SPH METHODS A little summary of the SPH method is presented here. For more details see . The basis of SPH is interpolation theory, and its formulation involves two steps. In the first step the representation of a function in its continuous form is done through the use of a kernel estimate of the field variables at a point , this approximation of the function is based on the evaluation of the smoothing kernel function. Then, the second step is the representation of the interpolation kernel over the defined domain using discrete variables . Then, the interpolated value of a function f in the space defined by the x vector can be expressed using SPH smoothing as (1). N
f (x i ) j 1
f jW x i x j , h
Where m j and j are the mass and density of particle j , W xi x j , h is the smoothing kernel, h is the smoothing length (see more in ) and N is the total number of particle. The gradient of function f can also be found by differentiating the interpolation (1) as expressed in (2). N
f ( x i ) j 1
f j iW x i x j , h
Definition of the kernel function is represented in (3). W xi x j , h
1 || x i x j || Wij hd h
Where is the function that describes kernel approximation and d is the number of space dimensions. Although there are several smoothing functions widely used, it is usually preferred the cubic B-spline , , which is defined by (4). 1 3 0 q 1 2 2 3 q 2 q 1 q 2 3 1 W ( q, h) d 2 q 6 2q 0
Where d is a constant of normalization which depends on the number of spatial di1 15 mensions (for one dimension is 1 D , for two dimensions is 2 D and for three h 7 h 2 3 dimensions is 3D ), where || xi x j || is the distance between two particles. 2 h3
3. IMPLEMENTATION OF THE ELASTIC-PERFECTLY PLASTIC STRENGTH MODEL The SPH method applied in solids mechanics, integrates the traditional equations of mass (5), momentum (6) and energy (7). d v dt
dv 1 σ F dt
dE 1 1 1 σ : s v σ : v v Qij dt 2
Where for the equations (5) to (7), is density, v is the velocity vector ( v is also defined as dx / dt ), σ is the stress tensor, F is external force, E is energy, Qij is the heat flux, s is the gradient, is a symmetric gradient, T is the temperature and t is the time. With
the above definitions, the conservation equations can be written in their discrete form, then the equation of conservation of mass, momentum and energy can be transformed into particle equations for SPH with (8), (9) and (10) respectively , . N m d j i ( v j v i ) iWij dt j 1 j
N σj dv σ m j 2 i2 ij iWij F dt i j 1 j
σ σj dE 1 N m j i2 2 ij : v j vi iWij iWij v j vi Qij dt 2 j 1 i j
Where the brackets are used to identify the function approximated by the kernel estimation, and ij term represents the artificial viscous pressure. The term of the heat flux is defined like (11), This form is used for , .
Qij 4 j 1
m j ki k j i j ki k j
Ti T j rij rij
rij xi xj
Where in (11) and (12), k is material conduction, rij is the distance vector between two particles and x is the component coordinate of vector x i . The artificial viscous pressure was used as the Monaghan-Gingold form (13).
parameters and are order unity and ci is the speed of sound on the ith particle. 3.1. Equations for an elastic-perfectly plastic strength model The stress tensor appearing in the conservation equations (9) and (10) is defined in term 1 of the pressure P Tr σ 1 and the traceless symmetric deviatoric stress as (14). 3 (14) σ σ P1 The pressure is normally computed using an state equation of the form p p , E , such as the Mie-Gruneisen equation for solids defined in (15).
a b0 2 c0 3 , 0 PH ( ) 0 a0 , 0 Where for (15) the subscript H refers to the Hugoniot curve and is the Gruneisen parameter and the constants a0 , b0 , c0 can be definition with lineal relation between to shock velocity U s and particle velocity Ss , defined for U s c S sU p . Through a Taylor’s series expansion of the Hugoniot function the equations (16) are obtained.
a0 0 cs 2 b0 a0 1 2 S s 1
2 c0 a0 2 S s 1 3 S s 1
For the deviatoric part of equation (14), in the elastic range, we used Hooke´s law as shown in (17).
1 ε ε tr ε 1 3
ε S v
1 ( v v ) 2
Where for equations (17) to (19), σ is the deviatoric stress rate tensor and ε is the strain rate tensor and ε is the strain rate deviatoric tensor. However, for finite rotations, the equations (17) is not material frame indifferent, then the rotation becomes dependent of a nonphysical response. To improve this situation many cases have been formulated . In this work is employed the widely used Jaumann rate ,  for small rotations and it alters (17) to appear as (20). dσ σ σ ω 2 ε ω dt
Where for the equation (20), ω is the rotational or spin rate strain tensor taken for (21), which it’s defined by A that is the anti-symmetric gradient, and is the material shear modulus. Av ω
1 ( v v ) 2
(21) Applying the SPH method the equations (19) and (21) become the equations (22) and (23) .
1 N mj iWij v j vi v j vi iWij 2 j 1 j
1 N mj iWij v j vi v j v i iWij 2 j 1 j
This set of equations can now be solved and will describe a perfectly elastic materials behavior. However, it is known that studied materials are not only perfectly elastic but instead present also a plastic behavior, for this a critical stress always exists and the employment of
such was used for the material in permanent deformation. This plastic behavior can be introduced in the equations using the von Mises yielding criterion , , and the deviatoric stress is limited by a scalar function f defined by (24). σ f σ
Plasticity in the von Mises yielding criterion is tread using the Jhonson and Cook viscoplastic model  showing in (25). It depends on the plastic strain, the plastic strain rate and temperature variations. m n eq T T0 YJC A B eq 1 C ln 1 0 Tm T0
2 3 ε : ε 3 2 ε ε tr ε 1
2 3 ε : ε 3 2 ε ε tr ε
Where the equations (25) to (27), A is the initial yield stress ( MPa ), B is the coefficient of strength ( MPa ), n is the work hardening exponent, C is the coefficient of strain rate sensitivity, p is the thermal softening coefficient, 0 is the strain rate reference value (defined as 0 1 ), T is the material temperature ( K ), T0 is the room temperature, Tm is the material melting temperature, ε is the deviatoric strain, eq is the equivalent plastic strain and eq is the equivalent plastic strain rate, the two last ones are defined in the equations (26) and
(27) respectively. In this work the test problems have a high strain behavior, by such circumstances it is entirely reasonable that when yielding criterion is reached, the assumption that the elastic strain is zero and the plastic strain becomes the total strain can be made; according to this the function f (28) can now be computed following the widely used form , , , where eq is equivalent stress, which is given by (29). Y 2 f min JC 2 ,1 eq
3 σ : σ 2
3.2. Model’s definition For the time stepping we used the Predictor-Corrector algorithm described by Monaghan  because presents more stability for the variables time update.
The calculations for boundary conditions in this work were made with boundaries defined by lines that exert repulsive force , , , this approach improves the physical behavior because produces a force normal to the boundary over the neighboring particles , . Further, we used other improvements like the XSPH  for moving the particles, Moving Least Squares (MLS) ,  for density re-initialization and Artificial stress  for treatment of instability tensile. 4. NUMERICAL TESTS Examples for simulating high strain with material strength were carried out using SPH. The SPH results were compared with the result of the other SPH works and experimental data. In this section are presented three test, many employed in the literature , , . The study examples are high shear in a plate, the impact of a plate against a rigid surface and the penetration of a cylinder through a plate. 4.1. High Shear plate This test was develop in ,  at first. In this example, an Armco iron plate in two dimensions, the upper half of the plate has an initial velocity of 254 m/s , while the lower bottom starts at rest as seen in Figure 1. The material properties and the parameters for MieGruneisen equation of the Armco iron are presented in Table 1, and in Table 2 are shown the parameters of the Johnson and Cook model and the artificial viscosity coefficient. In this case 1122 particles were initially distributed to represent the plate. In Figure 2 and Figure 3 is showed a comparison between temperature and equivalent strain at 80 s of simulation. The Figure 2 and Figure 3 shows that the maximum strain and temperature are found in the shear plane between the lower and the upper half, from these behaviors it can be intuited that the model is appropriate. In Figure 4 are compared our SPH simulation with that made by Gordon R. Johnson , , it can be seen that our simulation ( Figure 4(a)) shows a more realistic behavior in the interaction between particles compared with Figure 4 (b) in which the material exhibits instability in the separation plane, this improvement is due to the implementation of the artificial viscosity , XSPH  and artificial stress . While the comparison between our SPH model and the standard finite element method (FEM) (Figure 4 (c)), shows that SPH presents a more rigid behavior in deformation and distributes the strain uniformly in all the particles.
Figure 1. Test 1 high Shear plate, initial conditions. Table 1.The material properties and the parameters for Mie-Gruneisen equation of the Armco iron .
C p J / kgK
k W / mK
kg / m 3
Table 2.The parameter in Armco iron for the Johnson and Cook model and coefficient in artificial viscosity . A Mpa
Figure 2. High Shear plate, Temperature distribution at 80 s .
Figure 3. High Shear plate, strain distribution at 80 s .
Figure 4. Compared the SPH simulation made in this work with the made by Gordon R. Johnson (at 80 s ). 4.2. Impact of a plate against a rigid surface This problem has been widely used in the literature , , . An Armco iron cylinder represented with a plate in two dimensions is traveling at 200 m/s and in impacts on a rigid static surface. The plate was 2,546 cm longitude, and 0,76 cm wide (Figure 5). The material properties and parameters of models for the Armco iron are presented in the Table 1 and Table 2. The separation between real particles was 300 m . The Figure 6 shows the final deformed shape of the cylinder and its dimension and the Table 3 is the comparison between the SPH simulation made in this work and the made by Gordon R. Johnson , Libersky  and Liu  . From Figure 6 and
Table 3 it can be seen a good behaviour of our model compared to previous SPH models presented in the literature.
Figure 5. The impact of a plate against a rigid surface, initial condition.
Figure 6. The impact of a plate against a rigid surface, final condition. Table 3. Comparing our SPH simulation of “The impact of a plate against a rigid surface” with that made by Libersky , Liu  and Gordon R. Johnson . Impact cylinder SPH Models Result by Patiño, Reyes et al. Result by Libersky  Result by Liu  Result by Johnson 
Final bar height (cm) 2,02 2,18 2,09 2,11
Final bar width (cm) 1,52 1,52 1,93 1,70
4.3. Penetration of a cylinder through a plate In this case, the model was applied to simulate the penetrating process of an infinitely long aluminum cylinder through an infinitely long aluminum plate, this problem has been widely studied , , . The simulation has two dimensions, taken as the transversal sec-
tion of both cylinder and plate. Figure 7 presents the initial conditions, while the material properties and the parameters for Mie-Gruneisen equation for the Aluminum are presented in Table 4. Table 5 shows the parameter for the Johnson and Cook model and the artificial viscosity coefficient. In this case 12830 particles were initially distributed. The impact speed of the cylinder was 6180 m/s and the simulations were run up to 20 s .
Figure 7. The penetration of a cylinder through a plate, initial conditions. Table 4. The material properties and the parameters for Mie-Gruneisen equation of the Aluminum , .
C p J / kgK
k W / mK
kg / m 3
Table 5.The parameter in Aluminum for the Johnson and Cook model and coefficient in artificial viscosity . A Mpa
The strain in the cylinder and the plate at 20 s can be seen in Figure 8 and Table 6, the comparison between the results of the simulation with the results obtained by Liu  and S. Hiermaier  shows an adequate behavior. The Figure 9 and Figure 10 present the initial impact behavior, showing the equivalent strain and equivalent strain rate, these show a high plastic strains as it should be assumed in the impact test. It is important to say that the deformation behaviour and the strain rate are distributed over the contact and penetration between the cylinder and the plate, which is physically correct, however the model presents some unnatural separations in the cylinder, probably because of the bad interaction between particles at the penetration starting instant. The fracture criterion was only the natural separation between particles . Table 6. Compared simulation behavior in this paper with the made by Liu  and S. Hiermaier  at 20 s . Cylinder and plate Dg (cm) L/w
Patiño, Reyes et. al 3,2 1,388
G.R. Liu  3,35 1,33
S. HIERMAIER  3,5 1,11
Experimental  2,75 - 3,45 1,39
Figure 8. The strain in the cylinder and plane by 20 s .
Figure 9. Equivalent strain by 1, 55 s .
Figure 10. Equivalent strain rate by 1 s . 5. CONCLUSIONS We presented three two-dimensional models of materials strain by the method of Smoothed Particle Hydrodynamics (SPH) for high strains, considering elastic deformations by Hooke's law and plastic strains through the yielding criterion of von Mises and the Johnson-Cook model. The test of High Shear plate shows an adequate behaviour in the interaction between particles in our SPH model compared to other models and experimental data. The impact of a rigid plate against a surface presents realistic behavior between particles and rigid boundaries as compared with other simulations. Penetration of a cylinder through a plate has a good performance relative to other models and experimental values, but we still have some irregular separations at the penetration time. The functionality of SPH for high strain processes modeling was proved and the examples developed showed an appropriate behavior with respect to other models and experimental data. In future implementations an improvement in the fracture criterion to represent the separation between particles in a better way is necessary 6. REFERENCE 
J. J. Monaghan, “Smoothed Particle Hydrodynamics,” Annual Review of Astronomy and Astrophysics, vol. 30, no. 1, pp. 543-574, Sep. 1992.
W. Benz and E. Asphaug, “Simulations of brittle solids using smooth particle hydrodynamics,” Computer Physics Communications, vol. 87, no. 1–2, pp. 253-265, May 1995.
P. Randles and L. D. Libersky, “Smoothed particle hydrodynamics: some recent improvements and applications,” Computer methods in applied mechanics and, vol. 7825, no. 96, 1996.
J. J. Monaghan, “Smoothed Particle Hydrodynamics and Its Diverse Applications,” Annual Review of Fluid Mechanics, 2012.
G. R. Johnson, R. a. Stryk, and S. R. Beissel, “SPH for high velocity impact computations,” Computer Methods in Applied Mechanics and Engineering, vol. 139, no. 1–4, pp. 347-373, Dec. 1996.
L. D. Libersky and A. G. Petschek, Advances in the Free-Lagrange Method Including Contributions on Adaptive Gridding and the Smooth Particle Hydrodynamics Method, vol. 395. Berlin, Heidelberg: Springer Berlin Heidelberg, 1991, pp. 248-257.
P. W. Cleary and R. Das, “The Potential for SPH Modelling of Solid Deformation and Fracture,” Media, pp. 287-296.
J. P. Gray, J. J. Monaghan, and R. P. Swift, “SPH elastic dynamics,” Computer Methods in Applied Mechanics and Engineering, vol. 190, no. 49–50, pp. 6641-6662, Oct. 2001.
S. Hiermaier, D. Konke, A. J. J. Stilp, K. Thoma, and D. Könke, “Computational simulation of the hypervelocity impact of al-spheres on thin plates of different materials,” International Journal of Impact Engineering, vol. 20, no. 1–5, pp. 363-374, Jan. 1997.
 P. Cleary, M. Prakash, and J. Ha, “Novel applications of smoothed particle hydrodynamics (SPH) in metal forming,” Journal of Materials Processing Technology, vol. 177, no. 1–3, pp. 41-48, Jul. 2006.  J. Limido, C. Espinosa, M. Salau, and J. L. Lacome, “SPH method applied to high speed cutting modelling,” International Journal of Mechanical Sciences, vol. 49, pp. 898-908, 2007.  G. R. Johnson and W. H. Cook, “A constitutive model and data for metals subjected to large strains, high strain rates and high temperatures,” Proceedings of the 7th International Symposium on Ballistics, vol. 547, no. 11. the hague, Netherlands, pp. 541-547, 1983.  G. R. Liu and M. B. Liu, Smoothed particle hydrodynamics: a meshfree particle method. Singapore: World Scientific Publishing Co., 2003.  M. B. Liu and G. R. Liu, “Smoothed Particle Hydrodynamics (SPH): an Overview and Recent Developments,” Archives of Computational Methods in Engineering, vol. 17, no. 1, pp. 25-76, 2010.  J. J. Monaghan, “Smoothed particle hydrodynamics,” Reports on Progress in Physics, vol. 68, no. 8, pp. 1703-1759, Aug. 2005.  R. Capuzzo-Dolcetta and R. Di Lisio, “Criterion for the choice of the interpolation kernel in smoothed particle hydrodynamics,” Applied Numerical Mathematics, vol. 34, no. 4, pp. 363-371, Aug. 2000.  R. Gingold and J. Monaghan, “Kernel estimates as a basis for general particle methods in hydrodynamics,” Journal of Computational Physics, vol. 46, no. 3, pp. 429-453, Jun. 1982.
 P. Randles, T. Carney, and L. Libersky, “Calculation of oblique impact and fracture of tungsten cubes using smoothed particle hydrodynamics,” journal of impact, vol. 17, pp. 661-672, 1995.  P. W. Cleary and J. J. Monaghan, “Conduction Modelling Using Smoothed Particle Hydrodynamics,” vol. 264, pp. 227-264, 1999.  F. Dunne and P. N, Introduction to computational plasticity. Oxford University Press, 2005.  E. A. de S. Neto, D. Peric, and D. R. J. Owen, Computational methods for plasticity: theory and applications. Swansea: WILEY A John and Sons,Ltd, 2008.  J. P. Gray and J. J. Monaghan, “Numerical modelling of stress fields and fracture around magma chambers,” Journal of Volcanology and Geothermal Research, vol. 135, pp. 259-283, 2004.  J. J. Monaghan, “On the problem of penetration in particle methods,” Journal of Computational Physics, vol. 82, no. 1, pp. 1-15, May 1989.  J. J. Monaghan and A. Kos, “Solitary Waves on a Cretan Beach,” Journal of Waterway Port Coastal and Ocean Engineering, vol. 125, no. June, pp. 145-154, 1999.  Y. Amini, H. Emdad, and M. Farid, “A new model to solve fluid–hypo-elastic solid interaction using the smoothed particle hydrodynamics (SPH) method,” European Journal of Mechanics - B/Fluids, vol. 30, no. 2, pp. 184-194, Mar. 2011.  S. Seo, O. Min, and J. Lee, “Application of an improved contact algorithm for penetration analysis in SPH,” International Journal of Impact Engineering, vol. 35, no. 6, pp. 578-588, Jun. 2008.  G. A. Dilts, “Moving-least-squares-particle hydrodynamics I. Consistency and stability,” International Journal for Numerical Methods in Engineering, vol. 44, no. 8, pp. 1115-1155, Mar. 1999.  G. A. Dilts, “Moving least-squares particle hydrodynamics II: conservation and boundaries,” International Journal for Numerical Methods in Engineering, vol. 48, no. 10, pp. 1503-1524, Aug. 2000.  G. R. Johnson, “Artificial viscosity effects for SPH impact computations,” International Journal of Impact Engineering, vol. 18, no. 5, pp. 477-488, Jul. 1996.  M. B. Liu, G. R. Liu, and K. Y. Lam, “Adaptive smoothed particle hydrodynamics for high strain hydrodynamics with material strength,” Shock Waves, vol. 15, no. 1, pp. 2129, Jan. 2006.