This Article 
   
 Share 
   
 Bibliographic References 
   
 Add to: 
 
Digg
Furl
Spurl
Blink
Simpy
Google
Del.icio.us
Y!MyWeb
 
 Search 
   
A Multigrid Fluid Pressure Solver Handling Separating Solid Boundary Conditions
Aug. 2012 (vol. 18 no. 8)
pp. 1191-1201
Matthias Mueller-Fischer, NVIDIA PhysX Res., Uerikon, Switzerland
N. Chentanez, NVIDIA PhysX Res., Bangkok, Thailand
We present a multigrid method for solving the linear complementarity problem (LCP) resulting from discretizing the Poisson equation subject to separating solid boundary conditions in an Eulerian liquid simulation's pressure projection step. The method requires only a few small changes to a multigrid solver for linear systems. Our generalized solver is fast enough to handle 3D liquid simulations with separating boundary conditions in practical domain sizes. Previous methods could only handle relatively small 2D domains in reasonable time, because they used expensive quadratic programming (QP) solvers. We demonstrate our technique in several practical scenarios, including nonaxis-aligned containers and moving solids in which the omission of separating boundary conditions results in disturbing artifacts of liquid sticking to solids. Our measurements show, that the convergence rate of our LCP solver is close to that of a standard multigrid solver.

[1] C. Batty, F. Bertails, and R. Bridson, "A Fast Variational Framework for Accurate Solid-Fluid Coupling," ACM Trans. Graphics, vol. 26, no. 3, p. 100, 2007.
[2] M.C. Ferris and T.S. Munson, "Complementarity Problems in GAMS and the PATH Solver," J. Economic Dynamics and Control, vol. 24, p. 2000, 1998.
[3] C. Batty and R. Bridson, "Accurate Viscous Free Surfaces for Buckling, Coiling, and Rotating Liquids," Proc. ACM/Eurographics Symp. Computer Animation, pp. 219-228, 2008.
[4] F. Harlow and J. Welch, "Numerical Calculation of Time-Dependent Viscous Incompressible Flow of Fluid with a Free Surface," The Physics of Fluids, vol. 8, pp. 2182-2189, 1965.
[5] J.A. Viecelli, "A Method for Including Arbitrary External Boundaries in the MAC Incompressible Fluid Computing Technique," J. Computational Physics, vol. 4, pp. 543-551, Dec. 1969.
[6] N. Foster and D. Metaxas, "Realistic Animation of Liquids," Graphical Models and Image Processing, vol. 58, no. 5, pp. 471-483, 1996.
[7] N. Foster and R. Fedkiw, "Practical Animation of Liquids," Proc. SIGGRAPH, pp. 23-30, Aug. 2001.
[8] B. Houston, C. Bond, and M. Wiebe, "A Unified Approach for Modeling Complex Occlusions in Fluid Simulations," Proc. ACM SIGGRAPH Conf. Sketches & Applications, p. 1, 2003.
[9] N. Rasmussen, D. Enright, D. Nguyen, S. Marino, N. Sumner, W. Geiger, S. Hoon, and R. Fedkiw, "Directable Photorealistic Liquids," Proc. ACM SIGGRAPH/Eurographics Symp. Computer Animation, pp. 193-202, July 2004.
[10] R. Narain, A. Golas, and M.C. Lin, "Free-Flowing Granular Materials with Two-Way Solid Coupling," ACM Trans. Graphics, vol. 29, pp. 173:1-173:10, Dec. 2010.
[11] Z. Dostál and J. Schöberl, "Minimizing Quadratic Functions Subject to Bound Constraints with the Rate of Convergence and Finite Termination," Computational Optimization and Applications, vol. 30, pp. 23-43, Jan. 2005.
[12] S.F. McCormick, Multigrid Methods. SIAM, 1987.
[13] L. Shi, Y. Yu, N. Bell, and W. wen Feng, "A Fast Multigrid Algorithm for Mesh Deformation," ACM Trans. Graphics, vol. 25, pp. 1108-1117, 2006.
[14] Y. Zhu, E. Sifakis, J. Teran, and A. Brandt, "An Efficient Multigrid Method for the Simulation of High-Resolution Elastic Solids," ACM Trans. Graphics, vol. 29, pp. 16:1-16:18, Apr. 2010.
[15] M. Mueller, "Hierarchical Position Based Dynamics," Proc. Virtual Reality Interactions and Physical Simulations, pp. 1-10, 2008.
[16] N. Chentanez, B.E. Feldman, F. Labelle, J.F. O'Brien, and J.R. Shewchuk, "Liquid Simulation on Lattice-Based Tetrahedral Meshes," Proc. ACM SIGGRAPH/Eurographics Symp. Computer Animation, pp. 219-228, 2007.
[17] J. Molemaker, J.M. Cohen, S. Patel, and J. Noh, "Low Viscosity Flow Simulations for Animation," Proc. ACM SIGGRAPH/Eurographics Symp. Computer Animation, pp. 9-18, 2008.
[18] M. Lentine, W. Zheng, and R. Fedkiw, "A Novel Algorithm for Incompressible Flow Using Only a Coarse Grid Projection," Proc. SIGGRAPH, pp. 114:1-114:9, July 2010.
[19] A. Mcadams, E. Sifakis, and J. Teran, "A Parallel Multigrid Poisson Solver for Fluids Simulation on Large Grids," Proc. ACM SIGGRAPH/Eurographics Symp. Computer Animation, 2010.
[20] N. Chentanez and M. Müller, "Real-Time Eulerian Water Simulation Using a Restricted Tall Cell Grid," ACM Trans. Graphics, vol. 30, no. 4, p. 82, 2011.
[21] Y. Zhu and R. Bridson, "Animating Sand as a Fluid," Proc. SIGGRAPH, pp. 965-972, 2005.
[22] D. Enright and R. Fedkiw, "Robust Treatment of Interfaces for Fluid Flows and Computer Graphics," Proc. "Computer Graphics," Ninth Int'l Conf. Hyperbolic Problems Theory, Numerics, Applications, 2002.
[23] A. Robinson-Mosher, T. Shinar, J. Gretarsson, J. Su, and R. Fedkiw, "Two-Way Coupling of Fluids to Rigid and Deformable Solids and Shells," ACM Trans. Graphics, vol. 27, pp. 46:1-46:9, Aug. 2008.

Index Terms:
quadratic programming,computer graphics,differential equations,Poisson equation,QP solvers,multigrid fluid pressure solver,solid boundary conditions,linear complementarity problem,LCP,Poisson equation,Eulerian liquid simulation,pressure projection step,3D liquid simulations,quadratic programming,Solids,Boundary conditions,Mathematical model,Multigrid methods,Equations,Linear systems,Solid modeling,physics-based animation.,Multigrid,boundary condition,linear complementarity,fluid simulation
Citation:
Matthias Mueller-Fischer, N. Chentanez, "A Multigrid Fluid Pressure Solver Handling Separating Solid Boundary Conditions," IEEE Transactions on Visualization and Computer Graphics, vol. 18, no. 8, pp. 1191-1201, Aug. 2012, doi:10.1109/TVCG.2012.86
Usage of this product signifies your acceptance of the Terms of Use.