Reaction-Diffusion Systems Reactive Random Walks.

Slides:



Advertisements
Similar presentations
Time averages and ensemble averages
Advertisements

Courant and all that Consistency, Convergence Stability Numerical Dispersion Computational grids and numerical anisotropy The goal of this lecture is to.
Kinetics III Lecture 16. Derivation of 5.67 Begin with Assume ∆G/RT is small so that e ∆G/RT = 1+∆G/RT, then Near equilibrium for constant ∆H, ∆S, ∆G.
Louisiana Tech University Ruston, LA Slide 1 Krogh Cylinder Steven A. Jones BIEN 501 Friday, April 20, 2007.
Chapter 13 MIMs - Mobile Immobile Models. Consider the Following Case You have two connected domains that can exchange mass
TH EDITION LIAL HORNSBY SCHNEIDER COLLEGE ALGEBRA.
Random walk models in biology
1Notes  Reference  Witkin and Baraff, “Physically Based Modelling” course, SIGGRAPH 2001  Link on the course website.
Computational Biology, Part 17 Biochemical Kinetics I Robert F. Murphy Copyright  1996, All rights reserved.
Interfacial transport So far, we have considered size and motion of particles In above, did not consider formation of particles or transport of matter.
TDC 369 / TDC 432 April 2, 2003 Greg Brewster. Topics Math Review Probability –Distributions –Random Variables –Expected Values.
Transport Equations and Flux Laws Basic concepts and ideas 1.A concept model of Diffusion 2.The transient Diffusion Equation 3.Examples of Diffusion Fluxes.
Expectation Maximization Algorithm
Thermo & Stat Mech - Spring 2006 Class 27 1 Thermodynamics and Statistical Mechanics Random Walk.
An Introduction to Heat Flow
Chapter 4 Numerical Solutions to the Diffusion Equation.
2. Solving Schrödinger’s Equation Superposition Given a few solutions of Schrödinger’s equation, we can make more of them Let  1 and  2 be two solutions.
The Monte Carlo Method: an Introduction Detlev Reiter Research Centre Jülich (FZJ) D Jülich
8.3 Solving Systems of Linear Equations by Elimination
Monte Carlo Methods in Partial Differential Equations.
Physics of fusion power
CS 4730 Physical Simulation CS 4730 – Computer Game Design.
Welcome to Subject Area Energy Work, Power, & Simple.
Louisiana Tech University Ruston, LA Slide 1 Krogh Cylinder Steven A. Jones BIEN 501 Wednesday, May 7, 2008.
Reaction-Diffusion Systems - Continued Reactive Random Walks.
Sets, Combinatorics, Probability, and Number Theory Mathematical Structures for Computer Science Chapter 3 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesProbability.
ChE 452 Lecture 24 Reactions As Collisions 1. According To Collision Theory 2 (Equation 7.10)
Physics 361 Principles of Modern Physics Lecture 8.
El primero examen trimestal.  For the function, find a. b. Your answer is a.
Solving Systems of Linear Equations by Elimination Solve linear systems by elimination. Multiply when using the elimination method. Use an alternative.
Computational Biology, Part 15 Biochemical Kinetics I Robert F. Murphy Copyright  1996, 1999, 2000, All rights reserved.
1 Lesson 8: Basic Monte Carlo integration We begin the 2 nd phase of our course: Study of general mathematics of MC We begin the 2 nd phase of our course:
When the axis of rotation is fixed, all particles move in a circle. Because the object is rigid, they move through the same angular displacement in the.
 Let’s take everything we have learned so far and now add in the two other processes discussed in the introduction chapter – advection and retardation.
