November 2005 Center for Computational Visualization Institute of Computational and Engineering Sciences Department of Computer Sciences University of.

Slides:



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

My First Fluid Project Ryan Schmidt. Outline MAC Method How far did I get? What went wrong? Future Work.
Gas Density: Summary The molar concentrations and densities of gases increase as they are compressed (less volume, right?), but decrease as they are heated.
Realistic Simulation and Rendering of Smoke CSE Class Project Presentation Oleksiy Busaryev TexPoint fonts used in EMF. Read the TexPoint manual.
Navier-Stokes.
Matthias Müller, Barbara Solenthaler, Richard Keiser, Markus Gross Eurographics/ACM SIGGRAPH Symposium on Computer Animation (2005),
Self-propelled motion of a fluid droplet under chemical reaction Shunsuke Yabunaka 1, Takao Ohta 1, Natsuhiko Yoshinaga 2 1)Department of physics, Kyoto.
Equations of Continuity
Evolving Sub-Grid Turbulence for Smoke Animation Hagit Schechter Robert Bridson SCA 08.
The formation of stars and planets Day 1, Topic 3: Hydrodynamics and Magneto-hydrodynamics Lecture by: C.P. Dullemond.
1 MECH 221 FLUID MECHANICS (Fall 06/07) Tutorial 7.
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.
1cs533d-winter-2005 Notes  I’m now in X663 Well, sort of…  Questions about assignment 3?
1 MFGT 242: Flow Analysis Chapter 4: Governing Equations for Fluid Flow Professor Joe Greene CSU, CHICO.
Combined Lagrangian-Eulerian Approach for Accurate Advection Toshiya HACHISUKA The University of Tokyo Introduction Grid-based fluid.
Keyframe Control of Smoke Simulations SIGGRAPH 2003.
Modeling Fluid Phenomena -Vinay Bondhugula (25 th & 27 th April 2006)
Visual Simulation of Smoke SIGGRAPH’01 Ronald Fedkiw, Jos Stam and Henrik Wann Jensen Stanford University & Alias|wavefront.
Principles of Liquid Flow through Pipelines
Numerical Hydraulics Wolfgang Kinzelbach with Marc Wolf and Cornel Beffa Lecture 1: The equations.
Fluid mechanics 3.1 – key points
Modelling Realistic Water & Fire Sérgio Leal Socrates/Erasmus student at: AK Computer Graphics Institute for Computer Graphics and Vision Technical 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.
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.
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
Computer Animation Rick Parent Computer Animation Algorithms and Techniques Fluids.
Animation of Fluids.
COMPUTATIONAL FLUID DYNAMICS IN REAL-TIME An Introduction to Simulation and Animation of Liquids and Gases.
Enhancement of Heat Transfer P M V Subbarao Associate Professor Mechanical Engineering Department IIT Delhi Invention of Compact Heat Transfer Devices……
A Fast Simulation Method Using Overlapping Grids for Interactions between Smoke and Rigid Objects Yoshinori Dobashi (Hokkaido University) Tsuyoshi Yamamoto.
Smoothed Particle Hydrodynamics (SPH) Fluid dynamics The fluid is represented by a particle system Some particle properties are determined by taking an.
Lecture I of VI (Claudio Piani) Course philosophy, the Navier-Stokes equations, Shallow Water, pressure gradient force, material derivative, continuity,
A PPLIED M ECHANICS Lecture 01 Slovak University of Technology Faculty of Material Science and Technology in Trnava.
1 Fluid Models. 2 GasLiquid Fluids Computational Fluid Dynamics Airframe aerodynamics Propulsion systems Inlets / Nozzles Turbomachinery Combustion Ship.
A particle-gridless hybrid methods for incompressible flows
Prof. dr. A. Achterberg, Astronomical Dept., IMAPP, Radboud Universiteit.
Mathematical Equations of CFD
Chemical Equations and Reactions. Describing Chemical Reactions  A process by which one or more substances are changed into one or more different substances.
1 Discretization of Fluid Models (Navier Stokes) Dr. Farzad Ismail School of Aerospace and Mechanical Engineering Universiti Sains Malaysia Nibong Tebal.
Taming a Wild River Jeff Lander Darwin 3D
Detail-Preserving Fluid Control N. Th ű rey R. Keiser M. Pauly U. R ű de SCA 2006.
Stable, Circulation- Preserving, Simplicial Fluids Sharif Elcott, Yiying Tong, Eva Kanso, Peter Schröder, and Mathieu Desbrun.
Richard Rotunno National Center for Atmospheric Research, USA Dynamical Mesoscale Mountain Meteorology.
FlowFixer: Using BFECC for Fluid Simulation ByungMoon Kim Yingjie Liu Ignacio Llamas Jarek Rossignac Georgia Institute of Technology.
FREE CONVECTION 7.1 Introduction Solar collectors Pipes Ducts Electronic packages Walls and windows 7.2 Features and Parameters of Free Convection (1)
Physical Based Modeling and Animation of Fire 1/25.
© Fox, Pritchard, & McDonald Introduction to Fluid Mechanics Chapter 5 Introduction to Differential Analysis of Fluid Motion.
1 Work and Heat Readings: Chapter Internal Energy -Initial kinetic energy is lost due to friction. -This is not completely true, the initial kinetic.
AMS 691 Special Topics in Applied Mathematics Lecture 3
Multiple Species Chapter 7. Training Manual May 15, 2001 Inventory # Objectives The FLOTRAN multiple species capabilities. Dilute mixture option.
CP502 Advanced Fluid Mechanics
CSE 872 Dr. Charles B. Owen Advanced Computer Graphics1 Water Computational Fluid Dynamics Volumes Lagrangian vs. Eulerian modelling Navier-Stokes equations.
Heat Transfer Su Yongkang School of Mechanical Engineering # 1 HEAT TRANSFER CHAPTER 9 Free Convection.
Heat Transfer Su Yongkang School of Mechanical Engineering # 1 HEAT TRANSFER CHAPTER 6 Introduction to convection.
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.
Great Innovations are possible through General Understanding …. P M V Subbarao Professor Mechanical Engineering Department I I T Delhi Thermodynamic View.
General form of conservation equations
FLUID DYNAMICS Made By: Prajapati Dharmesh Jyantibhai ( )
Space Distribution of Spray Injected Fluid
Advanced Computer Graphics Spring 2008
Introduction to Fluid Dynamics & Applications
Convective Heat Transfer
FLUID MECHANICS - Review
Introduction to Fluid Mechanics
Presentation transcript:

