Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/3610548.3618215acmconferencesArticle/Chapter ViewAbstractPublication Pagessiggraph-asiaConference Proceedingsconference-collections
research-article

An Implicitly Stable Mixture Model for Dynamic Multi-fluid Simulations

Published: 11 December 2023 Publication History

Abstract

Particle-based simulations have become increasingly popular in real-time applications due to their efficiency and adaptability, especially for generating highly dynamic fluid effects. However, the swift and stable simulation of interactions among distinct fluids continues to pose challenges for current mixture model techniques. When using a single-mixture flow field to represent all fluid phases, numerical discontinuities in phase fields can result in significant losses of dynamic effects and unstable conservation of mass and momentum. To tackle these issues, we present an advanced implicit mixture model for smoothed particle hydrodynamics. Instead of relying on an explicit mixture field for all dynamic computations and phase transfers between particles, our approach calculates phase momentum sources from the mixture model to derive explicit and continuous velocity phase fields. We then implicitly obtain the mixture field using a phase-mixture momentum-mapping mechanism that ensures conservation of incompressibility, mass, and momentum. In addition, we propose a mixture viscosity model and establish viscous effects between the mixture and individual fluid phases to avoid instability under extreme inertia conditions. Through a series of experiments, we show that, compared to existing mixture models, our method effectively improves dynamic effects while reducing critical instability factors. This makes our approach especially well-suited for long-duration, efficiency-oriented virtual reality scenarios.

Supplemental Material

MP4 File
Supplementary video
ZIP File
Description from author: TiSPH_multiphase, presented as a part of our SIGGRAPH Asia paper "An Implicitly Stable Mixture Model for Dynamic Multi-fluid Simulations," is a robust open-source tool that encapsulates our novel implicit multiphase solver. Developed with the Taichi programming language, this software is designed for broad compatibility, running efficiently on both Linux and Windows platforms, regardless of the presence of a graphics card. Our extensive testing, conducted on Ubuntu 20.04 and Windows 10/11, assures users of the software's reliability and performance across these operating systems. While TiSPH_multiphase is engineered for functionality in various environments, leveraging an operating system with a Graphical User Interface (GUI) is recommended to maximize the user experience, particularly when engaging with the software's demos. To explore the capabilities of TiSPH_multiphase and witness its application in dynamic multi-fluid simulations, users can run the demos through the command 'python scene_{xxx}.py'. This hands-on approach provides valuable insights into the solver's practical utility and effectiveness. (The Representative image can be replicated using scene_2D_multiphhase_collide_no_GUI.py). For detailed instructions on installation, usage, and more, please consult the README.md file in our GitHub repository at https://github.com/sakamotoyan/TiSPH_multiphase. This comprehensive guide is essential for users seeking to fully harness the potential of TiSPH_multiphase in their multi-fluid simulation projects.

References

