A Fast Variational Framework for Accurate Solid-Fluid Coupling Christopher Batty Florence Bertails Robert Bridson University of British Columbia.

Slides:



Advertisements
Similar presentations
Stable Fluids A paper by Jos Stam.
Advertisements

Realistic Simulation and Rendering of Smoke CSE Class Project Presentation Oleksiy Busaryev TexPoint fonts used in EMF. Read the TexPoint manual.
Christopher Batty and Robert Bridson University of British Columbia
SolidWorks Flow Simulation
A Prediction-Correction Approach for Stable SPH Fluid Simulation from Liquid to Rigid François Dagenais Jonathan Gagnon Eric Paquette.
Navier-Stokes.
Continuity Equation. Continuity Equation Continuity Equation Net outflow in x direction.
Matthias Müller, Barbara Solenthaler, Richard Keiser, Markus Gross Eurographics/ACM SIGGRAPH Symposium on Computer Animation (2005),
By Paul Delgado. Motivation Flow-Deformation Equations Discretization Operator Splitting Multiphysics Coupling Fixed State Splitting Other Splitting Conclusions.
DEBRIS FLOWS & MUD SLIDES: A Lagrangian method for two- phase flow simulation Matthias Preisig and Thomas Zimmermann, Swiss Federal Institute of Technology.
Course 14 Fluid Simulation Monday, Half Day, 8:30 am - 12:15 pm.
Lectures on CFD Fundamental Equations
II. Properties of Fluids. Contents 1. Definition of Fluids 2. Continuum Hypothesis 3. Density and Compressibility 4. Viscosity 5. Surface Tension 6. Vaporization.
Combating Dissipation. Numerical Dissipation  There are several sources of numerical dissipation in these simulation methods  Error in advection step.
More Accurate Pressure Solves. Solid Boundaries  Voxelized version works great if solids aligned with grid  If not: though the error in geometry is.
Intro to Fluid Simulation (I) Jeff Pool COMP
Particle-based fluid simulation for interactive applications
University of North Carolina - Chapel Hill Fluid & Rigid Body Interaction Comp Physical Modeling Craig Bennetts April 25, 2006 Comp Physical.
UNC Chapel Hill S. Redon - M. C. Lin Rigid body dynamics II Solving the dynamics problems.
Image courtesy of National Optical Astronomy Observatory, operated by the Association of Universities for Research in Astronomy, under cooperative agreement.
Modeling Fluid Phenomena -Vinay Bondhugula (25 th & 27 th April 2006)
Coupling Water and Smoke to Thin Deformable and Rigid Shells Eran Guendelman 1,2 Andrew Selle 1,3 Frank Losasso 1,2 Ronald Fedkiw 1,2 1 Stanford University,
The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL Intro to Computational Fluid Dynamics Brandon Lloyd COMP 259 April 16, 2003 Image courtesy of Prof. A.
The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL Introduction to Modeling Fluid Dynamics 1.
A TWO-FLUID NUMERICAL MODEL OF THE LIMPET OWC CG Mingham, L Qian, DM Causon and DM Ingram Centre for Mathematical Modelling and Flow Analysis Manchester.
Modeling, Simulating and Rendering Fluids Thanks to Ron Fediw et al, Jos Stam, Henrik Jensen, Ryan.
Fluid Simulation for Computer Animation Greg Turk College of Computing and GVU Center Georgia Institute of Technology.
Computer graphics & visualization Rigid Body Simulation.
Motivation  Movie  Game  Engineering Introduction  Ideally  Looks good  Fast simulation  Looks good?  Look plausible  Doesn’t need to be exactly.
By Paul Delgado Advisor – Dr. Vinod Kumar Co-Advisor – Dr. Son Young Yi.
Finite Differences Finite Difference Approximations  Simple geophysical partial differential equations  Finite differences - definitions  Finite-difference.
A Hybrid Particle-Mesh Method for Viscous, Incompressible, Multiphase Flows Jie LIU, Seiichi KOSHIZUKA Yoshiaki OKA The University of Tokyo,
Animation of Fluids.
Chapter 9: Differential Analysis of Fluid Flow SCHOOL OF BIOPROCESS ENGINEERING, UNIVERSITI MALAYSIA PERLIS.
COMPUTATIONAL FLUID DYNAMICS IN REAL-TIME An Introduction to Simulation and Animation of Liquids and Gases.
A Fast Simulation Method Using Overlapping Grids for Interactions between Smoke and Rigid Objects Yoshinori Dobashi (Hokkaido University) Tsuyoshi Yamamoto.
Haptics and Virtual Reality
A Novel Wave-Propagation Approach For Fully Conservative Eulerian Multi-Material Simulation K. Nordin-Bates Lab. for Scientific Computing, Cavendish Lab.,
A conservative FE-discretisation of the Navier-Stokes equation JASS 2005, St. Petersburg Thomas Satzger.
A Unified Lagrangian Approach to Solid-Fluid Animation Richard Keiser, Bart Adams, Dominique Gasser, Paolo Bazzi, Philip Dutré, Markus Gross.
A particle-gridless hybrid methods for incompressible flows
GPU-Accelerated Surface Denoising and Morphing with LBM Scheme Ye Zhao Kent State University, Ohio.
Mathematical Equations of CFD
Chapter 15FLUIDS 15.1 Fluid and the World Around Us 1.A fluid is a substance that cannot support a shearing stress. 2.Both gases and liquids are fluids.
Stable, Circulation- Preserving, Simplicial Fluids Sharif Elcott, Yiying Tong, Eva Kanso, Peter Schröder, and Mathieu Desbrun.
J.-Ph. Braeunig CEA DAM Ile-de-FrancePage 1 Jean-Philippe Braeunig CEA DAM Île-de-France, Bruyères-le-Châtel, LRC CEA-ENS Cachan
AS-RIGID-AS-POSSIBLE SHAPE MANIPULATION
A Computationally Efficient Framework for Modeling Soft Body Impact Sarah F. Frisken and Ronald N. Perry Mitsubishi Electric Research Laboratories.
Houston, Wiebe & Batty. (2004) RLE Sparse Level Sets. RLE Sparse Level Sets Ben Houston Mark Wiebe Christopher Batty Fluids and Level Sets Session.
1 Data Structures for Scientific Computing Orion Sky Lawlor /04/14.
1 Rocket Science using Charm++ at CSAR Orion Sky Lawlor 2003/10/21.
Advanced Games Development Game Physics CO2301 Games Development 1 Week 19.
Efficient Simulation of Large Bodies of Water by Coupling Two and Three Dimensional Techniques SIGGRAPH 2006 Geoffrey Irving Eran Guendelman Frank Losasso.
Efficient Simulation of Large Bodies of Water by Coupling Two and Three Dimensional Techniques Geoffrey Irving Stanford University Pixar Animation Studios.
CSE 872 Dr. Charles B. Owen Advanced Computer Graphics1 Water Computational Fluid Dynamics Volumes Lagrangian vs. Eulerian modelling Navier-Stokes equations.
Efficient Simulation of Large Bodies of Water by Coupling Two and Three Dimensional Techniques Geoffrey Irving Stanford University Pixar Animation Studios.
M. Khalili1, M. Larsson2, B. Müller1
Animating smoke with dynamic balance Jin-Kyung Hong Chang-Hun Kim 발표 윤종철.
Material Point Method (MPM) Wednesday, 10/2/2002 Variational principle Particle discretization Grid interpolation.
Interesting papers on SIGGRAPH 2005 Korea University Computer Graphics Lab. Jin-Kyung Hong.
Physically-Based Motion Synthesis in Computer Graphics
A TWO-FLUID NUMERICAL MODEL OF THE LIMPET OWC
Objective Numerical methods Finite volume.
Introduction to Fluid Dynamics & Applications
Particle-in-Cell Methods
Physically Based Modeling -Overview-
Ph.D. Thesis Numerical Solution of PDEs and Their Object-oriented Parallel Implementations Xing Cai October 26, 1998.
FLUID MECHANICS - Review
Anthony D. Fick & Dr. Ali Borhan Governing Equations
Material Point Method (MPM)
Presentation transcript:

A Fast Variational Framework for Accurate Solid-Fluid Coupling Christopher Batty Florence Bertails Robert Bridson University of British Columbia

Motivation Goal: Simulate fluids coupled to objects. Extend the basic Eulerian approach: – Advect fluid velocities – Add forces (eg. gravity) – Enforce incompressibility via pressure projection See eg. [Stam ‘99, Fedkiw et al. ‘01, Foster & Fedkiw ‘01, Enright et al. ‘02, etc.]

Motivation Cartesian grid fluid simulation is great! – Simple – Effective – Fast data access – No remeshing needed But…

Motivation Achilles’ heel: Real objects rarely align with grids.

Overview Three parts to our work: 1) Irregular static objects on grids 2) Dynamic & kinematic objects on grids 3) Improved liquid-solid boundary conditions

Previous Work First solution  Voxelize – [Foster & Metaxas ’96] Easy! “Stairstep” artifacts Artificial viscosity Doesn’t converge under refinement!

Previous Work Better solution  Subdivide nearby – [Losasso et al. ‘04] Stairs are smaller But problem remains

Previous Work Better yet  Mesh to match objects – [Feldman et al. ‘05] Accurate! Needs remeshing Slower data access Trickier interpolation Sub-grid objects?

And now… back to the future? We’ll return to regular grids – But achieve results like tet meshes!