CEE 262A H YDRODYNAMICS Lecture 15 Unsteady solutions to the Navier-Stokes equation.
ECE 8443 – Pattern Recognition ECE 8423 – Adaptive Signal Processing Objectives: ML and Simple Regression Bias of the ML Estimate Variance of the ML Estimate.
Session 3, Unit 5 Dispersion Modeling. The Box Model Description and assumption Box model For line source with line strength of Q L Example.
Chapter 61 Continuous Time Markov Chains Birth and Death Processes,Transition Probability Function, Kolmogorov Equations, Limiting Probabilities, Uniformization.
Physics 361 Principles of Modern Physics Lecture 11.
Introduction to Particle Simulations Daniel Playne.
19 Basics of Mass Transport
Chapter 15 – CTRW Continuous Time Random Walks. Random Walks So far we have been looking at random walks with the following Langevin equation  is a.
Lecture 2 Molecular dynamics simulates a system by numerically following the path of all particles in phase space as a function of time the time T must.
Molecular Modelling - Lecture 2 Techniques for Conformational Sampling Uses CHARMM force field Written in C++
Statistics Lecture 4. Last class: measures of spread and box-plots Have completed Chapter 1 Today - Chapter 2.
Ch 24 pages Lecture 11 – Equilibrium centrifugation.
ChE 452 Lecture 25 Non-linear Collisions 1. Background: Collision Theory Key equation Method Use molecular dynamics to simulate the collisions Integrate.
Chapter 4 Section 3. Objectives 1 Copyright © 2012, 2008, 2004 Pearson Education, Inc. Solving Systems of Linear Equations by Elimination Solve linear.
4.3 Logarithmic Functions Logarithms Logarithmic Equations
Chapter 2.2 The Multiplication Principle of Equality.
Types of Models Marti Blad Northern Arizona University College of Engineering & Technology.
Transport Phenomena and Diffusion ( ) Net motion of particles occurs when a system is disturbed from equilibrium (e.g., concentration gradients)concentration.
Fick’s Law The exact interpretation of neutron transport in heterogeneous domains is so complex. Assumptions and approximations. Simplified approaches.
Equilibrium Chapter 17 This test will also have quite a bit of acid base chemistry (stuff we didn’t cover last chapter)
ChE 452 Lecture 09 Mechanisms & Rate Equations 1.
+ Chapter 16 – Markov Chain Random Walks McCTRWs – the fast food of random walks.
Heterogeneous Catalysis: Kinetics in Porous Catalyst Particles
Numerical Solutions to the Diffusion Equation
Lesson 8: Basic Monte Carlo integration
Midterm 2 - Review.
Types of Models Marti Blad PhD PE
Lecture 19 MA471 Fall 2003.
Chapter 14 The Behavior of Gases.
Section 3: Newton’s Third Law
Transport Modeling in Groundwater
3.1 Sums of Random Variables probability of z = x + y
Day 82 – Elimination.
Equilibrium Chapter 17.
Transport Modeling in Groundwater
Temperature Main Concept:
Presentation transcript:

Reaction-Diffusion Systems Reactive Random Walks

