Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
research-article

Restoring the missing vorticity in advection-projection fluid solvers

Published: 27 July 2015 Publication History

Abstract

Most visual effects fluid solvers use a time-splitting approach where velocity is first advected in the flow, then projected to be incompressible with pressure. Even if a highly accurate advection scheme is used, the self-advection step typically transfers some kinetic energy from divergence-free modes into divergent modes, which are then projected out by pressure, losing energy noticeably for large time steps. Instead of taking smaller time steps or using significantly more complex time integration, we propose a new scheme called IVOCK (Integrated Vorticity of Convective Kinematics) which cheaply captures much of what is lost in self-advection by identifying it as a violation of the vorticity equation. We measure vorticity on the grid before and after advection, taking into account vortex stretching, and use a cheap multigrid V-cycle approximation to a vector potential whose curl will correct the vorticity error. IVOCK works independently of the advection scheme (we present examples with various semi-Lagrangian methods and FLIP), works independently of how boundary conditions are applied (it just corrects error in advection, leaving pressure etc. to take care of boundaries and other forces), and other solver parameters (we provide smoke, fire, and water examples). For 10 ~ 25% extra computation time per step much larger steps can be used, while producing detailed vorticial structures and convincing turbulence that are lost without correction.

Supplementary Material

ZIP File (a52-zhang.zip)
Supplemental files
MP4 File (a52.mp4)

References

[1]
Barnes, J., and Hut, P. 1986. A hierarchical O(N log N) force-calculation algorithm. Nature 324, 446--449.
[2]
Batty, C., Bertails, F., and Bridson, R. 2007. A fast variational framework for accurate solid-fluid coupling. ACM Trans. Graph. (Proc. SIGGRAPH) 26, 3, 100.
[3]
Bridson, R. 2008. Fluid Simulation for Computer Graphics. A K Peters / CRC Press.
[4]
Brochu, T., Keeler, T., and Bridson, R. 2012. Linear-time smoke animation with vortex sheet meshes. In Proc. ACM SIGGRAPH / Eurographics Symp. Comp. Animation, 87--95.
[5]
Edwards, E., and Bridson, R. 2014. Detailed water with coarse grids: combining surface meshes and adaptive discontinuous Galerkin. ACM Trans. Graph. (Proc. SIGGRAPH) 33, 4, 136:1--9.
[6]
Elcott, S., Tong, Y., Kanso, E., Schröder, P., and Desbrun, M. 2007. Stable, circulation-preserving, simplicial fluids. ACM Trans. Graph. 26, 1 (Jan.).
[7]
Fedkiw, R., Stam, J., and Jensen, H. W. 2001. Visual simulation of smoke. In Proc. ACM SIGGRAPH, 15--22.
[8]
Feldman, B. E., O'Brien, J. F., and Arikan, O. 2003. Animating suspended particle explosions. ACM Trans. Graph. (Proc. SIGGRAPH) 22, 3, 708--715.
[9]
Foster, N., and Fedkiw, R. 2001. Practical animation of liquids. In Proc. ACM SIGGRAPH, 23--30.
[10]
Harlow, F. H., and Welch, J. E. 1965. Numerical calculation of time-dependent viscous incompressible flow of fluid with free surfaces. Physics of fluids 8, 2182--2189.
[11]
Kim, B., Liu, Y., Llamas, I., and Rossignac, J. 2005. Flow-Fixer: Using BFECC for fluid simulation. In Proc. First Eurographics Conf. on Natural Phenomena, NPH'05, 51--56.
[12]
Kim, T., Thurey, N., James, D., and Gross, M. H. 2008. Wavelet turbulence for fluid simulation. ACM Trans. Graph. (Proc. SIGGRAPH) 27, 3, 50.
[13]
Lentine, M., Aanjaneya, M., and Fedkiw, R. 2011. Mass and momentum conservation for fluid simulation. In Proc. ACM SIGGRAPH / Eurographics Symp. Comp. Anim., 91--100.
[14]
Liu, C. H., and Doorly, D. J. 2000. Vortex particle-in-cell method for three-dimensional viscous unbounded flow computations. International Journal for Numerical Methods in Fluids 32, 1, 23--42.
[15]
Losasso, F., Gibou, F., and Fedkiw, R. 2004. Simulating water and smoke with an octree data structure. ACM Trans. Graph. (Proc. SIGGRAPH) 23, 3, 457--462.
[16]
Macklin, M., and Müller, M. 2013. Position based fluids. ACM Trans. Graph. (Proc. SIGGRAPH) 32, 4, 104.
[17]
McAdams, A., Sifakis, E., and Teran, J. 2010. A parallel multigrid poisson solver for fluids simulation on large grids. In Proc. ACM SIGGRAPH / Eurographics Symp. Comp. Anim., 65--74.
[18]
Mullen, P., Crane, K., Pavlov, D., Tong, Y., and Desbrun, M. 2009. Energy-preserving integrators for fluid animation. ACM Trans. Graph. (Proc. SIGGRAPH) 28, 3, 38:1--38:8.
[19]
Nguyen, D. Q., Fedkiw, R., and Jensen, H. W. 2002. Physically based modeling and animation of fire. ACM Trans. Graph. (Proc. SIGGRAPH) 21, 3, 721--728.
[20]
Park, S. I., and Kim, M.-J. 2005. Vortex fluid for gaseous phenomena. In Proc. ACM SIGGRAPH / Eurographics Symp. Comp. Animation, 261--270.
[21]
Pfaff, T., Thuerey, N., Selle, A., and Gross, M. 2009. Synthetic turbulence using artificial boundary layers. ACM Trans. Graph. 28, 5, 121.
[22]
Pfaff, T., Thuerey, N., and Gross, M. 2012. Lagrangian vortex sheets for animating fluids. ACM Trans. Graph. (Proc. SIGGRAPH) 31, 4, 112:1--8.
[23]
Selle, A., Rasmussen, N., and Fedkiw, R. 2005. A vortex particle method for smoke, water and explosions. ACM Trans. Graph. (Proc. SIGGRAPH) 24, 3, 910--914.
[24]
Selle, A., Fedkiw, R., Kim, B., Liu, Y., and Rossignac, J. 2008. An Unconditionally Stable MacCormack Method. J. Scientific Computing 35, 2-3, 350--371.
[25]
Setaluri, R., Aanjaneya, M., Bauer, S., and Sifakis, E. 2014. SPGrid: A sparse paged grid structure applied to adaptive smoke simulation. ACM Trans. Graph. (Proc. SIGGRAPH Asia) 33, 6, 205:1--205:12.
[26]
Stam, J. 1999. Stable fluids. In Proc. ACM SIGGRAPH, 121--128.
[27]
Steinhoff, J., and Underhill, D. 1994. Modification of the Euler equations for "vorticity confinement": Application to the computation of interacting vortex rings. Physics of Fluids 6, 2738--2744.
[28]
Tabak, E. G., 2002. Vortex stretching in incompressible and compressible fluids. Courant Institute, Lecture Notes (Fluid Dynamics II), http://www.math.nyu.edu/faculty/tabak/vorticity.pdf.
[29]
Weissmann, S., and Pinkall, U. 2010. Filament-based smoke with vortex shedding and variational reconnection. ACM Trans. Graph. (Proc. SIGGRAPH) 29, 4, 115.
[30]
Yaeger, L., Upson, C., and Myers, R. 1986. Combining physical and visual simulation--creation of the planet Jupiter for the film "2010". Proc. SIGGRAPH 20, 4 (Aug.), 85--93.
[31]
Zhang, X., and Bridson, R. 2014. A PPPM fast summation method for fluids and beyond. ACM Trans. Graph. (Proc. SIGGRAPH Asia) 33, 6, 206:1--11.
[32]
Zhu, Y., and Bridson, R. 2005. Animating sand as a fluid. ACM Trans. Graph. (Proc. SIGGRAPH) 24, 3, 965--972.

