Smoothed Particle Hydrodynamics (SPH) Fluid dynamics The fluid is represented by a particle system Some particle properties are determined by taking an.

Slides:



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

Active Contours, Level Sets, and Image Segmentation
Lecture 15: Capillary motion
Lecture 2 Properties of Fluids Units and Dimensions.
Dynamic model of a drop shot from an inkjet printer.
Mode-Splitting for Highly Detail, Interactive Liquid Simulation H. Cords University of Rostock Presenter: Truong Xuan Quang.
PHYS 218 sec Review Chap. 4 Newton’s laws of motion.
Acoustic Modeling of Reverberation using Smoothed Particle Hydrodynamics Thomas Wolfe.
Fluid Mechanics –For Civil Engineers is all about SMU Storing– Moving– Using ( Incompressible fluids - water) To design and manage these systems we need.
Particle-based fluid simulation for interactive applications
Fluid Kinematics Fluid Dynamics . Fluid Flow Concepts and Reynolds Transport Theorem ä Descriptions of: ä fluid motion ä fluid flows ä temporal and spatial.
1 MECH 221 FLUID MECHANICS (Fall 06/07) Tutorial 6 FLUID KINETMATICS.
1cs426-winter-2008 Notes  Course project: Will be due at the end of the term You can do it in pairs Create an animation that combines an algorithm for.
Conservation Vector Review Mass Balance General Statement Simplifications The Control Volume A Useable Form Problems.
Modeling Fluid Phenomena -Vinay Bondhugula (25 th & 27 th April 2006)
Motion of Fluid Particles, An Essential Need of Humans…… P M V Subbarao Professor Mechanical Engineering Department I I T Delhi Kinematics of Viscous.
The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL Introduction to Modeling Fluid Dynamics 1.
Modeling, Simulating and Rendering Fluids Thanks to Ron Fediw et al, Jos Stam, Henrik Jensen, Ryan.
Work Let us examine the work done by a torque applied to a system. This is a small amount of the total work done by a torque to move an object a small.
Lecture VII Rigid Body Dynamics CS274: Computer Animation and Simulation.
Simple and basic dynamical ideas…..  Newton’s Laws  Pressure and hydrostatic balance  The Coriolis effect  Geostrophic balance  Lagrangian-Eulerian.
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.
Introduction to Fluid Mechanics
COMPUTATIONAL FLUID DYNAMICS IN REAL-TIME An Introduction to Simulation and Animation of Liquids and Gases.
Chapter 9: Rotational Dynamics
One of the most important fields in engineering Mechanics.
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.
STATICS AND DYNAMICS 4TH ESO Chemistry and Physics IES AMES.
A particle-gridless hybrid methods for incompressible flows
Modelling Tsunami Waves using Smoothed Particle Hydrodynamics (SPH) R.A. DALRYMPLE and B.D. ROGERS Department of Civil Engineering, Johns Hopkins University.
Motion Speed: average and instantaneous Velocity Acceleration.
Vectors What is a vector?. Basics There are two types of values used everyday in the world to describe movement and quantity. Scalars and Vectors These.
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.
Geometry Group Summer 08 Series Toon Lenaerts, Bart Adams, and Philip Dutre Presented by Michael Su May
Dynamics: Newton’s Laws of Motion. Concepts Force Newton’s First Law of Motion Mass Newton’s Second Law of Motion Newton’s Third Law of Motion Weight.
Advanced Computer Graphics Rigid Body Simulation Spring 2002 Professor Brogan.
Catchwater The Game Interactive Particle-Based Fluid Simulation Modeling Water Flow Through Pipes Ken Brooks and Brian Clipp May 9, 2006.
Dynamics: Newton’s Laws of Motion
Introduction: Lattice Boltzmann Method for Non-fluid Applications Ye Zhao.
You can use distance–time graphs to calculate speed / acceleration. The steeper the gradient, the slower / faster the speed / acceleration. You can use.
Model Task 5: Implementing the 2D model ATM 562 Fall 2015 Fovell (see updated course notes, Chapter 13) 1.
FlowFixer: Using BFECC for Fluid Simulation ByungMoon Kim Yingjie Liu Ignacio Llamas Jarek Rossignac Georgia Institute of Technology.
Matthew Zhu. At each time step calculate each particle’s acceleration and use Verlet numerical integration to update its position, velocity, and grid.
Progress on Component-Based Subsurface Simulation I: Smooth Particle Hydrodynamics Bruce Palmer Pacific Northwest National Laboratory Richland, WA.
Ch 4 Fluids in Motion.
Work Readings: Chapter 11.
Smoothed Particle Hydrodynamics Matthew Zhu CSCI 5551 — Fall 2015.
Dynamics: Newton’s Laws of Motion. Force A force is a push or pull. An object at rest needs a force to get it moving; a moving object needs a force to.
Displacement, Velocity, Constant Acceleration.
Particle-based Viscoelastic Fluid Simulation Simon Clavet Philippe Beaudoin Pierre Poulin LIGUM, Université de Montréal.
Numerical Modeling of Viscoelastic Drops John Gemmer, Millersville University Tobin Isaac, Rice University Mark Sussman, Florida State University.
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 발표 윤종철.
Mechanics The study of Physics begins with mechanics. Mechanics is the branch of physics that focuses on the motion of objects and the forces that cause.
Dynamics: Newton’s Laws of Motion
Chapter 18: Line Integrals and Surface Integrals
Continuum Mechanics (MTH487)
Dynamics: Newton’s Laws of Motion
Vectors Scalars and Vectors:
Fluid Kinematics Fluid Dynamics.
Find the velocity of a particle with the given position function
5. Describing Flow CH EN 374: Fluid Mechanics.
16.2: Line Integrals 16.3: The Fundamental Theorem for Line Integrals
Presentation transcript:

Smoothed Particle Hydrodynamics (SPH) Fluid dynamics The fluid is represented by a particle system Some particle properties are determined by taking an average over neighboring particles 1.Only neighbors contribute to the average 2.Close particles should contribute more than distant particles In the average: Use a weight function

Before we consider the details… How do we describe our particle system? Each particle is specified by a state list: mass, velocity, position, force, density, pressure, color Particle i

The Goal The acceleration of a particle is Let us now learn how to set up the particle list…

In our simulation we choose to have the same mass for all particles, m i = m The mass m is calculated by Note! Do not change the mass during the simulation Particle mass

Let us now go back to the weighted averages… How do we determine the density of a particle? Weight function or Kernel function The density calculation is done every time step The neighbor list must be updated every time step

Surface tracking It is not trivial to know where the surface should be…  We can find the surface by monitoring the density  If the density at a particle deviates too much compared to expected density we tag it as a surface particle

Pressure We get the pressure from the relation: where c s is the speed of sound and ρ 0 is the fluid reference density

Let us take a look on the particle property list again  The next property we focus on is the force  Velocities and positions are calculated from the forces in a way similar to an ordinary particle system  But before we go into that we need to learn more about taking averages…

In SPH we formally define averages in the following way: In practice we use a discrete version of this: Example Meshless method!!

Velocities and Forces Motion equation in elasticity: We also had: Now we instead use: All this together produces the following fluid equation called Navier-Stokes equation

 Our task is now to convert each term on the RHS in Navier-Stokes to SPH-averages  First term (pressure) becomes: where

 The second term (viscosity): where

Summary The acceleration of a particle can now be written:

For each time step:  Find neighbors to each particle and store in a list  Calculate density for each particle  Calculate pressure for each particle  Calculate all type of accelerations for each particle, and sum it up  Find new velocities and positions by using the same integration method as before…

The color property? What is the use of this property? We can use it to detect the position of the surface of our fluid We can use it to detect the position of the surface of our fluid We can also use it to find the normal vectors at the surface (important for rendering!) We can also use it to find the normal vectors at the surface (important for rendering!) The normal vectors allow us to implement surface tension The normal vectors allow us to implement surface tension By adding several color fields we can for example implement a simple model of flame propagation By adding several color fields we can for example implement a simple model of flame propagation

The color field  The color parameter is a quantity that is zero everywhere except at the particle where it has a finite value  Similar to how we calculated density we now calculate the average color at particle i as  Deviations of the color field show us where the surface is, and this case we choose to study the derivative of color field

 The gradient of a color field is  When the magnitude of the gradient is larger than a certain value, we tag the particle as a surface particle

Surface tension The force that tends to make surfaces smooth (like a drop of liquid) can be modeled in the following way: whereand Note: If the magnitude of n i is small we can get numerical problem in the division above. To avoid this we only calculate if the magnitude of n i exceeds a certain threshold.