General Principle  Consider a reactive system made up of species A, B and C, where A and B can react to form C at some rate k f and C can degrade back into A and B at some rate k b  If the system is well-mixed (i.e. no spatial variability in concentration, reaction are governed by the law of mass action kfkf kbkb

Let’s Start Simple – Recall Chemistry 101 A B C

Question  Consider a case where you have equal amounts of A and B initially, that is C A (t=0)=C B (t=0)=C0 and no C C.  What will the system evolve to at very late (steady state) times?  What is k b =0, i.e. there is no backward reaction. How will the system evolve at all times? at late times

Diffusion-Reaction System  Now, rather than assuming that the system is well mixed, we allow A, B and C to move through space by diffusion, but they still react by the law of mass action How can you solve these equations?

Certainly Finite Differences  Explicit forward in space and time difference equation:  Works, but certain issues such as stability and numerical dispersion can be exacerbated

How about random walks  Recall  So, let’s break A into N particles and B into N particles and let them bounce around randomly as we have done before  We know this solve the diffusion equation, but how to include reactions? What is needed?

Let start with the easier case – C C  C C is degrading a first order rate k b. Do you remember how to incorporate this into the random walk method.  Calculate the probability of reaction during any given time step  Generate a random number Q, drawn from a uniform distribution U[0,1]. Reaction occurs Reaction does not occur

Conceptual Picture  How about for the bimolecular reaction A+B->C. Consider an A and a B Particle, distributed in space (x A,y A ) (x B,y B ) All we know is the location of these two particles at time t, their diffusion coefficient and the reaction rate k f. How do we calculate the probability of reaction for this pair in the same way as we did in previous slide. Brainstorm it! And think about what has to happen for a reaction to occur

Several Approaches Exist  Fixed (Hard) Radius Method  If particles are less than a distance r crit they have probability 1 of reacting.  Question : How do we determine r crit and make it physically consistent with what we know about A, B and C move?  Variable (Soft) Radius Method  Particles have a probability of reacting depending on how far apart they are as long as they are within some critical radius. Again, how do we determine this?  Which do you prefer?

Neither – and either did my mate Dave  Benson & Meerschaert Algorithm  Move Particles with a random walk  Based on the distance between two particles calculate probability that they will collocate  Then based on the reaction multiply probability that reaction will occur A B

This is the cool idea Probability of Reaction = Probability of Collocation X Probability of Reaction Given Collocation Depends only on transport Depends only on reactions But what are they?

Consider a 1d system  An A particle is located a position x 1 and a B particle is located at a position x 2 at time t as depicted. What is the probability they will collocate at time t+  t. x1x1 x2x2 Consider how they move. Where will they be located at time t =  t s=x 2- x 1

Consider a 1d system  At time t+  t, each particle’s random position is described a Gaussian (i.e. solution of diffusion equation) x1x1 x2x2 s=x 2- x 1

Consider a 1d system  At time t+  t, each particle’s random position is described a Gaussian (i.e. solution of diffusion equation) x1x1 x2x2 s=x 2- x 1 Overlap area gives probability of collocation

Probability of Collocation  Probability of Collocation Calculate integral directly or in Fourier Space (convolution rule)

What about Probability of Reaction given collocation  This is easier Where k f is reaction rate m p is the mass of a particle  t is time step

How the algorithm works

Step 1 – Move Particles by Brownian Motion Update Particle Positions by x (t+dt)= x (t)+sqrt(2Ddt)  Random Jump Reflecting Diffusion

Step 1 – Move Particles by Brownian Motion Update Particle Positions by x (t+dt)= x (t)+sqrt(2Ddt)  Random Jump Reflecting Diffusion

Step 1 – Move Particles by Brownian Motion Update Particle Positions by x (t+dt)= x (t)+sqrt(2Ddt)  Random Jump Reflecting Diffusion

Step 2 – Search for Neighbors of Opposite Particle Particle 1 Gives distances s1 s2 s3

Step 3 – Calculate Probability of RXN Particle 1-1 Probability of Reaction = Probability of Collocation X Probability of Reaction Given Collocation function of distance and diffusion function of reaction kinetics

Step 4 – Die or Survive Particle Generate a random number 0<P<1 If P< Probability of Reaction Kill both particles If greater move to next blue particle For this example let’s assume greater

Step 4 – Die or Survive Particle Generate a random number 0<P<1 If P< Probability of Reaction (for this pair) Kill both particles If greater move to next blue particle For this example let’s again assume greater

Step 4 – Die or Survive Particle Generate a random number 0<P<1 If P< Probability of Reaction (for this pair) Kill both particles If less move to next blue particle Let’s assume less now

Step 4 – Die or Survive Particle And so on Cycling through all blues Generate a random number 0<P<1 If P< Probability of Reaction (for this pair) Kill both particles If less move to next blue particle Let’s assume less now

Repeat for Each red Particle Particle 2 And so on Cycling through all reds Then back to Step One (Move Particles)

The grand question How do you code this? - Next Lecture