Smoothed-particle hydrodynamics

Smoothed-particle hydrodynamics (SPH) is a computational method used for simulating the dynamics of continuum media, such as solid mechanics and fluid flows. It was developed by Gingold and Monaghan (1977) and Lucy (1977) initially for astrophysical problems. It has been used in many fields of research, including astrophysics, ballistics, volcanology, and oceanography. It is a mesh-free Lagrangian method (where the coordinates move with the fluid), and the resolution of the method can easily be adjusted with respect to variables such as the density.

Method

The smoothed-particle hydrodynamics (SPH) method works by dividing the fluid into a set of discrete elements, referred to as particles. These particles have a spatial distance (known as the "smoothing length", typically represented in equations by ), over which their properties are "smoothed" by a kernel function. This means that the physical quantity of any particle can be obtained by summing the relevant properties of all the particles which lie within the range of the kernel. For example, using Monaghan's popular cubic spline kernel the temperature at position depends on the temperatures of all the particles within a radial distance of .

The contributions of each particle to a property are weighted according to their distance from the particle of interest, and their density. Mathematically, this is governed by the kernel function (symbol ). Kernel functions commonly used include the Gaussian function and the cubic spline. The latter function is exactly zero for particles further away than two smoothing lengths (unlike the Gaussian, where there is a small contribution at any finite distance away). This has the advantage of saving computational effort by not including the relatively minor contributions from distant particles.

The equation for any quantity at any point is given by the equation

where is the mass of particle , is the value of the quantity for particle , is the density associated with particle , denotes position and is the kernel function mentioned above. For example, the density of particle () can be expressed as:

where the summation over includes all particles in the simulation.

Similarly, the spatial derivative of a quantity can be obtained easily by virtue of the linearity of the derivative (del, ).

Although the size of the smoothing length can be fixed in both space and time, this does not take advantage of the full power of SPH. By assigning each particle its own smoothing length and allowing it to vary with time, the resolution of a simulation can be made to automatically adapt itself depending on local conditions. For example, in a very dense region where many particles are close together the smoothing length can be made relatively short, yielding high spatial resolution. Conversely, in low-density regions where individual particles are far apart and the resolution is low, the smoothing length can be increased, optimising the computation for the regions of interest. Combined with an equation of state and an integrator, SPH can simulate hydrodynamic flows efficiently. However, the traditional artificial viscosity formulation used in SPH tends to smear out shocks and contact discontinuities to a much greater extent than state-of-the-art grid-based schemes.

The Lagrangian-based adaptivity of SPH is analogous to the adaptivity present in grid-based adaptive mesh refinement codes. In some ways it is actually simpler because SPH particles lack any explicit topology relating them, unlike the elements in FEM. Adaptivity in SPH can be introduced in two ways; either by changing the particle smoothing lengths or by splitting SPH particles into 'daughter' particles with smaller smoothing lengths. The first method is common in astrophysical simulations where the particles naturally evolve into states with large density differences.[1] However, in hydrodynamics simulations where the density is often (approximately) constant this is not a suitable method for adaptivity. For this reason particle splitting can be employed, with various conditions for splitting ranging from distance to a free surface [2] through to material shear.[3]

Often in astrophysics, one wishes to model self-gravity in addition to pure hydrodynamics. The particle-based nature of SPH makes it ideal to combine with a particle-based gravity solver, for instance tree gravity code,[4] particle mesh, or particle-particle particle-mesh.

Uses in astrophysics

Smoothed-particle hydrodynamics's adaptive resolution, numerical conservation of physically conserved quantities, and ability to simulate phenomena covering many orders of magnitude make it ideal for computations in theoretical astrophysics.[5]

Simulations of galaxy formation, star formation, stellar collisions,[6] supernovae[7] and meteor impacts are some of the wide variety of astrophysical and cosmological uses of this method.

SPH is used to model hydrodynamic flows, including possible effects of gravity. Incorporating other astrophysical processes which may be important, such as radiative transfer and magnetic fields is an active area of research in the astronomical community, and has had some limited success.[8][9]

Uses in fluid simulation

Fig. SPH simulation of ocean waves using FLUIDS v.1 (Hoetzlein)

Smoothed-particle hydrodynamics is being increasingly used to model fluid motion as well. This is due to several benefits over traditional grid-based techniques. First, SPH guarantees conservation of mass without extra computation since the particles themselves represent mass. Second, SPH computes pressure from weighted contributions of neighboring particles rather than by solving linear systems of equations. Finally, unlike grid-based techniques which must track fluid boundaries, SPH creates a free surface for two-phase interacting fluids directly since the particles represent the denser fluid (usually water) and empty space represents the lighter fluid (usually air). For these reasons it is possible to simulate fluid motion using SPH in real time. However, both grid-based and SPH techniques still require the generation of renderable free surface geometry using a polygonization technique such as metaballs and marching cubes, point splatting, or "carpet" visualization. For gas dynamics it is more appropriate to use the kernel function itself to produce a rendering of gas column density (e.g. as done in the SPLASH visualisation package).