Pressure Projection Converts a velocity field to be incompressible (or divergence-free) No expansion or compression No flow into objects Images courtesy of [Tong et al. ‘03]

Pressure Projection We want the “closest” incompressible velocity field to the input. It’s a minimization problem!

Key Idea! Distance metric in the space of fluid velocity fields is kinetic energy. Minimizing KE wrt. pressure is equivalent to the classic Poisson problem!    fluid nn KEu 

Minimization Interpretation Fluid velocity update is: Resulting minimization problem is: p t n      uu ~ 1 2 ~ 2 1 minarg     fluid p p t   u

What changes? Variational principle automatically enforces boundary conditions! No explicit manipulation needed. Volume/mass terms in KE account for partial fluid cells. – Eg. Result: Easy, accurate fluid velocities near irregular objects.  2 2/12/12/1 2 1 KE   iii uvol 

Measuring Kinetic Energy

Discretization Details Normal equations always give an SPD linear system. – Solve with preconditioned CG, etc. Same Laplacian stencil, but with new volume terms. Classic: Variational: x uu x ppp iiiii       2/12/ )1()1()1()2()1( x uVuV x pVpVVpV iiiiiiiiiii       2/12/12/12/1 2 12/12/12/112/1 )()()()()(

Object Coupling This works for static boundaries How to extend to… – Two-way coupling? Dynamic objects fully interacting with fluid – One-way coupling? Scripted/kinematic objects pushing the fluid

Object Coupling – Previous Work “Rigid Fluid” [Carlson et al ’04] – Fast, simple, effective – Potentially incompatible boundary velocities, leakage Explicit Coupling [Guendelman et al. ’05] – Handles thin shells, loose coupling approach – Multiple pressure solves per step, uses voxelized solve

Object Coupling – Previous Work Implicit Coupling [Klingner et al ‘06, Chentanez et al.’06] – solves object + fluid motion simultaneously – handles tight coupling (eg. water balloons) – requires conforming (tet) mesh to avoid artifacts

A Variational Coupling Framework Just add the object’s kinetic energy to the system. Automatically gives: – incompressible fluid velocities – compatible velocities at object surface   fluid solid VMVu * KE 2 

A Coupling Framework Two components: 1) Velocity update: How does the pressure force update the object’s velocity? 2) Kinetic energy: How do we compute the object’s KE?

Example: Rigid Bodies 1) Velocity update: 2) Kinetic Energy: Discretize consistently with fluid, add to minimization, and solve.    solid CM solid p p nXx n ˆ )(Torque ˆ Force KEIωv  m

Sub-Grid Rigid Bodies

Interactive Rigid Bodies

One Way Coupling Conceptually, object mass  infinity In practice: drop coupling terms from matrix

Paddle Video

Wall Separation Standard wall boundary condition is u·n = 0. – Liquid adheres to walls and ceilings! Ideally, prefer u·n ≥ 0, so liquid can separate – Analogous to rigid body contact.

Liquid Sticking Video

Wall Separation - Previous Work If ũ·n ≥ 0 before projection, hold u fixed. – [Foster & Fedkiw ’01, Houston et al ’03, Rasmussen et al ‘04] Inaccurate or incorrect in certain cases:

Wall Separation Two cases at walls: – If p > 0, pressure prevents penetration (“push”) – If p < 0, pressure prevents separation (“pull”) Disallow “pull” force: – Add p ≥ 0 constraint to minimization – Gives an inequality-constrained QP – u·n ≥ 0 enforced implicitly via KKT conditions

Liquid Peeling Video

Future Directions Robust air-water-solid interfaces. Add overlapping ghost pressures to handle thin objects, à la [Tam et al ’05]

Future Directions Explore scalable QP solvers for 3D wall- separation. Extend coupling to deformables and other object models. Employ linear algebra techniques to accelerate rigid body coupling.

Summary Easy method for accurate sub-grid fluid velocities near objects, on regular grids. Unified variational framework for coupling fluids and arbitrary dynamic solids. New boundary condition for liquid allows robust separation from walls.

Thanks!