Convection–diffusion equation

From testwiki
Jump to navigation Jump to search

Template:Short description The convection–diffusion equation is a parabolic partial differential equation that combines the diffusion and convection (advection) equations. It 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

A contaminant plume moving in porous media via the Convection–Diffusion Equation (also called Advective–Diffusion Equation) (time stamps of 1 day, 85 days, 462 days and 674 days) with advection as primary transport mechanism.

The general equation in conservative form isTemplate:Sfn[3] ct=(Dc𝐯c)+R where

In general, Template:Mvar, Template:Math, and Template:Mvar 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 Template:Math depends on temperature in the heat transfer formulation and reaction–diffusion pattern formation when Template:Mvar depends on concentration in the mass transfer formulation.

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 differential equations.

Derivation

The convection–diffusion equation can be derived in a straightforward way[3] 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: ct+𝐣=R, where Template:Math is the total flux and Template:Mvar is a net volumetric source for Template:Mvar. 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: 𝐣diff=Dc 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: 𝐣adv=𝐯c The total flux (in a stationary coordinate system) is given by the sum of these two: 𝐣=𝐣diff+𝐣adv=Dc+𝐯c. Plugging into the continuity equation: ct+(Dc+𝐯c)=R.

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:[4] ct=D2c𝐯c.

In this case the equation can be put in the simple diffusion form: dcdt=D2c,

where the derivative of the left hand side is the material derivative of the variable c. In non-interacting material, Template:Mvar (for example, when temperature is close to absolute zero, dilute gas has almost zero mass diffusivity), hence the transport equation is simply the continuity equation: ct+𝐯c=0.

Using Fourier transform in both temporal and spatial domain (that is, with integral kernel eiωt+i𝐤𝐱), its characteristic equation can be obtained: iωc~+𝐯i𝐤c~=0ω=𝐤𝐯, which gives the general solution: c=f(𝐱𝐯t), where f is any differentiable scalar function. This is the basis of temperature measurement for near Bose–Einstein condensate[5] via time of flight method.[6]

Stationary version

The stationary convection–diffusion equation describes the steady-state behavior of a convection–diffusion system.Template:Sfn In a steady state, Template:Math, so the equation to solve becomes the second order equation: (Dc+𝐯c)=R. In one spatial dimension, the equation can be written as ddx(D(x)dc(x)dx+v(x)c(x))=R(x)

Which can be integrated one time in the space variable x to give:

D(x)dc(x)dxv(x)c(x)=xR(x)dx

Where D is not zero, this is an inhomogeneous first-order linear differential equation with variable coefficients in the variable c(x):

y(x)=f(x)y(x)+g(x). where the coefficients are: f(x)=v(x)D(x) and: g(x)=1D(x)xR(x)dx On the other hand, in the positions x where D=0, the first-order diffusion term disappears and the solution becomes simply the ratio:

c(x)=1v(x)xR(x)dx

Velocity in response to a force

In some cases, the average velocity field Template:Math 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[7] (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:[8][9] ct=(Dc)(ζ1𝐅c)+R where Template:Math is the force, and Template:Mvar characterizes the friction or viscous drag. (The inverse Template:Math is called mobility.)

Derivation of Einstein relation

Template:Main

When the force is associated with a potential energy Template:Math (see conservative force), a steady-state solution to the above equation (i.e. Template:Math) is: cexp(D1ζ1U) (assuming Template:Mvar and Template:Mvar 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:[9] Dζ=kBT.

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.[10]
  • 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: 𝐌t=μ2𝐌𝐯𝐌+(𝐟P)

where Template:Math is the momentum of the fluid (per unit volume) at each point (equal to the density Template:Mvar multiplied by the velocity Template:Math), Template:Mvar is viscosity, Template:Mvar is fluid pressure, and Template:Math 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 the diffusion of momentum by viscosity; 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 probability theory

The convection–diffusion equation (with Template:Math) can be viewed as a stochastic differential equation, describing random motion with diffusivity Template:Mvar and bias Template:Math. For example, the equation can describe the Brownian motion of a single particle, where the variable Template:Mvar 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. However, the Langevin equation is more general.[9]

In semiconductor physics

As carriers are generated (green:electrons and purple:holes) due to light shining at the center of an intrinsic semiconductor, they diffuse towards two ends. Electrons have higher diffusion constant than holes leading to fewer excess electrons at the center as compared to holes.

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:[11] 𝐉nq=Dnnnμn𝐄𝐉pq=Dpp+pμp𝐄nt=𝐉nq+Rpt=𝐉pq+R where

The diffusion coefficient and mobility are related by the Einstein relation as above: Dn=μnkBTq,Dp=μpkBTq, where Template:Math is the Boltzmann constant and Template:Mvar is absolute temperature. The drift current and diffusion current refer separately to the two terms in the expressions for Template:Math, namely: 𝐉n,driftq=nμn𝐄,𝐉p,driftq=pμp𝐄,𝐉n,diffq=Dnn,𝐉p,diffq=Dpp.

This equation can be solved together with Poisson's equation numerically.[12]

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

Template:Div col

Template:Div col end

Notes

Template:Reflist

References

Further reading