November 2005 Center for Computational Visualization Institute of Computational and Engineering Sciences Department of Computer Sciences University of Texas at Austin Lecture 12: Multiscale Bio-Modeling and Visualization Organ Models II: Heart, Cardiovascular Circulation and Reactive Fluid Transport Chandrajit Bajaj

November 2005 Center for Computational Visualization Institute of Computational and Engineering Sciences Department of Computer Sciences University of Texas at Austin Blood Circulation

November 2005 Center for Computational Visualization Institute of Computational and Engineering Sciences Department of Computer Sciences University of Texas at Austin

November 2005 Center for Computational Visualization Institute of Computational and Engineering Sciences Department of Computer Sciences University of Texas at Austin

November 2005 Center for Computational Visualization Institute of Computational and Engineering Sciences Department of Computer Sciences University of Texas at Austin

November 2005 Center for Computational Visualization Institute of Computational and Engineering Sciences Department of Computer Sciences University of Texas at Austin

November 2005 Center for Computational Visualization Institute of Computational and Engineering Sciences Department of Computer Sciences University of Texas at Austin

November 2005 Center for Computational Visualization Institute of Computational and Engineering Sciences Department of Computer Sciences University of Texas at Austin Heart Organ System

November 2005 Center for Computational Visualization Institute of Computational and Engineering Sciences Department of Computer Sciences University of Texas at Austin Active Transport

November 2005 Center for Computational Visualization Institute of Computational and Engineering Sciences Department of Computer Sciences University of Texas at Austin Transport of Reactive Substances through Fluids

