Convection–diffusion equation
The convection–diffusion equation is a combination of the diffusion and convection (advection) equations, and describes physical phenomena where particles, energy, or other physical quantities are transferred inside a physical system due to two processes: diffusion and convection. Depending on context, the same equation can be called the advection–diffusion equation, drift–diffusion equation,[1] or (generic) scalar transport equation.[2]
Equation
General
where
- c is the variable of interest (species concentration for mass transfer, temperature for heat transfer),
- D is the diffusivity (also called diffusion coefficient), such as mass diffusivity for particle motion or thermal diffusivity for heat transport,
- v is the velocity field that the quantity is moving with. It is a function of time and space. For example, in advection, c might be the concentration of salt in a river, and then v would be the velocity of the water flow as a function of time and location. Another example, c might be the concentration of small bubbles in a calm lake, and then v would be the velocity of bubbles rising towards the surface by buoyancy (see below) depending on time and location of the bubble. For multiphase flows and flows in porous media, v is the (hypothetical) superficial velocity.
- R describes sources or sinks of the quantity c. For example, for a chemical species, R > 0 means that a chemical reaction is creating more of the species, and R < 0 means that a chemical reaction is destroying the species. For heat transport, R > 0 might occur if thermal energy is being generated by friction.
- ∇ represents gradient and ∇ ⋅ represents divergence. In this equation, ∇c represents concentration gradient.
Understanding the terms involved
The right-hand side of the equation is the sum of three contributions.
- The first, ∇ ⋅ (D∇c), describes diffusion. Imagine that c is the concentration of a chemical. When concentration is low somewhere compared to the surrounding areas (e.g. a local minimum of concentration), the substance will diffuse in from the surroundings, so the concentration will increase. Conversely, if concentration is high compared to the surroundings (e.g. a local maximum of concentration), then the substance will diffuse out and the concentration will decrease. The net diffusion is proportional to the Laplacian (or second derivative) of concentration if the diffusivity D is a constant.
- The second contribution, −∇ ⋅ (vc), describes convection (or advection). Imagine standing on the bank of a river, measuring the water's salinity (amount of salt) each second. Upstream, somebody dumps a bucket of salt into the river. A while later, you would see the salinity suddenly rise, then fall, as the zone of salty water passes by. Thus, the concentration at a given location can change because of the flow.
- The final contribution, R, describes the creation or destruction of the quantity. For example, if c is the concentration of a molecule, then R describes how the molecule can be created or destroyed by chemical reactions. R may be a function of c and of other parameters. Often there are several quantities, each with its own convection–diffusion equation, where the destruction of one quantity entails the creation of another. For example, when methane burns, it involves not only the destruction of methane and oxygen but also the creation of carbon dioxide and water vapor. Therefore, while each of these chemicals has its own convection–diffusion equation, they are coupled together and must be solved as a system of simultaneous differential equations.
Common simplifications
In a common situation, the diffusion coefficient is constant, there are no sources or sinks, and the velocity field describes an incompressible flow (i.e., it has zero divergence). Then the formula simplifies to:[5][6][7]
In this form, the convection–diffusion equation combines both parabolic and hyperbolic partial differential equations.
In non-interacting material, D=0 (for example, when temperature is close to absolute zero, dilute gas has almost zero mass diffusivity), hence the transport equation is simply:
Using Fourier transform in both temporal and spatial domain (that is, with integral kernel ), its characteristic equation can be obtained:
which gives the general solution:
where is any differentiable scalar function. This is the basis of temperature measurement for near Bose–Einstein condensate[8] via time of flight method.[9]
Stationary version
The stationary convection–diffusion equation describes the steady-state behavior of a convective-diffusive system. In a steady state, ∂c/∂t = 0, so the formula is:
Derivation
The convection–diffusion equation can be derived in a straightforward way[4] from the continuity equation, which states that the rate of change for a scalar quantity in a differential control volume is given by flow and diffusion into and out of that part of the system along with any generation or consumption inside the control volume:
where j is the total flux and R is a net volumetric source for c. There are two sources of flux in this situation. First, diffusive flux arises due to diffusion. This is typically approximated by Fick's first law:
i.e., the flux of the diffusing material (relative to the bulk motion) in any part of the system is proportional to the local concentration gradient. Second, when there is overall convection or flow, there is an associated flux called advective flux:
The total flux (in a stationary coordinate system) is given by the sum of these two:
Plugging into the continuity equation:
Complex mixing phenomena
In general, D, v, and R may vary with space and time. In cases in which they depend on concentration as well, the equation becomes nonlinear, giving rise to many distinctive mixing phenomena such as Rayleigh–Bénard convection when v depends on temperature in the heat transfer formulation and reaction–diffusion pattern formation when R depends on concentration in the mass transfer formulation.
Velocity in response to a force
In some cases, the average velocity field v exists because of a force; for example, the equation might describe the flow of ions dissolved in a liquid, with an electric field pulling the ions in some direction (as in gel electrophoresis). In this situation, it is usually called the drift–diffusion equation or the Smoluchowski equation,[1] after Marian Smoluchowski who described it in 1915[10] (not to be confused with the Einstein–Smoluchowski relation or Smoluchowski coagulation equation).
Typically, the average velocity is directly proportional to the applied force, giving the equation:[11][12]
where F is the force, and ζ characterizes the friction or viscous drag. (The inverse ζ−1 is called mobility.)
Derivation of Einstein relation
When the force is associated with a potential energy F = −∇U (see conservative force), a steady-state solution to the above equation (i.e. 0 = R = ∂c/∂t) is:
(assuming D and ζ are constant). In other words, there are more particles where the energy is lower. This concentration profile is expected to agree with the Boltzmann distribution (more precisely, the Gibbs measure). From this assumption, the Einstein relation can be proven:[12]
Smoluchowski convection-diffusion equation
The Smoluchowski convective-diffusion equation is a stochastic (Smoluchowski) diffusion equation with an additional convective flow-field,[13]
In this case, the force F describes the conservative interparticle interaction force between two colloidal particles or the intermolecular interaction force between two molecules in the fluid, and it is unrelated to the externally imposed flow velocity v. The steady-state version of this equation is the basis to provide a description of the pair distribution function (which can be identified with c) of colloidal suspensions under shear flows.[13]
An approximate solution to the steady-state version of this equation has been found using the method of matched asymptotic expansions.[14] This solution provides a theory for the transport-controlled reaction rate of two molecules in a shear flow, and also provides a way to extend the DLVO theory of colloidal stability to colloidal systems subject to shear flows (e.g. in microfluidics, chemical reactors, environmental flows). The full solution to the steady-state equation, obtained using the method of matched asymptotic expansions, has been developed by Alessio Zaccone and L. Banetta to compute the pair distribution function of Lennard-Jones interacting particles in shear flow[15] and subsequently extended to compute the pair distribution function of charge-stabilized (Yukawa or Debye–Hückel) colloidal particles in shear flows.[16]
As a stochastic differential equation
The convection–diffusion equation (with no sources or drains, R = 0) can be viewed as a stochastic differential equation, describing random motion with diffusivity D and bias v. For example, the equation can describe the Brownian motion of a single particle, where the variable c describes the probability distribution for the particle to be in a given position at a given time. The reason the equation can be used that way is because there is no mathematical difference between the probability distribution of a single particle, and the concentration profile of a collection of infinitely many particles (as long as the particles do not interact with each other).
The Langevin equation describes advection, diffusion, and other phenomena in an explicitly stochastic way. One of the simplest forms of the Langevin equation is when its "noise term" is Gaussian; in this case, the Langevin equation is exactly equivalent to the convection–diffusion equation.[12] However, the Langevin equation is more general.[12]
Numerical solution
The convection–diffusion equation can only rarely be solved with a pen and paper. More often, computers are used to numerically approximate the solution to the equation, typically using the finite element method. For more details and algorithms see: Numerical solution of the convection–diffusion equation.
Similar equations in other contexts
The convection–diffusion equation is a relatively simple equation describing flows, or alternatively, describing a stochastically-changing system. Therefore, the same or similar equation arises in many contexts unrelated to flows through space.
- It is formally identical to the Fokker–Planck equation for the velocity of a particle.
- It is closely related to the Black–Scholes equation and other equations in financial mathematics.
- It is closely related to the Navier–Stokes equations, because the flow of momentum in a fluid is mathematically similar to the flow of mass or energy. The correspondence is clearest in the case of an incompressible Newtonian fluid, in which case the Navier–Stokes equation is:
where M is the momentum of the fluid (per unit volume) at each point (equal to the density ρ multiplied by the velocity v), μ is viscosity, P is fluid pressure, and f is any other body force such as gravity. In this equation, the term on the left-hand side describes the change in momentum at a given point; the first term on the right describes viscosity, which is really the diffusion of momentum; the second term on the right describes the advective flow of momentum; and the last two terms on the right describes the external and internal forces which can act as sources or sinks of momentum.
In biology
In biology, the reaction–diffusion–advection equation is used to model chemotaxis observed in bacteria, population migration, evolutionary adaptation to changing environments, and the spatiotemporal dynamics of molecular species including morphogenesis. An example is a study of VEGFC patterning in the context of lymphangiogenesis.[17]
In semiconductor physics
In semiconductor physics, this equation is called the drift–diffusion equation. The word "drift" is related to drift current and drift velocity. The equation is normally written:[18]
where
- n and p are the concentrations (densities) of electrons and holes, respectively,
- q > 0 is the elementary charge,
- Jn and Jp are the electric currents due to electrons and holes respectively,
- Jn/−q and Jp/q are the corresponding "particle currents" of electrons and holes respectively,
- R represents carrier generation and recombination (R > 0 for generation of electron-hole pairs, R < 0 for recombination.)
- E is the electric field vector
- and are electron and hole mobility.
The diffusion coefficient and mobility are related by the Einstein relation as above:
where kB is the Boltzmann constant and T is absolute temperature. The drift current and diffusion current refer separately to the two terms in the expressions for J, namely:
This equation can be solved together with Poisson's equation numerically.[19]
An example of results of solving the drift diffusion equation is shown on the right. When light shines on the center of semiconductor, carriers are generated in the middle and diffuse towards two ends. The drift–diffusion equation is solved in this structure and electron density distribution is displayed in the figure. One can see the gradient of carrier from center towards two ends.
See also
- Advanced Simulation Library
- Conservation equations
- Incompressible Navier–Stokes equations
- Nernst–Planck equation
- Double diffusive convection
- Natural convection
- Buckley–Leverett equation
References
- Chandrasekhar (1943). "Stochastic Problems in Physics and Astronomy". Rev. Mod. Phys. 15 (1): 1. Bibcode:1943RvMP...15....1C. doi:10.1103/RevModPhys.15.1. See equation (312)
- Computational Fluid Dynamics in Industrial Combustion by Baukal and Gershtein, p67, google books link.
- Introduction to Climate Modelling, by Thomas Stocker, p57, google books link
- Advective Diffusion Equation, lecture notes by Scott A. Socolofsky and Gerhard H. Jirka, web link
- Bejan A (2004). Convection Heat Transfer.
- Bird, Stewart, Lightfoot (1960). Transport Phenomena.CS1 maint: multiple names: authors list (link)
- Probstein R (1994). Physicochemical Hydrodynamics.
- Ketterle, W.; Durfee, D. S.; Stamper-Kurn, D. M. (1999-04-01). "Making, probing and understanding Bose-Einstein condensates". arXiv:cond-mat/9904034.
- Brzozowski, Tomasz M; Maczynska, Maria; Zawada, Michal; Zachorowski, Jerzy; Gawlik, Wojciech (2002-01-14). "Time-of-flight measurement of the temperature of cold atoms for short trap-probe beam distances". Journal of Optics B: Quantum and Semiclassical Optics. 4 (1): 62–66. Bibcode:2002JOptB...4...62B. doi:10.1088/1464-4266/4/1/310. ISSN 1464-4266. S2CID 67796405.
- M. v. Smoluchowski, Über Brownsche Molekularbewegung unter Einwirkung äußerer Kräfte und den Zusammenhang mit der verallgemeinerten Diffusionsgleichung, Ann. Phys. 353 (4. Folge 48), 1103–1112 (1915), PDF link
- http://www.ks.uiuc.edu/~kosztin/PHYCS498NSM/LectureNotes/chp4.pdf
- The Theory of Polymer Dynamics by Doi and Edwards, pp 46–52, google books link
- An Introduction to the Dynamics of Colloids by J. K. G. Dhont, pp 195, google books link
- Zaccone, A.; Gentili, D.; Wu, H.; Morbidelli, M. (2009). "Theory of activated-rate processes under shear with application to shear-induced aggregation of colloids". Physical Review E. 80 (5): 051404. doi:10.1103/PhysRevE.80.051404. hdl:2434/653702. PMID 20364982.
- Banetta, L.; Zaccone, A. (2019). "Radial distribution function of Lennard-Jones fluids in shear flows from intermediate asymptotics". Physical Review E. 99 (5): 052606. arXiv:1901.05175. doi:10.1103/PhysRevE.99.052606. PMID 31212460.
- Banetta, L.; Zaccone, A. (2020). "Pair correlation function of charge-stabilized colloidal systems under sheared conditions". Colloid and Polymer Science. 298 (7): 761–771. doi:10.1007/s00396-020-04609-4.
- Wertheim, Kenneth Y.; Roose, Tiina (2017). "A Mathematical Model of Lymphangiogenesis in a Zebrafish Embryo". Bulletin of Mathematical Biology. 79 (4): 693–737. doi:10.1007/s11538-017-0248-7. ISSN 1522-9602. PMC 5501200. PMID 28233173.
- Hu, Yue (2015). "Simulation of a partially depleted absorber (PDA) photodetector". Optics Express. 23 (16): 20402–20417. Bibcode:2015OExpr..2320402H. doi:10.1364/OE.23.020402. hdl:11603/11470. PMID 26367895.
- Hu, Yue (2014). "Modeling sources of nonlinearity in a simple pin photodetector". Journal of Lightwave Technology. 32 (20): 3710–3720. Bibcode:2014JLwT...32.3710H. CiteSeerX 10.1.1.670.2359. doi:10.1109/JLT.2014.2315740.
- Granville Sewell, The Numerical Solution of Ordinary and Partial Differential Equations, Academic Press (1988). ISBN 0-12-637475-9