Christopher Batty and 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.
A Fast Variational Framework for Accurate Solid-Fluid Coupling Christopher Batty Florence Bertails Robert Bridson University of British Columbia.
A Prediction-Correction Approach for Stable SPH Fluid Simulation from Liquid to Rigid François Dagenais Jonathan Gagnon Eric Paquette.
Active Contours, Level Sets, and Image Segmentation
Lecture 15: Capillary motion
Chapter 8 Elliptic Equation.
Continuity Equation. Continuity Equation Continuity Equation Net outflow in x direction.
Lecture Objectives: Simple algorithm Boundary conditions.
Multilevel Incomplete Factorizations for Non-Linear FE problems in Geomechanics DMMMSA – University of Padova Department of Mathematical Methods and Models.
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.
University of North Carolina - Chapel Hill Fluid & Rigid Body Interaction Comp Physical Modeling Craig Bennetts April 25, 2006 Comp Physical.
1 MECH 221 FLUID MECHANICS (Fall 06/07) Tutorial 6 FLUID KINETMATICS.
Wolfgang Kinzelbach with Marc Wolf and Cornel Beffa
James Sprittles ECS 2007 Viscous Flow Over a Chemically Patterned Surface J.E. Sprittles Y.D. Shikhmurzaev.
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,
Numerical Hydraulics Wolfgang Kinzelbach with Marc Wolf and Cornel Beffa Lecture 1: The equations.
Numerical Methods for Partial Differential Equations
Stress, Strain, and Viscosity San Andreas Fault Palmdale.
A finite volume solution method for thermal convection in a spherical shell with strong temperature- und pressure-dependent viscosity CIG Workshop 2005.
Modeling, Simulating and Rendering Fluids Thanks to Ron Fediw et al, Jos Stam, Henrik Jensen, Ryan.
Simulation and Animation
© 2011 Autodesk Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the.
FUNDAMENTAL EQUATIONS, CONCEPTS AND IMPLEMENTATION
Motivation  Movie  Game  Engineering Introduction  Ideally  Looks good  Fast simulation  Looks good?  Look plausible  Doesn’t need to be exactly.
FLUID DYNAMICS Phys 5306 By Mihaela-Maria Tanasescu
Conservation Laws for Continua
Finite Differences Finite Difference Approximations  Simple geophysical partial differential equations  Finite differences - definitions  Finite-difference.
Tony Bougebrayel, PE, PhD Engineering Analyst Swagelok Co.
CEE 262A H YDRODYNAMICS Lecture 5 Conservation Laws Part I 1.
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.
PTT 204/3 APPLIED FLUID MECHANICS SEM 2 (2012/2013)
Louisiana Tech University Ruston, LA Momentum Balance Steven A. Jones BIEN 501/CMEN 513 Monday, March 19, 2007.
Viscoelasticity While water and air are Newtonian, lots of other common stuff isn’t: –Blood, paint, and many others have nonlinear viscosity (the faster.
1 Discretization of Fluid Models (Navier Stokes) Dr. Farzad Ismail School of Aerospace and Mechanical Engineering Universiti Sains Malaysia Nibong Tebal.
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.
Governing equations: Navier-Stokes equations, Two-dimensional shallow-water equations, Saint-Venant equations, compressible water hammer flow equations.
Prof. dr. A. Achterberg, Astronomical Dept., IMAPP, Radboud Universiteit.

1 MAE 5130: VISCOUS FLOWS Momentum Equation: The Navier-Stokes Equations, Part 2 September 9, 2010 Mechanical and Aerospace Engineering Department Florida.
Fluid Flows due to Pure Mechanical Forces… P M V Subbarao Professor Mechanical Engineering Department I I T Delhi Construction of Navier-Stokes Equations.
Stable, Circulation- Preserving, Simplicial Fluids Sharif Elcott, Yiying Tong, Eva Kanso, Peter Schröder, and Mathieu Desbrun.
Chapter 6 Introduction to Forced Convection:
Introduction to Level Set Methods: Part II
1996 Eurographics Workshop Mathieu Desbrun, Marie-Paule Gascuel
Ale with Mixed Elements 10 – 14 September 2007 Ale with Mixed Elements Ale with Mixed Elements C. Aymard, J. Flament, J.P. Perlat.
Introduction: Lattice Boltzmann Method for Non-fluid Applications Ye Zhao.
HEAT TRANSFER FINITE ELEMENT FORMULATION
FREE CONVECTION 7.1 Introduction Solar collectors Pipes Ducts Electronic packages Walls and windows 7.2 Features and Parameters of Free Convection (1)
CIS/ME 794Y A Case Study in Computational Science & Engineering 2-D conservation of momentum (contd.) Or, in cartesian tensor notation, Where repeated.
Discretization Methods Chapter 2. Training Manual May 15, 2001 Inventory # Discretization Methods Topics Equations and The Goal Brief overview.
A novel approach for thermomechanical analysis of stationary rolling tires within an ALE-kinematic framework A. Suwannachit and U. Nackenhorst Institute.
INTRODUCTION TO CONVECTION
Lecture Objectives: Define 1) Reynolds stresses and
CSE 872 Dr. Charles B. Owen Advanced Computer Graphics1 Water Computational Fluid Dynamics Volumes Lagrangian vs. Eulerian modelling Navier-Stokes equations.
Animating smoke with dynamic balance Jin-Kyung Hong Chang-Hun Kim 발표 윤종철.
Energy Reduction Through Tribology-2
Chapter 4 Fluid Mechanics Frank White
Continuum Mechanics (MTH487)
Part IV: Detailed Flow Structure Chap. 7: Microscopic Balances
FLUID DYNAMICS Made By: Prajapati Dharmesh Jyantibhai ( )
Finite Volume Method Philip Mocz.
Particle-in-Cell Methods
Low Order Methods for Simulation of Turbulence in Complex Geometries
Stoke’s first problem (BSL example)
Presentation transcript:

Christopher Batty and Robert Bridson University of British Columbia Accurate Viscous Free Surfaces for Buckling, Coiling, and Rotating Liquids Christopher Batty and Robert Bridson University of British Columbia

Viscous Liquids Many common liquids exhibit viscosity…

Viscous Buckling and Coiling Characteristic of highly viscous liquids Dependent on correct forces at the surface Video: buckling_n_coiling.mov

Viscous Buckling

Goals Accurate free surface behavior Fully implicit, for large stable time steps Handle variable viscosity Easy implementation & efficient solution

Eulerian Fluid Simulation Advection External Forces Viscosity Pressure Projection

Related Work Carlson et al. 2002, Roble et al. 2003 Viscous liquids with a simplified implicit solve Rasmussen et al. 2004 Variable viscosity liquids with IMEX integration Goktekin et al. 2004, Zhu & Bridson 2005 Non-Newtonian liquids (viscoelastic, granular)

Fundamentals Viscosity is analogous to a fluid friction Nearby elements of fluid exchange velocity, affecting their flow Shear stress tensor, , is: a measure of the resulting force per unit area dependent on the gradient of velocity

Complete Form Shear stress is expressed as: To apply the resulting forces to the fluid: This is the full PDE form for viscosity

The Usual Simplification (Full form)

The Usual Simplification (Full form) (Constant viscosity)

The Usual Simplification (Full form) (Constant viscosity) (Expand)

The Usual Simplification (Full form) (Constant viscosity) (Expand) (Calculus identity)

The Usual Simplification (Full form) (Constant viscosity) (Expand) (Calculus identity) (Incompressibility, )

The Simplified Form Looks like diffusion/smoothing of velocity Velocity components are decoupled 3 implicit Poisson-like systems, solved with PCG Eg. [Carlson et al, 2002] What about the free surface?

Free Surface Condition Air applies zero force on the liquid surface

Free Surface Condition Air applies zero force on the liquid surface The term is needed to enforce the constraint - it can’t simplify! Free surfaces require the full stress expression even for constant viscosity

Incorrect Free Surfaces What are the side effects? Neumann BC: Adds erroneous “ghost” forces halts rotation Dirichlet BC: prevents viscosity from acting at the surface liquid seems less viscous Buckling fails to arise in either case. Video: bending.mov

Correct Free Surfaces …are very difficult to discretize directly. GENSMAC method (Tomé, McKee, et al.) is the only other MAC-based approach Velocity gradients aren’t naturally co-located The constraint should be applied only at the surface Difficult to avoid special cases Can it be solved implicitly? How is the linear system affected? (symmetry, definiteness, etc.)

Key Idea The free surface is actually a natural boundary condition in this setting Using the proper variational form, it will fall out automatically Idea: Replace the viscosity solve with minimization of a variational principle.

Characterizing Viscous Flow Minimum Dissipation Theorem The solution to a Stokes problem minimizes viscous dissipation [Helmholtz, 1868]

Characterizing Viscous Flow Minimum Dissipation Theorem The solution to a Stokes problem minimizes viscous dissipation [Helmholtz, 1868] Viscous dissipation: Kinetic energy dissipated by viscosity

Variational Form Minimize dissipation while perturbing velocity as little as possible This is equivalent to the full PDE form

Variational Form Benefits: Caveat… No need to enforce the free surface discretely Just estimate integrals and minimize Fully implicit, SPD system Take large timesteps, solve with CG Supports variable viscosity Exhibits the correct behaviour Caveat… Velocity components are no longer decoupled Get a single 3x larger linear system

Discretization Use the classic (MAC) staggered grid Velocities at cell faces Stress at cell centres and edges See [Goktekin et al, 2004] syncs up naturally with positions of velocity gradients

Discretization Compute terms at each sample point Faces for 1st integral, edges/centres for 2nd integral Use centred differencing for velocity gradients Scale by the liquid fraction in the surrounding cube

Linear System Identical to a MAC-based discretization of the full viscosity PDE… but with new volume weights added! Before: After:

Results Artifact-free rotation and bending Viscous buckling and coiling Efficient, stable, highly variable viscosity Video: results.mov

Future Work The linear system is no longer an M-matrix Incomplete Cholesky may be less effective Can we find better preconditioners? Full free surface condition involves pressure, viscosity & surface tension Can we solve all three simultaneously? Should we? (speed vs. accuracy tradeoff) Accuracy Further analytical and ground truth comparisons

Conclusions Don’t solve the PDE – minimize the variational principle! For viscosity, this approach… drastically simplifies complex boundary conditions yields efficient, straightforward, robust code produces convincing simulations of purely viscous liquids

Thanks! I’ll be happy to take any questions…