Particle-in-Cell Methods

Slides:



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

Practical Course SC & V Free Boundary Value Problems Prof. Dr. Hans-Joachim Bungartz Institut für Informatik Schwerpunkt Wissenschaftliches Rechnen.
My First Fluid Project Ryan Schmidt. Outline MAC Method How far did I get? What went wrong? Future Work.
Simulazione di Biomolecole: metodi e applicazioni giorgio colombo
Transfer coefficient algorithm for small mass nodes in material point method Xia Ma, Balaji Jayaraman, Paul T. Giguere and Duan Z. Zhang CartaBlanca Team.
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
Prof. dr. A. Achterberg, Astronomical Dept., IMAPP, Radboud Universiteit.
Louisiana Tech University Ruston, LA Slide 1 Time Averaging Steven A. Jones BIEN 501 Monday, April 14, 2008.
An Eulerian Divergence Preserving Approach for Partitioned FSI Simulations on Cartesian Grids M. Mehl, M. Brenk, I. Muntean, T. Neckel, T. Weinzierl TU.
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.
1Notes  Textbook: matchmove 6.7.2, B.9. 2 Match Move  For combining CG effects with real footage, need to match synthetic camera to real camera: “matchmove”
Error Analysis for Material Point Method and a case study from Gas Dynamics Le-Thuy Tran and Martin Berzins Thanks to DOE for funding from
Intro to Fluid Simulation (I) Jeff Pool COMP
Peyman Mostaghimi, Martin Blunt, Branko Bijeljic 11 th January 2010, Pore-scale project meeting Direct Numerical Simulation of Transport Phenomena on Pore-space.
University of North Carolina - Chapel Hill Fluid & Rigid Body Interaction Comp Physical Modeling Craig Bennetts April 25, 2006 Comp Physical.
Combined Lagrangian-Eulerian Approach for Accurate Advection Toshiya HACHISUKA The University of Tokyo Introduction Grid-based fluid.
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,
Visual Simulation of Smoke SIGGRAPH’01 Ronald Fedkiw, Jos Stam and Henrik Wann Jensen Stanford University & Alias|wavefront.
Numerical Hydraulics Wolfgang Kinzelbach with Marc Wolf and Cornel Beffa Lecture 1: The equations.
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.
Fluid Simulation using CUDA Thomas Wambold CS680: GPU Program Optimization August 31, 2011.
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.
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 Animation CSE 3541 Matt Boggus. Procedural approximations – Heightfield fluids Mathematical background – Navier-Stokes equation Computational models.

Erin Catto Blizzard Entertainment Numerical Integration.
A Hybrid Particle-Mesh Method for Viscous, Incompressible, Multiphase Flows Jie LIU, Seiichi KOSHIZUKA Yoshiaki OKA The University of Tokyo,
Animation of Fluids.
COMPUTATIONAL FLUID DYNAMICS IN REAL-TIME An Introduction to Simulation and Animation of Liquids and Gases.
Smoothed Particle Hydrodynamics (SPH) Fluid dynamics The fluid is represented by a particle system Some particle properties are determined by taking an.
Animating Sand as a Fluid Yongning Zhu Robert Bridson Presented by KKt.
Crosscutting Concepts Next Generation Science Standards.
1 Discretization of Fluid Models (Navier Stokes) Dr. Farzad Ismail School of Aerospace and Mechanical Engineering Universiti Sains Malaysia Nibong Tebal.
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
Governing equations: Navier-Stokes equations, Two-dimensional shallow-water equations, Saint-Venant equations, compressible water hammer flow equations.
A Numerical Model for Multiphase Flow, I: The Interface Tracking Algorithm Frank Bierbrauer.
Simplified Smoothed Particle Hydrodynamics for Interactive Applications Zakiya Tamimi Richard McDaniel Based on work done at Siemens Corporate.
Detail-Preserving Fluid Control N. Th ű rey R. Keiser M. Pauly U. R ű de SCA 2006.
Dissipative Particle Dynamics. Molecular Dynamics, why slow? MD solves Newton’s equations of motion for atoms/molecules: Why MD is slow?
Grid or Mesh or Adaptive Procedure Fluid Dynamics is Made for This And this was developed in the Early 1970s.
FlowFixer: Using BFECC for Fluid Simulation ByungMoon Kim Yingjie Liu Ignacio Llamas Jarek Rossignac Georgia Institute of Technology.
Initial conditions for N-body simulations Hans A. Winther ITA, University of Oslo.
Addendum : Hydrostatic Equilibrium and Chemical Potential. Previously we found that between two incompressible fluids the equilibrium condition is satisfied.
OEAS 604: Introduction to Physical Oceanography Conservation of Mass Chapter 4 – Knauss Chapter 5 – Talley et al. 1.
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 발표 윤종철.
Interesting papers on SIGGRAPH 2005 Korea University Computer Graphics Lab. Jin-Kyung Hong.
Computer Animation Rick Parent Computer Animation Algorithms and Techniques Computational Fluid Dynamics.
Electrical circuits, power supplies and passive circuit elements
Fluid Animation CSE 3541 By: Matt Boggus.
CE 3305 Engineering FLUID MECHANICS
CE 3305 Engineering FLUID MECHANICS
Electrical circuits, power supplies and passive circuit elements
A TWO-FLUID NUMERICAL MODEL OF THE LIMPET OWC
Le-Thuy Tran and Martin Berzins
A Multiscale Approach to Mesh-based Surface Tension Flows
ATCM 6317 Procedural Animation
Jos Derksen & Radompon Sungkorn Chemical & Materials Engineering
Procedural Animation Lecture 11: Fluid dynamics
Computer Graphics Lecture 15.
12. Navier-Stokes Applications
Fluids and pressure.
Presentation transcript:

Particle-in-Cell Methods As per [Zhu&Bridson’05]

Particle-in-Cell Methods Back to Harlow in the 1950’s for compressible flow Abbreviated “PIC” Idea: Particles handle advection trivially Grids handle interactions efficiently Put the two together: -transfer quantities to grid -solve on grid (interaction forces) -transfer back to particles -move particles (advection)

PIC Gravity, boundaries, pressure, etc. Start with particles Transfer to grid Resolve forces on grid Gravity, boundaries, pressure, etc. Transfer velocity back to particles Advect: move particles Start with particles Transfer to grid Resolve forces on grid Gravity, boundaries, pressure, etc. Transfer velocity back to particles Advect: move particles Our algorithm begins with the particles carrying their velocity values (and any other fluid variables you might want).

PIC Gravity, boundaries, pressure, etc. Start with particles Transfer to grid Resolve forces on grid Gravity, boundaries, pressure, etc. Transfer velocity back to particles Advect: move particles Start with particles Transfer to grid Resolve forces on grid Gravity, boundaries, pressure, etc. Transfer velocity back to particles Advect: move particles We then transfer the particle variables to a background grid, using weighted averages.

PIC Gravity, boundaries, pressure, etc. Start with particles Transfer to grid Resolve forces on grid Gravity, boundaries, pressure, etc. Transfer velocity back to particles Advect: move particles Then we do the standard force steps of a grid-based solver, such as solving for the pressure that makes the velocity field incompressible.

PIC Gravity, boundaries, pressure, etc. Start with particles Transfer to grid Resolve forces on grid Gravity, boundaries, pressure, etc. Transfer velocity back to particles Advect: move particles We then transfer the updated velocities back to the particles. Here there are two choices, PIC or FLIP, which I will explain later.

PIC Gravity, boundaries, pressure, etc. Start with particles Transfer to grid Resolve forces on grid Gravity, boundaries, pressure, etc. Transfer velocity back to particles Advect: move particles Finally we do advection: we move the particles in the new velocity field. Then we are ready for the next time step.

FLuid-Implicit-Particle (FLIP) Problem with PIC: We resample (average) twice Even more numerical dissipation than pure Eulerian methods! FLuid-Implicit-Particle (FLIP) [Brackbill & Ruppel ‘86]: Transfer back the change of a quantity from grid to particles, not the quantity itself Each delta only averaged once: no accumulating dissipation! Nearly eliminated numerical dissipation from compressible flow simulation… Incompressible FLIP [Zhu&Bridson’05]: Do it with a MAC grid pressure solve

Where’s the Catch? Accuracy: When we average from particles to grid, simple weighted averages is only first order Not good enough for level sets Noise: Typically use 8 particles per grid cell for decent sampling Thus more degrees of freedom in particles then grid The grid simulation can’t see/respond to small-scale particle variations – can potentially grow in time Regularize: e.g. 95% FLIP, 5% PIC

Movies PIC vs. FLIP in 2d (marker particles) 3d examples (marker particles + implicit surface)