November 2005 Center for Computational Visualization Institute of Computational and Engineering Sciences Department of Computer Sciences University of Texas at Austin Transport of Reactive Substances through Fluids To extend the model of fluid hydrodynamics with chemical kinetics to handle flow of reactive substances through fluids. To establish a particle-mesh simulation technique for reactive flow transport.

November 2005 Center for Computational Visualization Institute of Computational and Engineering Sciences Department of Computer Sciences University of Texas at Austin Basic Fluid Dynamics Equations in [Stam99] The incompressible Navier-Stokes equations for inviscid fluids For the velocity u = (u, v, w), –Conservation of mass –Conservation of momentum advection diffusion pressure external force

November 2005 Center for Computational Visualization Institute of Computational and Engineering Sciences Department of Computer Sciences University of Texas at Austin Fluids (contd) Helmholtz-Hodge decomposition –“Any vector field is the sum of a mass conserving field and a gradient field.” Projection operator P The combined Navier-Stokes equations –Using the fact that and, the following equation is obtained:

November 2005 Center for Computational Visualization Institute of Computational and Engineering Sciences Department of Computer Sciences University of Texas at Austin Updating the Velocity Field The general procedure 1.The add force step: f  Update the velocity field for the effect of external forces.  Implementation: –Simple.

November 2005 Center for Computational Visualization Institute of Computational and Engineering Sciences Department of Computer Sciences University of Texas at Austin Advect Step 2.The advect step: Use the method of characteristics for the effect of advection: a semi- Lagrangian scheme –Implementation: Build a particle tracer and linear (or cubic) interpolator.

November 2005 Center for Computational Visualization Institute of Computational and Engineering Sciences Department of Computer Sciences University of Texas at Austin Diffuse step 3.The diffuse step: –Use an implicit method for the effect of viscosity. –Implementation: Use the linear solver POIS3D from FISHPAK after discretization.

November 2005 Center for Computational Visualization Institute of Computational and Engineering Sciences Department of Computer Sciences University of Texas at Austin Project step 4.The project step: P(w 3 ) Apply the projection operator to make the velocity field divergent-free. –Implementation: Use the linear solver POIS3D form FISHPAK after discretization.

November 2005 Center for Computational Visualization Institute of Computational and Engineering Sciences Department of Computer Sciences University of Texas at Austin Moving Substances through the Fluid A non-reactive substance is advected by the fluid while diffusing at the same time. The following equation can be used to evolve density, temperature, etc. –Dissipation term

November 2005 Center for Computational Visualization Institute of Computational and Engineering Sciences Department of Computer Sciences University of Texas at Austin Introduction to Chemical Kinetics What is chemical kinetics? A branch of kinetics that studies the rates and mechanisms of chemical reactions. Stoichiometric equation –A, B, E, F : chemical species (reactants & products) –a, b, e, f : stoichiometric coefficients

November 2005 Center for Computational Visualization Institute of Computational and Engineering Sciences Department of Computer Sciences University of Texas at Austin Reaction Reaction rate (a.k.a. rate law) –Describes the rate r of change of the concentrations, denoted by [*], of reactants and products.

November 2005 Center for Computational Visualization Institute of Computational and Engineering Sciences Department of Computer Sciences University of Texas at Austin Reaction Rate How to decide the reaction rate r : –r : a function of the concentrations of species present at time t, –For a large class of chemical reactions, it is proportional to the concentration of each reactant/product raised to some power. When, for example, only a forward reaction occurs, –Once the rate is determined, [A], [B], [C] and [D] are updated by integrating the rate law over time interval.

November 2005 Center for Computational Visualization Institute of Computational and Engineering Sciences Department of Computer Sciences University of Texas at Austin Rate Coefficient Dependence Rate coefficient k –Is a function of both temperature and pressure. –Usually, the pressure dependence is ignored. –For many homogeneous reactions, Arrhenius equation A = const. Ea = activation energy R = universal gas constant 8.314x10^-3 kJ/(mol. K)

