Navier-Stokes & Flow Simulation

Similar documents
Navier-Stokes & Flow Simulation

Navier-Stokes & Flow Simulation

CGT 581 G Fluids. Overview. Some terms. Some terms

Rigid Body Dynamics, Collision Response, & Deformation

Realistic Animation of Fluids

Water. Notes. Free surface. Boundary conditions. This week: extend our 3D flow solver to full 3D water We need to add two things:

Computer animation for fluid simulation of a high viscous fluid melting

Realistic Animation of Fluids

Overview of Traditional Surface Tracking Methods

Adarsh Krishnamurthy (cs184-bb) Bela Stepanova (cs184-bs)

Animation of Fluids. Animating Fluid is Hard

CS-184: Computer Graphics Lecture #21: Fluid Simulation II

Mass-Spring Systems. Last Time?

2.7 Cloth Animation. Jacobs University Visualization and Computer Graphics Lab : Advanced Graphics - Chapter 2 123

Fluid Simulation. Dhruv Kore, Giancarlo Gonzalez, and Jenny Sum CS 488: Introduction to Computer Graphics Professor Angus Forbes

Smoke Simulation using Smoothed Particle Hydrodynamics (SPH) Shruti Jain MSc Computer Animation and Visual Eects Bournemouth University

Adaptive Particles for Incompressible Fluid Simulation (Technical Report tamu-cs-tr )

More Animation Techniques

CS 231. Fluid simulation

Fluid Simulation. [Thürey 10] [Pfaff 10] [Chentanez 11]

Interactive Fluid Simulation using Augmented Reality Interface

Physically Based Simulation and Animation of Gaseous Phenomena in a Periodic Domain

Physically based simulation of thin-shell objects burning

CNM 190, pt 2 Advanced Digital Animation Lec 03 : Art Direction on Madagascar / Effects 1

Divergence-Free Smoothed Particle Hydrodynamics

Simulation of Swirling Bubbly Water using Bubble Particles

Interactive Fluid Simulation Using Augmented Reality Interface

Volcanic Smoke Animation using CML

Surface Tension Approximation in Semi-Lagrangian Level Set Based Fluid Simulations for Computer Graphics

Physically Based Simulation

A Framework for Real-Time Animation of Liquid-Rigid Body Interaction

Fluids in Games. Jim Van Verth Insomniac Games

Physically Based Simulation

Simultaneous Coupling of Fluids and Deformable Bodies

Last Time? Animation, Motion Capture, & Inverse Kinematics. Today. Keyframing. Physically-Based Animation. Procedural Animation

Smoothed Particle Hydrodynamics on GPUs

AN ADAPTIVE SAMPLING APPROACH TO INCOMPRESSIBLE PARTICLE-BASED FLUID. A Dissertation WOO-SUCK HONG

Last Time? Animation, Motion Capture, & Inverse Kinematics. Today. Keyframing. Physically-Based Animation. Procedural Animation

Realtime Water Simulation on GPU. Nuttapong Chentanez NVIDIA Research

Animation of Bubbles in Liquid

An Adaptive Sampling Approach to Incompressible Particle-Based Fluid

CUDA. Fluid simulation Lattice Boltzmann Models Cellular Automata

Controlling fluid animation with geometric potential

Level set methods Formulation of Interface Propagation Boundary Value PDE Initial Value PDE Motion in an externally generated velocity field

Fracture & Tetrahedral Models

Fracture & Tetrahedral Models

FLUID SIMULATION. Kristofer Schlachter

Particle Systems. Lecture 8 Taku Komura

Animating smoke with dynamic balance

Homework 2 Questions? Animation, Motion Capture, & Inverse Kinematics. Velocity Interpolation. Handing Free Surface with MAC

Rigid Fluid: Animating the Interplay Between Rigid Bodies and Fluid

Hardware Accelerated Real-Time Fluid Surface Simulation

Dynamical Simulation 1: Particle Systems and ODEs

REAL-TIME WATER WAVES WITH WAVE PARTICLES. A Dissertation. Cem Yuksel

Real-time Breaking Waves for Shallow Water Simulations

Free Surface Flows with Moving and Deforming Objects for LBM

Simulating Bubbles Michael Running Wolf 4/1/05. Introduction

Permeable and Absorbent Materials in Fluid Simulations

Last Time? Inverse Kinematics. Today. Keyframing. Physically-Based Animation. Procedural Animation

REVIEWS ON PHYSICALLY BASED CONTROLLABLE FLUID ANIMATION

Melting and Flowing. Abstract. 1 Introduction. Mark Carlson, Peter J. Mucha, R. Brooks Van Horn III, Greg Turk. Georgia Institute of Technology

Simulating Smoke with an Octree Data Structure and Ray Marching

Efficient Simulation of Large Bodies of Water by Coupling Two and Three Dimensional Techniques

Simulating Fluid-Solid Interaction

Realistic and Controllable Fire Simulation

Particle-Based Fluid Simulation. CSE169: Computer Animation Steve Rotenberg UCSD, Spring 2016

PHYSICALLY BASED ANIMATION

Particle-based Fluid Simulation

The Simulation of Liquids

Fluid Solver built in Houdini

Modelling of Levitation Melting using a Fixed Mesh Method

Real-time haptic display of fluids

Announcements. Ray tracer is due in five days you should have started by now or you re going to have a bad week. Missing file posted on the web page

Real-Time Volumetric Smoke using D3D10. Sarah Tariq and Ignacio Llamas NVIDIA Developer Technology

Wave Particles. Donald H. House Visualization Laboratory Texas A&M University

Abstract. Introduction. Kevin Todisco

