Thursday, July 23, 2009

Diffusion equation

The diffusion equation is a partial differential equation which describes density fluctuations in a material undergoing diffusion. It is also used to describe processes exhibiting diffusive-like behaviour, for instance the 'diffusion' of alleles in a population in population genetics.

The equation is usually written as:

\frac{\partial\phi(\vec{r},t)}{\partial t} = \nabla \cdot \bigg( D(\phi,\vec{r}) \, \nabla\phi(\vec{r},t) \bigg),

where \, \phi(\vec{r},t) is the density of the diffusing material at location \vec{r} and time t and \, D(\phi,\vec{r}) is the collective diffusion coefficient for density φ at location \vec{r}; the nabla symbol \, \nabla represents the vector differential operator del acting on the space coordinates. If the diffusion coefficient depends on the density then the equation is nonlinear, otherwise it is linear. If \, D is constant, then the equation reduces to the following linear equation:

\frac{\partial\phi(\vec{r},t)}{\partial t} = D\nabla^2\phi(\vec{r},t),

also called the heat equation. More generally, when D is a symmetric positive definite matrix, the equation describes anisotropic diffusion, which is written (for three dimensional diffusion) as:

\frac{\partial\phi(\vec{r},t)}{\partial t} = \sum_{i=0}^3\sum_{j=0}^3 \frac{\partial}{\partial x_i}\left(D_{ij}(\phi,\vec{r})\frac{\partial \phi(\vec{r},t)}{\partial x_j}\right)


The diffusion equation can be derived in a straightforward way from the continuity equation, which states that a change in density in any part of the system is due to inflow and outflow of material into and out of that part of the system. Effectively, no material is created or destroyed:

\frac{\partial\phi}{\partial t}+\nabla\cdot\vec{j}=0,

where \vec{j} is the flux of the diffusing material. The diffusion equation can be obtained easily from this when combined with the phenomenological Fick's first law, which assumes that the flux of the diffusing material in any part of the system is proportional to the local density gradient:


Historical origin

The particle diffusion equation was originally derived by Adolf Fick in 1855.

Discrete analogs

The diffusion equation is continuous in both time and space. One may discretize space, time, or both space and time, which arise in application. Discretizing time alone just corresponds to taking time slices of the continuous system, and no new phenomena arise. In discretizing space alone, the Green's function becomes the discrete Gaussian kernel, rather than the continuous Gaussian kernel. In discretizing both time and space, one obtains the random walk.

1 comment:

Gibies George said...

This is the answer to the question which make me confused before the SPMF09 Core Committee