November 2005 Center for Computational Visualization Institute of Computational and Engineering Sciences Department of Computer Sciences University of Texas at Austin Extension to Reactive Fluids Update of velocity field Evolution of density and temperature Application of chemical reaction Update of reaction- related parameters [Step1][Step3][Step2][Step4] The simulation technique by [Sta99] and [FSJ01] comprises [Step1] and [Step2] and [IKC04] for [Step3] and [Step 4]

November 2005 Center for Computational Visualization Institute of Computational and Engineering Sciences Department of Computer Sciences University of Texas at Austin Grid values used in this method discretized grid Velocity Molar concentration Pressure Temperature Reaction rate Several values are defined at the center of the grid cell grid celldefined values

November 2005 Center for Computational Visualization Institute of Computational and Engineering Sciences Department of Computer Sciences University of Texas at Austin Added control factors Control parameterDescription the chemical reaction type the stoichiometric coefficients the molar masses the reaction rate law the reaction rate constant the heat source term the vorticity coefficient the divergence control factor

November 2005 Center for Computational Visualization Institute of Computational and Engineering Sciences Department of Computer Sciences University of Texas at Austin Computation Flow Computation of the fluid’s velocity field Evolution of the density & temperatureApplication of chemical reaction Update of reaction-related parameters

November 2005 Center for Computational Visualization Institute of Computational and Engineering Sciences Department of Computer Sciences University of Texas at Austin [Step1] Update of velocity field Uses a modified mass conservation equation, as in [FOA03], to control the expansion/contraction of reactive gases: The divergence constraint  is determined for each cell according to the reaction process that occurs in the region. –Determined in [Step4] after the application of chemical kinetics. The pressure is computed through the modified Poisson equation:

November 2005 Center for Computational Visualization Institute of Computational and Engineering Sciences Department of Computer Sciences University of Texas at Austin [Step2] Evolution of density and temperature Density field –Similarly as in [Sta99] and [FSJ01] except that multiple substances in the gas mixture are handled:

November 2005 Center for Computational Visualization Institute of Computational and Engineering Sciences Department of Computer Sciences University of Texas at Austin Reactive Fluids –Each substance is evolved separately. Molar concentrations and densities are related by molar masses. Evolve.

November 2005 Center for Computational Visualization Institute of Computational and Engineering Sciences Department of Computer Sciences University of Texas at Austin Temperature Fields Temperature field –Similarly as in [Sta99] and [FSJ01] except that a heat source term is added. –The heat source term is updated for each cell in [Step4] to reflect the occurring chemical reaction in the region.

November 2005 Center for Computational Visualization Institute of Computational and Engineering Sciences Department of Computer Sciences University of Texas at Austin [Step3] Application of chemical reaction The reaction process is applied for each cell in the reaction system. ① Determine the reaction rate ② Then, the new concentration vector c is updated by integrating the differential equations over  t:

November 2005 Center for Computational Visualization Institute of Computational and Engineering Sciences Department of Computer Sciences University of Texas at Austin [Step4] Update of reaction-related parameters The updated density d, temperature T, and reaction rate r influence the velocity through the heat source term external force f and the  value. – The temperature update is completed by taking care of the heat source term defined by –The buoyancy force, as proposed in [FSJ01], is updated:

November 2005 Center for Computational Visualization Institute of Computational and Engineering Sciences Department of Computer Sciences University of Texas at Austin Velocity confinement ③ The vorticity confinement force, as proposed in [FSJ01], is updated according to or ④ The resulting external force is applied to the momentum conservation equation in each time frame. ⑤ The  value, determined by or,is applied to the modified mass conservation equation in the next time frame.

November 2005 Center for Computational Visualization Institute of Computational and Engineering Sciences Department of Computer Sciences University of Texas at Austin Vorticity confinement f conf : vorticity confinement force –Use a vorticity confinement method by Steinhoff and Underhill. –Inject the energy lost due to numerical dissipation back into the fluid using a forcing term. –Reduce the numerical dissipation inherent in semi-Lagrangian schemes. –Implementation: straightforward

