[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ skip to main content
research-article

Divergence-Free SPH for Incompressible and Viscous Fluids

Published: 01 March 2017 Publication History

Abstract

In this paper we present a novel Smoothed Particle Hydrodynamics (SPH) method for the efficient and stable simulation of incompressible fluids. The most efficient SPH-based approaches enforce incompressibility either on position or velocity level. However, the continuity equation for incompressible flow demands to maintain a constant density and a divergence-free velocity field. We propose a combination of two novel implicit pressure solvers enforcing both a low volume compression as well as a divergence-free velocity field. While a compression-free fluid is essential for realistic physical behavior, a divergence-free velocity field drastically reduces the number of required solver iterations and increases the stability of the simulation significantly. Thanks to the improved stability, our method can handle larger time steps than previous approaches. This results in a substantial performance gain since the computationally expensive neighborhood search has to be performed less frequently. Moreover, we introduce a third optional implicit solver to simulate highly viscous fluids which seamlessly integrates into our solver framework. Our implicit viscosity solver produces realistic results while introducing almost no numerical damping. We demonstrate the efficiency, robustness and scalability of our method in a variety of complex simulations including scenarios with millions of turbulent particles or highly viscous materials.

References

[1]
B. Solenthaler and R. Pajarola, “Predictive-corrective incompressible SPH,” ACM Trans. Graph., vol. Volume 28, no. Issue 3, pp. 40:1–40:6, 2009.
[2]
M. Ihmsen, J. Cornelis, B. Solenthaler, C. Horvath, and M. Teschner, “Implicit incompressible SPH,” IEEE Trans. Vis. Comput. Graph., vol. Volume 20, no. Issue 3, pp. 426–435, 2014.
[3]
R. Bridson, Fluid Simulation for Computer Graphics . Boca Raton, FL, USA: A K Peters/CRC Press, 2008.
[4]
M. Ihmsen, J. Orthmann, B. Solenthaler, A. Kolb, and M. Teschner, “SPH Fluids in Computer Graphics,” in Proc. Eurographics (State Art Rep.), 2014, pp. 21–42.
[5]
J. Monaghan, “On the problem of penetration in particle methods,” J. Comput. Phys., vol. Volume 82, no. Issue 1, pp. 1–15, 1989.
[6]
J. Monaghan, “Smoothed particle hydrodynamics,” Annu. Rev. Astronomy Astrophysics, vol. Volume 30, no. Issue 1, pp. 543–574, 1992.
[7]
J. Monaghan, “Simulating free surface flows with SPH,” J. Comput. Phys., vol. Volume 110, pp. 399–406, 1994.
[8]
M. Müller, D. Charypar, and M. Gross, “Particle-based fluid simulation for interactive applications,” in Proc. ACM SIGGRAPH/Eurographics Symp. Comput. Animation, 2003, pp. 154–159.
[9]
B. Adams, M. Pauly, R. Keiser, and L. J. Guibas, “Adaptively sampled particle fluids,” ACM Trans. Graph., vol. Volume 26, no. Issue 3, 2007, Art. no. 48.
[10]
M. Becker and M. Teschner, “Weakly compressible SPH for free surface flows,” in Proc. ACM SIGGRAPH/Eurographics Symp. Comput. Animation, 2007, pp. 1–8.
[11]
A. J. Chorin, “Numerical solution of the Navier-Stokes equations,” Math. Comput., vol. Volume 22, no. Issue 104, pp. 745–762, 1968.
[12]
N. Akinci, M. Ihmsen, G. Akinci, B. Solenthaler, and M. Teschner, “Versatile rigid-fluid coupling for incompressible SPH,” ACM Trans. Graph., vol. Volume 31, no. Issue 4, pp. 62:1–62:8, 2012.
[13]
N. Akinci, G. Akinci, and M. Teschner, “Versatile surface tension and adhesion for SPH fluids,” ACM Trans. Graph., vol. Volume 32, no. Issue 6, pp. 1–8, 2013.
[14]
M. Macklin and M. Müller, “Position based fluids,” ACM Trans. Graph., vol. Volume 32, no. Issue 4, pp. 1–5, 2013.
[15]
K. Bodin, C. Lacoursière, and M. Servin, “Constraint fluids,” IEEE Trans. Vis. Comput. Graph., vol. Volume 18, no. Issue 3, pp. 516–526, 2012.
[16]
N. Kang and D. Sagong, “Incompressible SPH using the divergence-free condition,” Comput. Graph. Forum, vol. Volume 33, no. Issue 7, pp. 219–228, 2014.
[17]
S. J. Cummins and M. Rudman, “An SPH projection method,” J. Comput. Phys., vol. Volume 152, pp. 584–607, 1999.
[18]
N. Foster and R. Fedkiw, “Practical animation of liquids,” ACM Trans. Graph., vol. Volume 28, pp. 12–17, 2001.
[19]
Y. Zhu and R. Bridson, “Animating sand as a fluid,” ACM Trans. Graph., vol. Volume 24, no. Issue 3, pp. 965–972, 2005.
[20]
K. Raveendran, C. Wojtan, and G. Turk, “Hybrid smoothed particle hydrodynamics,” in Proc. ACM SIGGRAPH/Eurographics Symp. Comput. Animation, 2011, pp. 33–42.
[21]
R. Ando, N. Thürey, and C. Wojtan, “Highly adaptive liquid simulations on tetrahedral meshes,” ACM Trans. Graph., vol. Volume 32, pp. 103:1–103:10, 2013.
[22]
F. Losasso, J. O. Talton, N. Kwatra, and R. Fedkiw, “Two-way coupled SPH and particle level set fluid simulation,” IEEE Trans. Vis. Comput. Graph., vol. Volume 14, no. Issue 4, pp. 797–804, 2008.
[23]
F. Sin, A. W. Bargteil, and J. K. Hodgins, “A point-based method for animating incompressible flow,” in Proc. ACM SIGGRAPH/Eurographics Symp. Comput. Animation, 2009, pp. 247–255.
[24]
X. Hu and N. Adams, “An incompressible multi-phase SPH method,” J. Comput. Phys., vol. Volume 227, pp. 264–278, 2007.
[25]
X. He, N. Liu, S. Li, H. Wang, and G. Wang, “Local poisson SPH for viscous incompressible fluids,” Comput. Graph. Forum, vol. Volume 31, pp. 1948–1958, 2012.
[26]
F. de Goes, C. Wallez, J. Huang, D. Pavlov, and M. Desbrun, “Power particles: An incompressible fluid solver based on power diagrams,” ACM Trans. Graph., vol. Volume 34, no. Issue 4, pp. 50:1–50:11, 2015.
[27]
N. Foster and D. Metaxas, “Realistic animation of liquids,” Graph. Models Image Process., vol. Volume 58, pp. 471–483, 1996.
[28]
J. Stam, “Stable Fluids,” in Proc. ACM Comput. Graph. Interactive Tech., 1999, pp. 121–128.
[29]
M. Carlson, P. J. Mucha, R. B. Van Horn III, and G. Turk, “Melting and flowing,” in Proc. ACM SIGGRAPH/Eurographics Symp. Comput. Animation, 2002, pp. 167–174.
[30]
N. Rasmussen, et al., “Directable photorealistic liquids,” in Proc. ACM SIGGRAPH/Eurographics Symp. Comput. Animation, 2004, pp. 193–202.
[31]
C. Batty and R. Bridson, “Accurate viscous free surfaces for buckling, coiling, and rotating liquids,” in Proc. ACM SIGGRAPH/Eurographics Symp. Comput. Animation, 2008, pp. 219–228.
[32]
C. Batty and B. Houston, “A simple finite volume method for adaptive viscous liquids,” in Proc. ACM SIGGRAPH/Eurographics Symp. Comput. Animation, 2011, pp. 111–118.
[33]
C. Batty, A. Uribe, B. Audoly, and E. Grinspun, “Discrete viscous sheets,” ACM Trans. Graph., vol. Volume 31, no. Issue 4, pp. 1–7, 2012.
[34]
T. G. Goktekin, A. W. Bargteil, and J. F. O'Brien, “A method for animating viscoelastic fluids,” ACM Trans. Graph., vol. Volume 23, no. Issue 3, pp. 463–468, 2004.
[35]
J. Morris and J. Monaghan, “A switch to reduce SPH viscosity,” J. Comput. Phys., vol. Volume 136, no. Issue 1, pp. 41–50, 1997.
[36]
S. Premoe, T. Tasdizen, J. Bigler, A. Lefohn, and R. T. Whitaker, “Particle-based simulation of fluids,” Comput. Graph. Forum, vol. Volume 22, pp. 401–410, 2003.
[37]
H. Schechter and R. Bridson, “Ghost SPH for animating water,” ACM Trans. Graph., vol. Volume 31, no. Issue 4, pp. 61:1–61:8, 2012.
[38]
A. Paiva, F. Petronetto, T. Lewiner, and G. Tavares, “Particle-based non-Newtonian fluid animation for melting objects,” in Proc. 19th IEEE Brazilian Symp. Comput. Graph. Image Process., 2006, pp. 78–85.
[39]
A. Paiva, F. Petronetto, T. Lewiner, and G. Tavares, “Particle-based viscoplastic fluid/solid simulation,” Comput.-Aided Des., vol. Volume 41, no. Issue 4, pp. 306–314, 2009.
[40]
L. F. de Souza Andrade, M. Sandim, F. Petronetto, P. Pagliosa, and A. Paiva, “SPH fluids for viscous jet buckling,” in Proc. 27th IEEE SIBGRAPI Conf. Graph. Patterns Images, 2014, pp. 65–72.
[41]
A. Peer, M. Ihmsen, J. Cornelis, and M. Teschner, “An implicit viscosity formulation for SPH fluids,” ACM Trans. Graph., vol. Volume 34, no. Issue 4, pp. 1–10, 2015.
[42]
T. Takahashi, Y. Dobashi, I. Fujishiro, T. Nishita, and M. Lin, “Implicit formulation for SPH-based viscous fluids,” Comput. Graph. Forum, vol. Volume 34, no. Issue 2, pp. 493–502, 2015.
[43]
S. Clavet, P. Beaudoin, and P. Poulin, “Particle-based viscoelastic fluid simulation,” in Proc. ACM SIGGRAPH/Eurographics Symp. Comput. Animation, 2005, pp. 1–11.
[44]
T. Takahashi, T. Nishita, and I. Fujishiro, “Fast simulation of viscous fluids with elasticity and thermal conductivity using position-based dynamics,” Comput. Graphics, vol. Volume 43, no. Issue 1, pp. 21–30, 2014.
[45]
T. Takahashi, Y. Dobashi, I. Fujishiro, and T. Nishita, “Volume preserving viscoelastic fluids with large deformations using position-based velocity corrections,” The Vis. Comput., vol. Volume 32, pp. 57–66, 2014.
[46]
D. Gerszewski, H. Bhattacharya, and A. W. Bargteil, “A point-based method for animating elastoplastic solids,” in Proc. ACM SIGGRAPH/Eurographics Symp. Comput. Animation, vol. Volume 1, 2009, pp. 133–138.
[47]
B. Jones, S. Ward, A. Jallepalli, J. Perenia, and A. W. Bargteil, “Deformation embedding for point-based elastoplastic simulation,” ACM Trans. Graph., vol. Volume 33, no. Issue 2, pp. 1–9, 2014.
[48]
C. Wojtan and G. Turk, “Fast viscoelastic behavior with thin features,” ACM Trans. Graph., vol. Volume 27, no. Issue 3, pp. 47:1–47:8, 2008.
[49]
M. Bergou, B. Audoly, E. Vouga, M. Wardetzky, and E. Grinspun, “Discrete viscous threads,” ACM Trans. Graph., vol. Volume 29, no. Issue 4, 2010, Art. no. 116.
[50]
B. Zhu, M. Lee, E. Quigley, and R. Fedkiw, “Codimensional non-newtonian fluids,” ACM Trans. Graph., vol. Volume 34, no. Issue 4, pp. 1–9, 2015.
[51]
M. Desbrun and M.-P. Gascuel, “Smoothed particles: A new paradigm for animating highly deformable bodies,” in Proc. Eurographics Workshop Comput. Animation Simul., 1996, pp. 61–76.
[52]
M. Ihmsen, N. Akinci, M. Becker, and M. Teschner, “A parallel SPH implementation on multi-core CPUs,” Comput. Graph. Forum, vol. Volume 30, no. Issue 1, pp. 99–112, 2011.
[53]
F. Losasso, T. Shinar, A. Selle, and R. Fedkiw, “Multiple interacting liquids,” ACM Trans. Graph., vol. Volume 25, no. Issue 3, pp. 812–819, 2006.
[54]
X. He, H. Wang, F. Zhang, H. Wang, G. Wang, and K. Zhou, “Robust simulation of sparsely sampled thin features in SPH-based free surface flows,” ACM Trans. Graph., vol. Volume 34, no. Issue 1, pp. 7:1–7:9, 2014.
[55]
E. Coumans, The bullet physics library, 2015. {Online}. Available: http://www.bulletphysics.org

Cited By

View all
  • (2024)Neural Monte Carlo Fluid SimulationACM SIGGRAPH 2024 Conference Papers10.1145/3641519.3657438(1-11)Online publication date: 13-Jul-2024
  • (2024)A Unified MPM Framework Supporting Phase-field Models and Elastic-viscoplastic Phase TransitionACM Transactions on Graphics10.1145/363804743:2(1-19)Online publication date: 3-Jan-2024
  • (2024)Multiphase Viscoelastic Non-Newtonian Fluid SimulationProceedings of the ACM SIGGRAPH/Eurographics Symposium on Computer Animation10.1111/cgf.15180(1-12)Online publication date: 21-Aug-2024
  • Show More Cited By

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image IEEE Transactions on Visualization and Computer Graphics
IEEE Transactions on Visualization and Computer Graphics  Volume 23, Issue 3
March 2017
106 pages

Publisher

IEEE Educational Activities Department

United States

Publication History

Published: 01 March 2017

Qualifiers

  • Research-article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 01 Jan 2025

Other Metrics

Citations

Cited By

View all
  • (2024)Neural Monte Carlo Fluid SimulationACM SIGGRAPH 2024 Conference Papers10.1145/3641519.3657438(1-11)Online publication date: 13-Jul-2024
  • (2024)A Unified MPM Framework Supporting Phase-field Models and Elastic-viscoplastic Phase TransitionACM Transactions on Graphics10.1145/363804743:2(1-19)Online publication date: 3-Jan-2024
  • (2024)Multiphase Viscoelastic Non-Newtonian Fluid SimulationProceedings of the ACM SIGGRAPH/Eurographics Symposium on Computer Animation10.1111/cgf.15180(1-12)Online publication date: 21-Aug-2024
  • (2024)Towards the automatic network resource management of OPC UA in 5G private networksComputer Networks: The International Journal of Computer and Telecommunications Networking10.1016/j.comnet.2024.110581250:COnline publication date: 1-Aug-2024
  • (2023)Implicit Surface Tension for SPH Fluid SimulationACM Transactions on Graphics10.1145/363193643:1(1-14)Online publication date: 30-Nov-2023
  • (2023)Real-Time Reconstruction of Fluid Flow under Unknown DisturbanceACM Transactions on Graphics10.1145/362401143:1(1-14)Online publication date: 17-Oct-2023
  • (2023)High-Order Moment-Encoded Kinetic Simulation of Turbulent FlowsACM Transactions on Graphics10.1145/361834142:6(1-13)Online publication date: 5-Dec-2023
  • (2023)DiffFR: Differentiable SPH-Based Fluid-Rigid Coupling for Rigid Body ControlACM Transactions on Graphics10.1145/361831842:6(1-17)Online publication date: 5-Dec-2023
  • (2023)An Implicitly Stable Mixture Model for Dynamic Multi-fluid SimulationsSIGGRAPH Asia 2023 Conference Papers10.1145/3610548.3618215(1-11)Online publication date: 10-Dec-2023
  • (2023)A comparison of linear consistent correction methods for first-order SPH derivativesProceedings of the ACM on Computer Graphics and Interactive Techniques10.1145/36069336:3(1-20)Online publication date: 24-Aug-2023
  • Show More Cited By

View Options

View options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media