Convection–diffusion equation
The convection–diffusion equation is a differential equation">Differential (infinitesimal)">differential equation that combines the diffusion and convection 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, or scalar transport equation.
Equation
The general equation in conservative form iswhere
- is the variable of interest,
- is the diffusivity, such as mass diffusivity for particle motion or thermal diffusivity for heat transport,
- is the velocity field that the quantity is moving with. It is a function of time and space. For example, in advection, might be the concentration of salt in a river, and then would be the velocity of the water flow as a function of time and location. Another example, might be the concentration of small bubbles in a calm lake, and then would be the velocity of bubbles rising towards the surface by buoyancy depending on time and location of the bubble. For multiphase flows and flows in porous media, is the superficial velocity.
- describes sources or sinks of the quantity, i.e. the creation or destruction of the quantity. For example, for a chemical species, means that a chemical reaction is creating more of the species, and means that a chemical reaction is destroying the species. For heat transport, might occur if thermal energy is being generated by friction.
- represents gradient and represents divergence. In this equation, represents concentration gradient.
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 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 is the total flux and is a net volumetric source for. 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 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 is given by the sum of these two:
Plugging into the continuity equation:
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. Then the formula simplifies to:In this case the equation can be put in the simple diffusion form:
where the derivative of the left hand side is the material derivative of the variable c.
In non-interacting material,, hence the transport equation is simply the continuity equation:
Using Fourier transform in both temporal and spatial domain, 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 via time of flight method.
Stationary version
The stationary convection–diffusion equation describes the steady-state behavior of a convection–diffusion system. In a steady state,, so the equation to solve becomes the second order equation:In one spatial dimension, the equation can be written as
Which can be integrated one time in the space variable x to give:
Where D is not zero, this is an inhomogeneous first-order linear differential equation with variable coefficients in the variable c:
where the coefficients are:
and:
On the other hand, in the positions x where D=0, the first-order diffusion term disappears and the solution becomes simply the ratio:
Velocity in response to a force
In some cases, the average velocity field 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. In this situation, it is usually called the drift–diffusion equation or the Smoluchowski equation, after Marian Smoluchowski who described it in 1915.Typically, the average velocity is directly proportional to the applied force, giving the equation:
where is the force, and characterizes the friction or viscous drag.
Derivation of Einstein relation
When the force is associated with a potential energy, a steady-state solution to the above equation is:. In other words, there are more particles where the energy is lower. This concentration profile is expected to agree with the Boltzmann distribution. From this assumption, the Einstein relation can be proven:
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:
In probability theory
The convection–diffusion equation can be viewed as the Fokker–Planck equation, corresponding to random motion with diffusivity and bias. For example, the equation can describe the Brownian motion of a single particle, where the variable 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.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.
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:where
- and are the concentrations of electrons and holes, respectively,
- is the elementary charge,
- and are the electric currents due to electrons and holes respectively,
- and are the corresponding "particle currents" of electrons and holes respectively,
- represents carrier generation and recombination
- is the electric field vector
- and are electron and hole mobility.
where is the Boltzmann constant and is absolute temperature. The drift current and diffusion current refer separately to the two terms in the expressions for, namely:
This equation can be solved together with Poisson's equation numerically.
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.