November 2005 Center for Computational Visualization Institute of Computational and Engineering Sciences Department of Computer Sciences University of Texas at Austin Computation Flow Computation of the fluid’s velocity field Evolution of the density & temperatureApplication of chemical reaction Update of reaction-related parameters

November 2005 Center for Computational Visualization Institute of Computational and Engineering Sciences Department of Computer Sciences University of Texas at Austin Animation Results – Reactive substance in a gaseous flow

November 2005 Center for Computational Visualization Institute of Computational and Engineering Sciences Department of Computer Sciences University of Texas at Austin Additional Reading 1.J. Stam “Stable Fluids”, SIGGRAPH 1999, N. Foster, D. Metaxas, “Modeling the motion of a hot turbulent gas”, SIGGRAPH 1997, G. Yngve, J. O’Brien, J. Hodgins. Animating explosions. SIGGRAPH R. Fedkiw, J. Stam, H. Jensen. “Visual simulation of smoke”. SIGGRAPH 2001, W. Gates “Animation of Reactive Fluids”, Ph.D. Thesis, UBC, B. Feldman, J. O’Brien, O. Arikan. Animating suspended particle explosions. TOG, 22(3): I. Ihm, B. Kang, D. Cha “Animation of Reactive Gaseous Fluids through Chemical Kinetics”, ACM/Siggraph Symp. on Computer Animation (2004)

November 2005 Center for Computational Visualization Institute of Computational and Engineering Sciences Department of Computer Sciences University of Texas at Austin Heart Organ System I

November 2005 Center for Computational Visualization Institute of Computational and Engineering Sciences Department of Computer Sciences University of Texas at Austin Heart Disorders I

November 2005 Center for Computational Visualization Institute of Computational and Engineering Sciences Department of Computer Sciences University of Texas at Austin Heart Disorder II

November 2005 Center for Computational Visualization Institute of Computational and Engineering Sciences Department of Computer Sciences University of Texas at Austin Heart Disorder III

November 2005 Center for Computational Visualization Institute of Computational and Engineering Sciences Department of Computer Sciences University of Texas at Austin Heart Disorder IV

November 2005 Center for Computational Visualization Institute of Computational and Engineering Sciences Department of Computer Sciences University of Texas at Austin Summary of [Stam99] Based on the full Navier-Stokes equations Based on an ‘unconditionally’ stable computational model –Semi-Lagrangian integration scheme Easy to implement Appropriate for gas and smoke Suffers from ‘numerical dissipation’ –The flow tends to dampen rapidly. –[Fedkiw01] attempts to solve this problem.

November 2005 Center for Computational Visualization Institute of Computational and Engineering Sciences Department of Computer Sciences University of Texas at Austin Basic Equations in [Fedkiw01] The incompressible Euler equations “Gases are modeled as inviscid, incompressible, constant density fluids.” The equations for the evolution of the temperature T and the smoke’s density 

November 2005 Center for Computational Visualization Institute of Computational and Engineering Sciences Department of Computer Sciences University of Texas at Austin Updating the Velocity Field 1.The add force step: f –Update the velocity field for the effect of forces. f user : user-defined force (for any purpose) f buoy : gravity and buoyancy forces

November 2005 Center for Computational Visualization Institute of Computational and Engineering Sciences Department of Computer Sciences University of Texas at Austin Advection 2.The advect step: - (u  ) u –Use the method of characteristics for the effect of advection: a semi-Lagrangian scheme –Implementation: Build a particle tracer and linear interpolator. Same as [Stam99]

November 2005 Center for Computational Visualization Institute of Computational and Engineering Sciences Department of Computer Sciences University of Texas at Austin Project step 3.The project step: P(w 3 ) Apply the projection operator to make the velocity field divergent- free. Same as [Stam99] –Implementation: Impose free Neumann boundary conditions at the occupied voxels. Use the conjugate gradient method with an incomplete Choleski pre- conditioner. : Poisson equation

November 2005 Center for Computational Visualization Institute of Computational and Engineering Sciences Department of Computer Sciences University of Texas at Austin Moving Substances through the Fluid Use the semi-Lagrangian scheme.