[1]
Nadir Akinci, Markus Ihmsen, Gizem Akinci, Barbara Solenthaler, and Matthias Teschner. 2012. Versatile Rigid-Fluid Coupling for Incompressible SPH. ACM Trans. Graph. 31, 4, Article 62 (jul 2012), 8 pages.
[2]
Iván Alduán, Angel Tena, and Miguel A. Otaduy. 2017. DYVERSO: A Versatile Multi-Phase Position-Based Fluids Solution for VFX. Computer Graphics Forum 36, 8 (2017), 32–44.
[3]
Ryoichi Ando, Nils Thuerey, and Chris Wojtan. 2015. A Stream Function Solver for Liquid Simulations. ACM Trans. Graph. 34, 4, Article 53 (jul 2015), 9 pages.
[4]
Stefan Band, Christoph Gissler, Markus Ihmsen, Jens Cornelis, Andreas Peer, and Matthias Teschner. 2018. Pressure Boundaries for Implicit Incompressible SPH. ACM Trans. Graph. 37, 2, Article 14 (feb 2018), 11 pages.
[5]
Kai Bao, Xiaolong Wu, Hui Zhang, and Enhua Wu. 2010. Volume fraction based miscible and immiscible fluid animation. Computer Animation and Virtual Worlds 21, 3–4 (2010), 401–410.
[6]
Jan Bender and Dan Koschier. 2017. Divergence-Free SPH for Incompressible and Viscous Fluids. IEEE Transactions on Visualization and Computer Graphics 23, 3 (2017), 1193–1206.
[7]
Landon Boyd and Robert Bridson. 2012. MultiFLIP for energetic two-phase fluid simulation. ACM Transactions on Graphics 31, 2 (2012), 1–12.
[8]
Christopher E Brennen. 2005. Fundamentals of multiphase flow. Cambridge University Press.
[9]
Robert Bridson. 2015. Fluid simulation for computer graphics. CRC Press.
[10]
Simon Clavet, Philippe Beaudoin, and Pierre Poulin. 2005. Particle-Based Viscoelastic Fluid Simulation. In Proceedings of the 2005 ACM SIGGRAPH/Eurographics Symposium on Computer Animation (Los Angeles, California) (SCA ’05). Association for Computing Machinery, New York, NY, USA, 219–228.
[11]
Gilles Daviet and Florence Bertails-Descoubes. 2017. Simulation of Drucker–Prager granular flows inside Newtonian fluids. (Feb. 2017). https://inria.hal.science/hal-01458951 working paper or preprint.
[12]
Yun (Raymond) Fei, Christopher Batty, Eitan Grinspun, and Changxi Zheng. 2018. A Multi-Scale Model for Simulating Liquid-Fabric Interactions. ACM Trans. Graph. 37, 4, Article 51 (jul 2018), 16 pages. https://doi.org/10.1145/3197517.3201392
[13]
Ming Gao, Andre Pradhana, Xuchen Han, Qi Guo, Grant Kot, Eftychios Sifakis, and Chenfanfu Jiang. 2018. Animating Fluid Sediment Mixture in Particle-Laden Flows. ACM Trans. Graph. 37, 4, Article 149 (jul 2018), 11 pages.
[14]
Yulong Guo, Xiaopei Liu, and Xuemiao Xu. 2017. A Unified Detail-Preserving Liquid Simulation by Two-Phase Lattice Boltzmann Modeling. IEEE Transactions on Visualization and Computer Graphics 23, 5 (2017), 1479–1491.
[15]
Jeong-Mo Hong and Chang-Hun Kim. 2005. Discontinuous Fluids. ACM Trans. Graph. 24, 3 (jul 2005), 915–920.
[16]
Yuanming Hu, Tzu-Mao Li, Luke Anderson, Jonathan Ragan-Kelley, and Frédo Durand. 2019. Taichi: A Language for High-Performance Computation on Spatially Sparse Data Structures. 38, 6, Article 201 (nov 2019), 16 pages.
[17]
Markus Ihmsen, Jens Orthmann, Barbara Solenthaler, Andreas Kolb, and Matthias Teschner. 2014. SPH Fluids in Computer Graphics. Eurographics 2014: State of the art reports (2014).
[18]
Y. Jiang and Y. Lan. 2021. A Dynamic Mixture Model for Non-equilibrium Multiphase Fluids. Computer Graphics Forum 40, 7 (2021), 85–95.
[19]
Y. Jiang, C. Li, S. Deng, and S. M. Hu. 2020. A Divergence-free Mixture Model for Multiphase Fluids. Computer Graphics Forum 39, 8 (2020), 69–77.
[20]
Nahyup Kang, Jinho Park, Junyong Noh, and Sung Yong Shin. 2010. A Hybrid Approach to Multiple Fluid Simulation using Volume Fractions. Computer Graphics Forum 29, 2, 685–694.
[21]
Byungmoon Kim. 2010. Multi-Phase Fluid Simulations Using Regional Level Sets. ACM Trans. Graph. 29, 6, Article 175 (dec 2010), 8 pages.
[22]
Dan Koschier, Jan Bender, Barbara Solenthaler, and Matthias Teschner. 2019. Smoothed Particle Hydrodynamics Techniques for the Physics Based Simulation of Fluids and Solids. Eurographics 2019 - Tutorials.
[23]
Wei Li, Daoming Liu, Mathieu Desbrun, Jin Huang, and Xiaopei Liu. 2021. Kinetic-Based Multiphase Flow Simulation. IEEE Transactions on Visualization and Computer Graphics 27, 7 (2021), 3318–3334.
[24]
Shiguang Liu, Qiguang Liu, and Qunsheng Peng. 2011. Realistic Simulation of Mixing Fluids. Vis. Comput. 27, 3 (mar 2011), 241–248.
[25]
Frank Losasso, Tamar Shinar, Andrew Selle, and Ronald Fedkiw. 2006. Multiple Interacting Liquids. ACM Trans. Graph. 25, 3 (jul 2006), 812–819.
[26]
Mikko Manninen, Veikko Taivassalo, and Sirpa Kallio. 1996. On the mixture model for multiphase flow. VTT Publications288 (1996), 3–67.
[27]
Hai Mao and Yee-Hong Yang. 2006. Particle-Based Immiscible Fluid-Fluid Collision. In Proceedings of Graphics Interface 2006 (Quebec, Canada) (GI ’06). Canadian Information Processing Society, CAN, 49–55.
[28]
Matthias Müller, Barbara Solenthaler, Richard Keiser, and Markus Gross. 2005. Particle-Based Fluid-Fluid Interaction. In Proceedings of the 2005 ACM SIGGRAPH/Eurographics Symposium on Computer Animation (Los Angeles, California) (SCA ’05). Association for Computing Machinery, New York, NY, USA, 237–244.
[29]
Simon Premžoe, Tolga Tasdizen, James Bigler, Aaron Lefohn, and Ross T. Whitaker. 2003. Particle-Based Simulation of Fluids. Computer Graphics Forum 22, 3 (2003), 401–410.
[30]
Bo Ren, Wei He, Chen-Feng Li, and Xu Chen. 2022. Incompressibility Enforcement for Multiple-Fluid SPH Using Deformation Gradient. IEEE Transactions on Visualization and Computer Graphics 28, 10 (2022), 3417–3427.
[31]
Bo Ren, Chen-Feng Li, Xiao Yan, Ming Lin, Javier Bonet, and Shi-Min Hu. 2014. Multiple-Fluid SPH Simulation Using a Mixture Model. ACM Transactions on Graphics 33 (09 2014), 1–11.
[32]
Bo Ren, Xu-Yun Yang, Ming C Lin, Nils Thuerey, Matthias Teschner, and Chenfeng Li. 2018. Visual simulation of multiple fluids in computer graphics: A state-of-the-art report. Journal of Computer Science and Technology 33 (2018), 431–451.
[33]
B. Solenthaler and R. Pajarola. 2008. Density Contrast SPH Interfaces. In Proceedings of the 2008 ACM SIGGRAPH/Eurographics Symposium on Computer Animation (Dublin, Ireland) (SCA ’08). Eurographics Association, Goslar, DEU, 211–218.
[34]
Andre Pradhana Tampubolon, Theodore Gast, Gergely Klár, Chuyuan Fu, Joseph Teran, Chenfanfu Jiang, and Ken Museth. 2017. Multi-Species Simulation of Porous Sand and Water Mixtures. ACM Trans. Graph. 36, 4, Article 105 (jul 2017), 11 pages.
[35]
Joel Wretborn, Sean Flynn, and Alexey Stomakhin. 2022. Guided Bubbles and Wet Foam for Realistic Whitewater Simulation. ACM Trans. Graph. 41, 4, Article 117 (jul 2022), 16 pages. https://doi.org/10.1145/3528223.3530059
[36]
Yanrui Xu. 2023. Implementation of multiphase flow simulation. https://github.com/sakamotoyan/TiSPH_multiphase.
[37]
Xiao Yan, Yun-Tao Jiang, Chen-Feng Li, Ralph R. Martin, and Shi-Min Hu. 2016. Multiphase SPH Simulation for Interactive Fluids and Solids. ACM Trans. Graph. 35, 4, Article 79 (jul 2016), 11 pages.
[38]
Tao Yang, Jian Chang, Ming C. Lin, Ralph R. Martin, Jian J. Zhang, and Shi-Min Hu. 2017. A Unified Particle System Framework for Multi-Phase, Multi-Material Visual Simulations. ACM Trans. Graph. 36, 6, Article 224 (nov 2017), 13 pages.
[39]
Tao Yang, Jian Chang, Bo Ren, Ming C. Lin, Jian Jun Zhang, and Shi-Min Hu. 2015. Fast Multiple-Fluid Simulation Using Helmholtz Free Energy. ACM Trans. Graph. 34, 6, Article 201 (nov 2015), 11 pages.

Cited By

View all
  • (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

Index Terms

  1. An Implicitly Stable Mixture Model for Dynamic Multi-fluid Simulations

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image ACM Conferences
    SA '23: SIGGRAPH Asia 2023 Conference Papers
    December 2023
    1113 pages
    ISBN:9798400703157
    DOI:10.1145/3610548
    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

    Sponsors

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 11 December 2023

    Permissions

    Request permissions for this article.

    Check for updates

    Badges

    Author Tags

    1. fluid simulation
    2. incompressible fluids
    3. mixture models

    Qualifiers

    • Research-article
    • Research
    • Refereed limited

    Funding Sources

    Conference

    SA '23
    Sponsor:
    SA '23: SIGGRAPH Asia 2023
    December 12 - 15, 2023
    NSW, Sydney, Australia

    Acceptance Rates

    Overall Acceptance Rate 178 of 869 submissions, 20%

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)492
    • Downloads (Last 6 weeks)23
    Reflects downloads up to 23 Dec 2024

    Other Metrics

    Citations

    Cited By

    View all
    • (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

    View Options

    Login options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    HTML Format

    View this article in HTML Format.

    HTML Format

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media