Procedural Synthesis using Vortex Particle Method for Fluid Simulation

Simulating Sinkage & Trim for Planing Boat Hulls. A Fluent Dynamic Mesh 6DOF Tutorial

Texture Advection Based Simulation of Dynamic Cloud Scene

Interaction of Fluid Simulation Based on PhysX Physics Engine. Huibai Wang, Jianfei Wan, Fengquan Zhang

Real time simulation of a tornado

IMPROVED WALL BOUNDARY CONDITIONS WITH IMPLICITLY DEFINED WALLS FOR PARTICLE BASED FLUID SIMULATION

Bubble Dynamics using Free Surfaces in a VOF framework

An added mass partitioned algorithm for rigid bodies and incompressible flows

Flows on Surfaces of Arbitrary Topology

STYLISTIC CONTROL OF OCEAN WATER SIMULATIONS. A Thesis CHRISTOPHER WAYNE ROOT

Structure and Synthesis of Robot Motion

Interactive Simulation of Fire

Preliminary Spray Cooling Simulations Using a Full-Cone Water Spray

ENERGY-224 Reservoir Simulation Project Report. Ala Alzayer

Fluent User Services Center

Eulerian Smoke Simulation. Brett Lambright (i ) MSc Computer Animation and Visual Effects Bournemouth University - NCCA

Modeling of Volcanic Clouds using CML *

An Efficient Adaptive Vortex Particle Method for Real-Time Smoke Simulation

Chapter 3: Computer Animation Reminder: Descriptive animation. Procedural animation : Examples. Towards methods that generate motion?

Theodore Kim Michael Henson Ming C.Lim. Jae ho Lim. Korea University Computer Graphics Lab.

C O M P U T E R G R A P H I C S. Computer Animation. Guoying Zhao 1 / 66

MOTION CONTROL FOR FLUID ANIMATION: FLOW ALONG A CONTROL PATH

Comparison between incompressible SPH solvers


Transcription:

Last Time? Navier-Stokes & Flow Simulation Implicit Surfaces Marching Cubes/Tetras Collision Detection & Response Conservative Bounding Regions backtracking fixing Today Flow Simulations in Graphics Flow Simulations in Computer Graphics Random velocity fields water, smoke, viscous fluids with averaging to get simple background motion Navier-Stokes Equations Shallow water equations incompressibility, conservation of mass conservation of momentum & energy height field only, can t represent crashing waves, etc. Full Navier-Stokes Fluid Representations Basic Algorithm Data Representation note: typically we ignore surface tension and focus on macroscopic behavior Flow in a Voxel Grid Navier-Stokes Equations conservation of mass: conservation of momentum: gravity (& other external forces) pressure acceleration Convection: internal movement in a fluid (e.g., caused by variation in density due to a transfer of heat) viscosity drag 1

Today Flow Simulations in Computer Graphics Navier-Stokes Equations Fluid Representations Basic Algorithm Data Representation Modeling the Water Surface Volume-of-fluid tracking a scalar saying how full each cell is Particle In Cell (PIC) the particles have mass Marker and Cell (MAC) the particles don t effect computation, just identify which cells the surface passes through Harlow & Welch, "Numerical calculation of time-dependent viscous incompressible flow of fluid with free surface, The Physics of Fluids, 1965. Comparing Representations How do we render the resulting surface? Are we guaranteed not to lose mass/volume? (is the simulation incompressible?) How is each affected by the grid resolution and timestep? Can we guarantee stability? Demos Nice Marker and Cell (MAC) videos at: http://panoramix.ift.uni.wroc.pl/~maq/eng/cfdthesis.php http://mme.uwaterloo.ca/~fslien/free_surface/free_surface.htm Reading for Today Realistic Animation of Liquids, Foster & Metaxas, 1996 Today Flow Simulations in Computer Graphics Navier-Stokes Equations Fluid Representations Basic Algorithm Data Representation 2

Each Grid Cell Stores: Velocity at the cell faces (offset grid) Pressure List of particles Initialization Choose a voxel resolution Choose a particle density Create grid & place the particles Initialize pressure & velocity of each cell Set the viscosity & gravity Choose a timestep & go! Empty, Surface & Full Cells Images from Compute New Velocities Note: some of these values are the average velocity within the cell rather than the velocity at a cell face 3

Adjusting the Velocities Calculate the divergence of the cell (the extra in/out flow) The divergence is used to update the pressure within the cell Adjust each face velocity uniformly to bring the divergence to zero Iterate across the entire grid until divergence is < ε Handing Boundaries with MAC Velocity Interpolation Stable Fluids Stable Fluids, Jos Stam, SIGGRAPH 1999. 4

Efficient Smoke Simulation Solid/Liquid: Time-varying viscosity "Melting and Flowing" Carlson, Mucha, Van Horn III & Turk Symposium on Computer Animation 2002 Visual Simulation of Smoke Fedkiw, Stam & Jensen SIGGRAPH 2001 Ron Fedkiw http://physbam.stanford.edu/~fedkiw/ Enright, Marschner, & Fedkiw, Animation and Rendering of Complex Water Surfaces, SIGGRAPH 2002. Guendelman, Selle, Losasso, & Fedkiw, Coupling Water and Smoke to Thin Deformable and Rigid Shells, SIGGRAPH 2005. Cem Yuksel, Donald H. House, and John Keyser, Wave Particles, SIGGRAPH 2007 Reading for Tuesday 2/12: Synthesis of Complex Dynamic Character Motion from Simple Animation, Liu & Popović, 2002. Post a comment or question on the LMS discussion by 10am on Tuesday 2/12 5