One drawback over grid-based techniques is the need for large numbers of particles to produce simulations of equivalent resolution. In the typical implementation of both uniform grids and SPH particle techniques, many voxels or particles will be used to fill water volumes which are never rendered. However, accuracy can be significantly higher with sophisticated grid-based techniques, especially those coupled with particle methods (such as particle level sets), since it is easier to enforce the incompressibility condition in these systems. SPH for fluid simulation is being used increasingly in real-time animation and games where accuracy is not as critical as interactivity.

Recent work in SPH for Fluid simulation has increased performance, accuracy, and areas of application:

Uses in solid mechanics

In 1990, Libersky and Petschek [20][21] extended SPH to Solid Mechanics.

The main advantage of SPH is the possibility of dealing with larger local distortion than grid-based methods. This feature has been exploited in many applications in Solid Mechanics: metal forming, impact, crack growth, fracture, fragmentation, etc. Another important advantage of meshfree methods in general, and of SPH in particular, is that mesh dependence problems are naturally avoided given the meshfree nature of the method. In particular, mesh alignment is related to problems involving cracks and it is avoided in SPH due to the isotropic support of the kernel functions. However, classical SPH formulations suffer from tensile instabilities [22] and lack of consistency.[23] Over the past years, different corrections have been introduced to improve the accuracy of the SPH solution. That is the case of Liu et al.,[24] Randles and Libersky [25] and Johnson and Beissel,[26] who tried to solve the consistency problem. Dyka et al.[27][28] and Randles and Libersky [29] introduced the stress-point integration into SPH and Belytschko et al.[30] showed later that the stress-point technique removes the instability due to spurious singular modes while tensile instabilities can be avoided by using a Lagrangian kernel. Many other recent studies can be found in the literature devoted to improve the convergence of the SPH method.

Recent improvements in understanding the convergence and stability of SPH have allowed for more widespread applications in Solid Mechanics. Here are some recent examples of applications and developments of the method:

Notes

  1. J. Michael Owen; Jens V. Villumsen; Paul R. Shapiro; Hugo Martel (1998). "Adaptive Smoothed Particle Hydrodynamics: Methodology II". The Astrophysical Journal Supplement Series. 2 (116). arXiv:astro-ph/9512078Freely accessible. doi:10.1086/313100.
  2. Yan, H.; Wang, Z.; He, J.; Chen, X.; Wang, C.; Peng, Q. (2009). "Real-time fluid simulation with adaptive SPH". Computer Animation and Virtual Worlds. 2 - 3 (30). doi:10.1002/cav.300.
  3. Liu, M. B.; Liu, G. R.; Lam, K. Y. (2006). "Adaptive smoothed particle hydrodynamics for high strain hydrodynamics with material strength" (PDF). Shock Waves. 1 (15): 21–29. doi:10.1007/s00193-005-0002-1. Retrieved February 1, 2017.
  4. Marios D. Dikaiakos; Joachim Stadel, PKDGRAV The Parallel k-D Tree Gravity Code, retrieved February 1, 2017
  5. https://arxiv.org/abs/0903.5075
  6. Rosswog, Stephan (2015). "SPH Methods in the Modelling of Compact Objects". Living Rev Comput Astrophys. 1 (1). Bibcode:2015LRCA....1....1R. doi:10.1007/lrca-2015-1.
  7. https://arxiv.org/abs/astro-ph/0512532
  8. http://www.astro.ex.ac.uk/people/mbate/Cluster/clusterRT.html
  9. http://users.monash.edu.au/~dprice/pubs/spmhd/price-spmhd.pdf
  10. Solenthaler (2009). "Predictive-Corrective Incompressible SPH".
  11. Imhsen (2010). "Boundary handling and adaptive time-stepping for PCISPH". Workshop on Virtual Reality Interaction and Physical Simulation VRIPHYS.
  12. Bodin (2011). "Constraint Fluids. http://www.physics.umu.se/english/research/statistical-physics-and-networks/complex-mechanical-systems/fluids-and-solids/". IEEE Transactions on Visualization and Computer Graphics. External link in |title= (help)
  13. Hoetzlein (2012). "Fluids v.3, A Large scale, Open Source Fluid Simulator. http://fluids3.com". External link in |title= (help)
  14. Akinci (2012). "Versatile Rigid-Fluid Coupling for Incompressible SPH http://www.nadir.tk/research". ACM TOG, SIGGRAPH proceedings. External link in |title= (help)
  15. Macklin (2013). "Position Based Fluids http://blog.mmacklin.com/publications". ACM TOG, SIGGRAPH proceedings. External link in |title= (help)
  16. Akinci (2013). "Versatile Surface Tension and Adhesion for SPH Fluids SPH http://www.nadir.tk/research". ACM TOG, SIGGRAPH proceedings. External link in |title= (help)
  17. Journal of Tribology (2013). "Application of Smoothed Particle Hydrodynamics to Full-Film Lubrication".
  18. Mahdavi and Talebbeydokhti (2015). "A hybrid solid boundary treatment algorithm for smoothed particle hydrodynamics https://www.researchgate.net/publication/282870566_A_hybrid_solid_boundary_treatment_algorithm_for_smoothed_particle_hydrodynamics". Scientia Iranica, Transaction A, Civil Engineering. 22 (4): 1457–1469. External link in |title= (help)
  19. International Journal for Numerical Methods in Fluids (2016). "Curvilinear smoothed particle hydrodynamics".
  20. 1 2 Libersky, L.D.; Petschek, A.G. (1990). "Smooth Particle Hydrodynamics with Strength of Materials, Advances in the Free Lagrange Method". Lecture Notes in Physics. 395: 248–257. doi:10.1007/3-540-54960-9_58.
  21. L.D. Libersky; A.G. Petschek; A.G. Carney; T.C. Hipp; J.R. Allahdadi; F.A. High (1993). "Strain Lagrangian hydrodynamics: a three-dimensional SPH code for dynamic material response". J. Comput. Phys. 109: 67–75.
  22. J.W. Swegle; D.A. Hicks; S.W. Attaway (1995). "Smooth particle hydrodynamics stability analysis". J. Comput. Phys. 116: 123–134. Bibcode:1995JCoPh.116..123S. doi:10.1006/jcph.1995.1010.
  23. T. Belytschko; Y. Krongauz; J. Dolbow; C. Gerlach (1998). "On the completeness of meshfree particle methods". Int. J. Numer. Methods Eng. 43: 785–819. Bibcode:1998IJNME..43..785B. doi:10.1002/(sici)1097-0207(19981115)43:5<785::aid-nme420>3.0.co;2-9.
  24. W.K. Liu; S. Jun; Y.F. Zhang (1995). "Reproducing kernel particle methods". Int. J. Numer. Methods Eng. 20 (8–9): 1081–1106. Bibcode:1995IJNMF..20.1081L. doi:10.1002/fld.1650200824.
  25. 1 2 P.W. Randles; L.D. Libersky (1997). "Recent improvements in SPH modelling of hypervelocity impact". Int. J. Impact Eng. 20: 525–532. doi:10.1016/s0734-743x(97)87441-6.
  26. 1 2 G.R. Johnson; S.R. Beissel (1996). "Normalized smoothing functions for SPH impact computations". Int. J. Numer. Methods Eng. 39: 2725–2741. Bibcode:1996IJNME..39.2725J. doi:10.1002/(sici)1097-0207(19960830)39:16<2725::aid-nme973>3.0.co;2-9.
  27. C.T. Dyka; R.P. Ingel (1995). "An approach for tension instability in Smoothed Particle Hydrodynamics". Comput. Struct. 57: 573–580. doi:10.1016/0045-7949(95)00059-p.
  28. C.T. Dyka; P.W. Randles; R.P. Ingel (1997). "Stress points for tension instability in SPH". Int. J. Numer. Methods Eng. 40: 2325–2341. Bibcode:1997IJNME..40.2325D. doi:10.1002/(sici)1097-0207(19970715)40:13<2325::aid-nme161>3.0.co;2-8.
  29. P.W. Randles; L.D. Libersky (2000). "Normalized SPH with stress points". Int. J. Numer. Methods Eng. 48: 1445–1462. Bibcode:2000IJNME..48.1445R. doi:10.1002/1097-0207(20000810)48:10<1445::aid-nme831>3.0.co;2-9.
  30. T. Belytschko; Y. Guo; W.K. Liu; S.P. Xiao (2000). "A unified stability analysis of meshless particle methods". Int. J. Numer. Methods Eng. 48: 1359–1400. Bibcode:2000IJNME..48.1359B. doi:10.1002/1097-0207(20000730)48:9<1359::aid-nme829>3.0.co;2-u.
  31. J. Bonet; S. Kulasegaram (2000). "Correction and stabilization of smooth particle hydrodynamics methods with applications in metal forming simulations". Int. J. Numer. Methods Eng. 47: 1189–1214. Bibcode:2000IJNME..47.1189B. doi:10.1002/(sici)1097-0207(20000228)47:6<1189::aid-nme830>3.0.co;2-i.
  32. W. G. Hoover; C. G. Hoover (2001). Computing in Science and Engineering. 3 (2): 78–85. Missing or empty |title= (help)
  33. T. Rabczuk; J. Eibl; L. Stempniewski (2003). "Simulation of high velocity concrete fragmentation using SPH/MLSPH". Int. J. Numer. Methods Eng. 56: 1421–1444. Bibcode:2003IJNME..56.1421R. doi:10.1002/nme.617.
  34. M.I. Herreros; M. Mabssout (2011). "A two-steps time discretization scheme using the SPH method for shock wave propagation". Comput. Methods Appl. Mech. Engrg. 200: 1833–1845. Bibcode:2011CMAME.200.1833H. doi:10.1016/j.cma.2011.02.006.

References

Software

This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.