Cited By

View all
  • (2024)Monte Carlo Vortical Smoothed Particle Hydrodynamics for Simulating Turbulent FlowsComputer Graphics Forum10.1111/cgf.1502443:2Online publication date: 30-Apr-2024
  • (2024)The Impulse Particle‐In‐Cell MethodComputer Graphics Forum10.1111/cgf.1502243:2Online publication date: 24-Apr-2024
  • (2024)Physics-based fluid simulation in computer graphics: Survey, research trends, and challengesComputational Visual Media10.1007/s41095-023-0368-yOnline publication date: 27-Apr-2024
  • Show More Cited By

Index Terms

  1. Restoring the missing vorticity in advection-projection fluid solvers

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image ACM Transactions on Graphics
    ACM Transactions on Graphics  Volume 34, Issue 4
    August 2015
    1307 pages
    ISSN:0730-0301
    EISSN:1557-7368
    DOI:10.1145/2809654
    Issue’s Table of Contents
    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 ACM 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]

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 27 July 2015
    Published in TOG Volume 34, Issue 4

    Permissions

    Request permissions for this article.

    Check for updates

    Author Tags

    1. advection
    2. fluid simulation
    3. vorticity

    Qualifiers

    • Research-article

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)29
    • Downloads (Last 6 weeks)7
    Reflects downloads up to 04 Oct 2024

    Other Metrics

    Citations

    Cited By

    View all
    • (2024)Monte Carlo Vortical Smoothed Particle Hydrodynamics for Simulating Turbulent FlowsComputer Graphics Forum10.1111/cgf.1502443:2Online publication date: 30-Apr-2024
    • (2024)The Impulse Particle‐In‐Cell MethodComputer Graphics Forum10.1111/cgf.1502243:2Online publication date: 24-Apr-2024
    • (2024)Physics-based fluid simulation in computer graphics: Survey, research trends, and challengesComputational Visual Media10.1007/s41095-023-0368-yOnline publication date: 27-Apr-2024
    • (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)A Parametric Kinetic Solver for Simulating Boundary-Dominated Turbulent Flow PhenomenaACM Transactions on Graphics10.1145/361831342:6(1-20)Online publication date: 5-Dec-2023
    • (2023)Fluid CohomologyACM Transactions on Graphics10.1145/359240242:4(1-25)Online publication date: 26-Jul-2023
    • (2023)Building a Virtual Weakly-Compressible Wind Tunnel Testing FacilityACM Transactions on Graphics10.1145/359239442:4(1-20)Online publication date: 26-Jul-2023
    • (2023)Iridescent Water Droplets Beyond Mie ScatteringComputer Graphics Forum10.1111/cgf.1489342:4Online publication date: 26-Jul-2023
    • (2023)A Second‐Order Explicit Pressure Projection Method for Eulerian Fluid SimulationComputer Graphics Forum10.1111/cgf.1462741:8(95-105)Online publication date: 20-Mar-2023
    • (2023)Impulse Fluid SimulationIEEE Transactions on Visualization and Computer Graphics10.1109/TVCG.2022.314946629:6(3081-3092)Online publication date: 1-Jun-2023
    • Show More Cited By

    View Options

    Get Access

    Login options

    Full Access

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media