Abstract
We present an efficient geometric Multigrid solver for simulating viscous liquids based on the variational approach of Batty and Bridson [2008]. Although the governing equations for viscosity are elliptic, the strong coupling between different velocity components in the discrete stencils mandates the use of more exotic smoothing techniques to achieve textbook Multigrid efficiency. Our key contribution is the design of a novel box smoother involving small and sparse systems (at most 9 x 9 in 2D and 15 x 15 in 3D), which yields excellent convergence rates and performance improvements of 3.5x - 13.8x over a naïve Multigrid approach. We employ a hybrid approach by using a direct solver only inside the box smoother and keeping the remaining pipeline assembly-free, allowing our solver to efficiently accommodate more than 194 million degrees of freedom, while occupying a memory footprint of less than 16 GB. To reduce the computational overhead of using the box smoother, we precompute the Cholesky factorization of the subdomain system matrix for all interior degrees of freedom. We describe how the variational formulation, which requires volume weights computed at the centers of cells, edges, and faces, can be naturally accommodated in the Multigrid hierarchy to properly enforce boundary conditions. Our proposed Multigrid solver serves as an excellent preconditioner for Conjugate Gradients, outperforming existing state-of-the-art alternatives. We demonstrate the efficacy of our method on several high resolution examples of viscous liquid motion including two-way coupled interactions with rigid bodies.
- Mridul Aanjaneya. 2018. An Efficient Solver for Two-way Coupling Rigid Bodies with Incompressible Flow. Computer Graphics Forum 37, 8 (2018), 59--68.Google Scholar
Cross Ref
- Mridul Aanjaneya, Ming Gao, Haixiang Liu, Christopher Batty, and Eftychios Sifakis. 2017. Power Diagrams and Sparse Paged Grids for High Resolution Adaptive Liquids. ACM Trans. Graph. 36, 4, Article 140 (2017), 12 pages. Google Scholar
Digital Library
- D Adalsteinsson and J.A Sethian. 1999. The Fast Construction of Extension Velocities in Level Set Methods. J. Comput. Phys. 148, 1 (1999), 2 -- 22. Google Scholar
Digital Library
- Ryoichi Ando, Nils Thürey, and Chris Wojtan. 2015. A Dimension-reduced Pressure Solver for Liquid Simulations. Computer Graphics Forum 34, 2 (2015), 473--480. Google Scholar
Digital Library
- Héctor Barreiro, Ignacio García-Fernández, Iván Alduán, and Miguel A Otaduy. 2017. Conformation constraints for efficient viscoelastic fluid simulation. ACM Transactions on Graphics (TOG) 36, 6 (2017), 221. Google Scholar
Digital Library
- Christopher Batty and Robert Bridson. 2008. Accurate Viscous Free Surfaces for Buckling, Coiling, and Rotating Liquids. In Proceedings of the 2008 ACM SIGGRAPH/Eurographics Symposium on Computer Animation (SCA '08). 219--228. Google Scholar
Digital Library
- Christopher Batty and Ben Houston. 2011. A simple finite volume method for adaptive viscous liquids. In Proceedings of the 2011 ACM SIGGRAPH/Eurographics Symposium on Computer Animation. ACM, 111--118. Google Scholar
Digital Library
- 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. Google Scholar
Digital Library
- Miklós Bergou, Basile Audoly, Etienne Vouga, Max Wardetzky, and Eitan Grinspun. 2010. Discrete viscous threads. In ACM Transactions on Graphics (TOG), Vol. 29. ACM, 116. Google Scholar
Digital Library
- Jeff Bolz, Ian Farmer, Eitan Grinspun, and Peter Schröoder. 2003. Sparse matrix solvers on the GPU: conjugate gradients and multigrid. In ACM transactions on graphics (TOG), Vol. 22. ACM, 917--924. Google Scholar
Digital Library
- Achi Brandt and Nathan Dinar. 1978. Multigrid Solutions to Elliptic Flow Problems. Numerical methods for partial differential equations (1978), 53--147.Google Scholar
- Robert Bridson. 2015. Fluid simulation for computer graphics, 2nd edition. CRC Press. Google Scholar
Digital Library
- Mark Carlson, Peter J. Mucha, R. Brooks Van Horn, III, and Greg Turk. 2002. Melting and Flowing. In Proceedings of the 2002 ACM SIGGRAPH/Eurographics Symposium on Computer Animation (SCA '02). 167--174. Google Scholar
Digital Library
- Nuttapong Chentanez, Bryan E Feldman, François Labelle, James F O'Brien, and Jonathan R Shewchuk. 2007. Liquid simulation on lattice-based tetrahedral meshes. In Proceedings of the 2007 ACM SIGGRAPH/Eurographics symposium on Computer animation. Eurographics Association, 219--228. Google Scholar
Digital Library
- Nuttapong Chentanez and Matthias Mueller-Fischer. 2012. A multigrid fluid pressure solver handling separating solid boundary conditions. IEEE transactions on visualization and computer graphics 18, 8 (2012), 1191--1201. Google Scholar
Digital Library
- Nuttapong Chentanez and Matthias Müller. 2011. Real-time Eulerian water simulation using a restricted tall cell grid. In ACM Transactions on Graphics (TOG), Vol. 30. ACM, 82. Google Scholar
Digital Library
- Jieyu Chu, Nafees Bin Zafar, and Xubo Yang. 2017. A schur complement preconditioner for scalable parallel fluid simulation. ACM Transactions on Graphics (TOG) 36, 5 (2017), 163. Google Scholar
Digital Library
- Pascal Clausen, Martin Wicke, Jonathan R Shewchuk, and James F O'brien. 2013. Simulating liquids and solid-liquid interactions with lagrangian meshes. ACM Transactions on Graphics (TOG) 32, 2 (2013), 17. Google Scholar
Digital Library
- Arne De Coninck, Bernard De Baets, Drosos Kourounis, Fabio Verbosio, Olaf Schenk, Steven Maenhout, and Jan Fostier. 2016. Needles: Toward Large-Scale Genomic Prediction with Marker-by-Environment Interaction. 203, 1 (2016), 543--555.Google Scholar
- C. Dick, M. Rogowsky, and R. Westermann. 2016. Solving the Fluid Pressure Poisson Equation Using MultigridâĂŤEvaluation and Improvements. IEEE Transactions on Visualization and Computer Graphics 22, 11 (Nov 2016), 2480--2492.Google Scholar
Cross Ref
- Essex Edwards and Robert Bridson. 2014. Detailed water with coarse grids: combining surface meshes and adaptive discontinuous Galerkin. ACM Transactions on Graphics (TOG) 33, 4 (2014), 136. Google Scholar
Digital Library
- Douglas Enright, Frank Losasso, and Ronald Fedkiw. 2005. A Fast and Accurate semi-Lagrangian Particle Level Set Method. Comput. Struct. 83, 6-7 (2005), 479--490. Google Scholar
Digital Library
- D. Enright, D. Nguyen, F. Gibou, and R. Fedkiw. 2003. Using the Particle Level Set Method and a Second Order Accurate Pressure Boundary Condition for Free Surface Flows. In Proc. 4th ASME-JSME Joint Fluids Eng. Conf.Google Scholar
- Kenny Erleben, Marek Krzysztof Misztal, and J Andreas Bærentzen. 2011. Mathematical foundation of the optimization-based fluid animation method. In Proceedings of the 2011 ACM SIGGRAPH/Eurographics Symposium on Computer Animation. ACM, 101--110. Google Scholar
Digital Library
- Henrik Fält and Douglas Roble. 2003. Fluids with Extreme Viscosity. In ACM SIGGRAPH Sketches. Google Scholar
Digital Library
- Florian Ferstl, Rüdiger Westermann, and Christian Dick. 2014. Large-scale liquid simulation on adaptive hexahedral grids. IEEE transactions on visualization and computer graphics 20, 10 (2014), 1405--1417.Google Scholar
- Nick Foster and Dimitri Metaxas. 1996. Realistic animation of liquids. Graphical models and image processing 58, 5 (1996), 471--483. Google Scholar
Digital Library
- F. J. Gaspar, J. L. Gracia, F. J. Lisbona, and C. W. Oosterlee. 2008. Distributive Smoothers in Multigrid for Problems with Dominating grad-div Operators. Numerical Linear Algebra with Applications 15, 8 (2008), 661--683.Google Scholar
Cross Ref
- Tolga G Goktekin, Adam W Bargteil, and James F O'Brien. 2004. A method for animating viscoelastic fluids. In ACM Transactions on Graphics (TOG), Vol. 23. ACM, 463--468.Google Scholar
Digital Library
- Ryan Goldade, Yipeng Wang, Mridul Aanjaneya, and Christopher Batty. 2019. An Adaptive Variational Finite Difference Framework for Efficient Symmetric Octree Viscosity. ACM Trans. Graph. (SIGGRAPH) 38, 4 (2019). Google Scholar
Digital Library
- Eran Guendelman, Robert Bridson, and Ronald Fedkiw. 2003. Nonconvex Rigid Bodies with Stacking. ACM TOG 22, 3 (2003), 871--878. Google Scholar
Digital Library
- Eran Guendelman, Andrew Selle, Frank Losasso, and Ronald Fedkiw. 2005. Coupling Water and Smoke to Thin Deformable and Rigid Shells. ACM Trans. Graph. 24, 3 (2005), 973--981. Google Scholar
Digital Library
- Gaël Guennebaud, Benoît Jacob, et al. 2010. Eigen v3. http://eigen.tuxfamily.org.Google Scholar
- Francis H. Harlow and J. Eddie Welch. 1965. Numerical Calculation of Time-Dependent Viscous Incompressible Flow of Fluid with Free Surface. Physics of Fluids (1958-1988) 8, 12 (1965), 2182--2189.Google Scholar
- Misha Kazhdan and Hugues Hoppe. 2018. An Adaptive Multigrid Solver for Applications in Computer Graphics. Computer Graphics Forum 38 (2018), 138--150. Issue 1.Google Scholar
Cross Ref
- Egor Larionov, Christopher Batty, and Robert Bridson. 2017. Variational stokes: a unified pressure-viscosity solver for accurate viscous liquids. ACM Trans. Graph. (SIGGRAPH) 36, 4, Article 101 (2017), 11 pages. Google Scholar
Digital Library
- Haixiang Liu, Nathan Mitchell, Mridul Aanjaneya, and Eftychios Sifakis. 2016. A scalable Schur-complement fluids solver for heterogeneous compute platforms. ACM Trans. Graph. 35, 6, Article 201 (2016), 12 pages. Google Scholar
Digital Library
- Frank Losasso, Ronald Fedkiw, and Stanley Osher. 2005. Spatially adaptive techniques for level set methods and incompressible flow. Computers and Fluids 35 (2005), 2006.Google Scholar
- Frank Losasso, Frédéric Gibou, and Ron Fedkiw. 2004. Simulating water and smoke with an octree data structure. In ACM transactions on graphics (TOG), Vol. 23. ACM, 457--462. Google Scholar
Digital Library
- Frank Losasso, Tamar Shinar, Andrew Selle, and Ronald Fedkiw. 2006. Multiple interacting liquids. In ACM Transactions on Graphics (TOG), Vol. 25. ACM, 812--819. Google Scholar
Digital Library
- A. McAdams, E. Sifakis, and J. Teran. 2010. A Parallel Multigrid Poisson Solver for Fluids Simulation on Large Grids. In Proceedings of the 2010 ACM SIGGRAPH/Eurographics Symposium on Computer Animation (SCA '10). 65--74. Google Scholar
Digital Library
- Aleka McAdams, Yongning Zhu, Andrew Selle, Mark Empey, Rasmus Tamstorf, Joseph Teran, and Eftychios Sifakis. 2011. Efficient Elasticity for Character Skinning with Contact and Collisions. ACM Trans. Graph. 30, 4, Article 37 (2011), 12 pages. Google Scholar
Digital Library
- Nathan Mitchell, Michael Doescher, and Eftychios Sifakis. 2016. A Macroblock Optimization for Grid-based Non-linear Elasticity. In Proceedings of the ACM SIGGRAPH/Eurographics Symposium on Computer Animation (SCA '16). 11--19. Google Scholar
Digital Library
- Jeroen Molemaker, Jonathan M. Cohen, Sanjit Patel, and Jonyong Noh. 2008. Low Viscosity Flow Simulations for Animation. In Proceedings of the 2008 ACM SIGGRAPH/Eurographics Symposium on Computer Animation (SCA '08). 9--18. Google Scholar
Digital Library
- Andreas Peer, Markus Ihmsen, Jens Cornelis, and Matthias Teschner. 2015. An implicit viscosity formulation for SPH fluids. ACM Transactions on Graphics (TOG) 34, 4 (2015), 114. Google Scholar
Digital Library
- Daniel Ram, Theodore Gast, Chenfanfu Jiang, Craig Schroeder, Alexey Stomakhin, Joseph Teran, and Pirouz Kavehpour. 2015. A material point method for viscoelastic fluids, foams and sponges. In Proceedings of the 14th ACM SIGGRAPH/Eurographics Symposium on Computer Animation. ACM, 157--163. Google Scholar
Digital Library
- Nick Rasmussen, Doug Enright, Duc Nguyen, Sebastian Marino, N. Sumner, Willi Geiger, Samir Hoon, and Ron Fedkiw. 2004. Directable photorealistic liquids. In Symposium on Computer Animation. 193--202. Google Scholar
Digital Library
- Avi Robinson-Mosher, Craig Schroeder, and Ronald Fedkiw. 2011. A Symmetric Positive Definite Formulation for Monolithic Fluid Structure Interaction. J. Comput. Phys. 230, 4 (2011), 1547--1566. Google Scholar
Digital Library
- Allen Ruilova. 2007. Creating Realistic CG Honey. In ACM SIGGRAPH Posters. Google Scholar
Digital Library
- Rajsekhar Setaluri, Mridul Aanjaneya, Sean Bauer, and Eftychios Sifakis. 2014. SPGrid: A Sparse Paged Grid Structure Applied to Adaptive Smoke Simulation. ACM Trans. Graph. 33, 6, Article 205 (2014), 12 pages. Google Scholar
Digital Library
- SideFX. 2019. Houdini.Google Scholar
- Jos Stam. 1999. Stable Fluids.. In Siggraph, Vol. 99. 121--128. Google Scholar
Digital Library
- Tetsuya Takahashi, Yoshinori Dobashi, Issei Fujishiro, Tomoyuki Nishita, and Ming C Lin. 2015. Implicit formulation for SPH-based viscous fluids. In Computer Graphics Forum, Vol. 34. Wiley Online Library, 493--502. Google Scholar
Digital Library
- Rasmus Tamstorf, Toby Jones, and Stephen F McCormick. 2015. Smoothed aggregation multigrid for cloth simulation. ACM Transactions on Graphics (TOG) 34, 6 (2015), 245. Google Scholar
Digital Library
- Ulrich Trottenberg, Cornelius W Oosterlee, and Anton Schuller. 2000. Multigrid. Elsevier.Google Scholar
- Alberto Valli, ALFIO Quarteroni, et al. 1999. Domain decomposition methods for partial differential equations. Numerical Mathematics and Scientific Computation, The Clarendon Press, Oxford University Press, New York (1999).Google Scholar
- Daniel Weber, Johannes Mueller-Roemer, André Stork, and Dieter Fellner. 2015. A Cut-Cell Geometric Multigrid Poisson Solver for Fluid Simulation. In Computer Graphics Forum, Vol. 34. Wiley Online Library, 481--491. Google Scholar
Digital Library
- Marcel Weiler, Dan Koschier, Magnus Brand, and Jan Bender. 2018. A physically consistent implicit viscosity solver for SPH fluids. In Computer Graphics Forum, Vol. 37. Wiley Online Library, 145--155.Google Scholar
- Mark Wiebe and Ben Houston. 2004. The Tar Monster: Creating a Character with Fluid Simulation. In ACM SIGGRAPH 2004 Sketches (SIGGRAPH '04). Google Scholar
Digital Library
- Kui Wu, Nghia Truong, Cem Yuksel, and Rama Hoetzlein. 2018. Fast fluid simulations with sparse volumes on the GPU. In Computer Graphics Forum, Vol. 37. Wiley Online Library, 157--167.Google Scholar
- Xinxin Zhang and Robert Bridson. 2014. A PPPM Fast Summation Method for Fluids and Beyond. ACM Trans. Graph. 33, 6, Article 206 (2014), 11 pages. Google Scholar
Digital Library
- Yongning Zhu, Eftychios Sifakis, Joseph Teran, and Achi Brandt. 2010. An efficient multigrid method for the simulation of high-resolution elastic solids. ACM Trans. Graph. (presented at SIGGRAPH 2010) 29, 2 (2010), 16:1--16:18. Google Scholar
Digital Library
Index Terms
An Efficient Geometric Multigrid Solver for Viscous Liquids
Recommendations
Unsteady Hydromagnetic Flow of a Reactive Viscous Fluid in a Vertical Channel with Thermal Diffusion, Diffusion-Thermal and Variable Viscosity Effects
Unsteady/steady hydromagnetic natural convection and mass transfer flow characteristics of viscous reactive, incompressible, and electrically conducting fluid in the presence of a transverse magnetic field, thermal diffusion effect, diffusion-thermal ...
Behavior of viscous solutions in Lagrangian formulation
In this paper, the behavior of shock-capturing methods in Lagrangian coordinate is investigated. The relation between viscous shock and inviscid one is analyzed quantitatively, and the procedure of a viscous shock formation and propagation with a jump ...
A Study of Viscous Flux Formulations for a p-Multigrid Spectral Volume Navier Stokes Solver
In this paper, we improve the Navier---Stokes flow solver developed by Sun et al. based on the spectral volume method (SV) in the following two aspects: the development of a more efficient implicit/p-multigrid solution approach, and the use of a new ...






Comments