Center for Computational Visualization - PowerPoint PPT Presentation

About This Presentation
Title:

Center for Computational Visualization

Description:

Institute of Computational and Engineering Sciences ... – PowerPoint PPT presentation

Number of Views:49
Avg rating:3.0/5.0
Slides: 49
Provided by: CB5404
Category:

less

Transcript and Presenter's Notes

Title: Center for Computational Visualization


1
Lecture 12 Multiscale Bio-Modeling and
VisualizationOrgan Models II Heart,
Cardiovascular Circulation and Reactive Fluid
Transport
Chandrajit Bajaj http//www.cs.utexas.edu/bajaj
2
Blood Circulation
3
(No Transcript)
4
(No Transcript)
5
(No Transcript)
6
(No Transcript)
7
(No Transcript)
8
Heart Organ System
9
Active Transport
10
Transport of Reactive Substances through Fluids
11
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.

12
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

13
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

14
Updating the Velocity Field
  • The general procedure
  • The add force step f
  • Update the velocity field for the effect of
    external forces.
  • Implementation
  • Simple.

15
Advect Step
  • 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.

16
Diffuse step
  • The diffuse step
  • Use an implicit method for the effect of
    viscosity.
  • Implementation
  • Use the linear solver POIS3D from FISHPAK after
    discretization.

17
Project step
  • The project step P(w3)
  • Apply the projection operator to make the
    velocity field divergent-free.
  • Implementation
  • Use the linear solver POIS3D form FISHPAK after
    discretization.

18
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

19
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

20
Reaction
  • Reaction rate (a.k.a. rate law)
  • Describes the rate r of change of the
    concentrations, denoted by , of reactants and
    products.

21
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.

22
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)
23
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
24
Grid values used in this method
  • Several values are defined at the center of the
    grid cell

grid cell
defined values
discretized grid
25
Added control factors
26
Computation Flow
Computation of the fluids velocity field
Update of reaction-related parameters
Evolution of the density temperature
Application of chemical reaction
27
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

28
Step2 Evolution of density and
temperature
  • Density field
  • Similarly as in Sta99 and FSJ01 except that
    multiple substances in the gas mixture are
    handled

29
Reactive Fluids
  • Each substance is evolved separately.
  • Molar concentrations and densities are related by
    molar masses .

30
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.

31
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

32
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

33
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.

34
Vorticity confinement
  • fconf 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

35
Computation Flow
Computation of the fluids velocity field
Update of reaction-related parameters
Evolution of the density temperature
Application of chemical reaction
36
Animation Results Reactive substance in a
gaseous flow
37
Additional Reading
  • J. Stam Stable Fluids, SIGGRAPH 1999, 121-128.
  • N. Foster, D. Metaxas, Modeling the motion of a
    hot turbulent gas, SIGGRAPH 1997, 181-188
  • G. Yngve, J. OBrien, J. Hodgins. Animating
    explosions. SIGGRAPH 2000. 29-36
  • R. Fedkiw, J. Stam, H. Jensen. Visual simulation
    of smoke. SIGGRAPH 2001, 23-30.
  • W. Gates Animation of Reactive Fluids, Ph.D.
    Thesis, UBC, 2002
  • B. Feldman, J. OBrien, O. Arikan. Animating
    suspended particle explosions. TOG, 22(3)23-40.
    2003.
  • I. Ihm, B. Kang, D. Cha Animation of Reactive
    Gaseous Fluids through Chemical Kinetics,
    ACM/Siggraph Symp. on Computer Animation (2004)

38
Heart Organ System I
39
Heart Disorders I
40
Heart Disorder II
41
Heart Disorder III
42
Heart Disorder IV
43
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.

44
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 smokes density ?

45
Updating the Velocity Field
  • The add force step f
  • Update the velocity field for the effect of
    forces.
  • fuser user-defined force (for any purpose)
  • fbuoy gravity and buoyancy forces

46
Advection
  • 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

47
Project step
  • The project step P(w3)
  • 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
48
Moving Substances through the Fluid
  • Use the semi-Lagrangian scheme.
Write a Comment
User Comments (0)
About PowerShow.com