# Fick's laws of diffusion

{{#invoke:Hatnote|hatnote}} {{ safesubst:#invoke:Unsubst||$N=Use dmy dates |date=__DATE__ |$B= }}

Molecular diffusion from a microscopic and macroscopic point of view. Initially, there are solute molecules on the left side of a barrier (purple line) and none on the right. The barrier is removed, and the solute diffuses to fill the whole container. Top: A single molecule moves around randomly. Middle: With more molecules, there is a clear trend where the solute fills the container more and more uniformly. Bottom: With an enormous number of solute molecules, randomness becomes undetectable: The solute appears to move smoothly and systematically from high-concentration areas to low-concentration areas. This smooth flow is described by Fick's laws.

Fick's laws of diffusion describe diffusion and were derived by Adolf Fick in 1855. They can be used to solve for the diffusion coefficient, D. Fick's first law can be used to derive his second law which in turn is identical to the diffusion equation.

## Fick's first law

Fick's first law relates the diffusive flux to the concentration under the assumption of steady state. It postulates that the flux goes from regions of high concentration to regions of low concentration, with a magnitude that is proportional to the concentration gradient (spatial derivative), or in simplistic terms the concept that a solute will move from a region of high concentration to a region of low concentration across a concentration gradient. In one (spatial) dimension, the law is:

${\displaystyle {\bigg .}J=-D{\frac {\partial \phi }{\partial x}}{\bigg .}}$

where

${\displaystyle \,D}$ is proportional to the squared velocity of the diffusing particles, which depends on the temperature, viscosity of the fluid and the size of the particles according to the Stokes-Einstein relation. In dilute aqueous solutions the diffusion coefficients of most ions are similar and have values that at room temperature are in the range of 0.6x10−9 to 2x10−9 m2/s. For biological molecules the diffusion coefficients normally range from 10−11 to 10−10 m2/s.

In two or more dimensions we must use ${\displaystyle \nabla }$, the del or gradient operator, which generalises the first derivative, obtaining

${\displaystyle \mathbf {J} =-D\nabla \phi }$

where J denotes the diffusion flux vector.

The driving force for the one-dimensional diffusion is the quantity ${\displaystyle -{\frac {\partial \phi }{\partial x}}}$ which for ideal mixtures is the concentration gradient. In chemical systems other than ideal solutions or mixtures, the driving force for diffusion of each species is the gradient of chemical potential of this species. Then Fick's first law (one-dimensional case) can be written as:

${\displaystyle J_{i}=-{\frac {Dc_{i}}{RT}}{\frac {\partial \mu _{i}}{\partial x}}}$

where the index i denotes the ith species, c is the concentration (mol/m3), R is the universal gas constant (J/(K mol)), T is the absolute temperature (K), and μ is the chemical potential (J/mol).

If the primary variable is mass fraction (${\displaystyle y_{i}}$, given, for example, in ${\displaystyle {\tfrac {\mathrm {k} g}{\mathrm {k} g}}}$), then the equation changes to:

${\displaystyle J_{i}=-\rho D\nabla y_{i}}$

where ${\displaystyle \rho }$ is the fluid density (for example, in ${\displaystyle {\tfrac {\mathrm {k} g}{\mathrm {m} ^{3}}}}$). Note that the density is outside the gradient operator.

## Fick's second law

Fick's second law predicts how diffusion causes the concentration to change with time. It is a partial differential equation which in one dimension reads:

${\displaystyle {\frac {\partial \phi }{\partial t}}=D\,{\frac {\partial ^{2}\phi }{\partial x^{2}}}\,\!}$

where

In two or more dimensions we must use the Laplacian ${\displaystyle \Delta =\nabla ^{2}}$, which generalises the second derivative, obtaining the equation

${\displaystyle {\frac {\partial \phi }{\partial t}}=D\,\Delta \phi .}$

### Example solution in one dimension: diffusion length

A simple case of diffusion with time t in one dimension (taken as the x-axis) from a boundary located at position ${\displaystyle x=0}$, where the concentration is maintained at a value ${\displaystyle n_{0}}$ is

${\displaystyle n\left(x,t\right)=n_{0}\mathrm {erfc} \left({\frac {x}{2{\sqrt {Dt}}}}\right)}$.

where erfc is the complementary error function. This is the case when corrosive gases diffuse through the oxidative layer towards the metal surface (if we assume that concentration of gases in the environment is constant and the diffusion space (i. e., corrosion product layer) is semi-infinite – starting at 0 at the surface and spreading infinitely deep in the material). If, in its turn, the diffusion space is infinite (lasting both through the layer with ${\displaystyle n\left(x,0\right)=0,x>0}$ and that with ${\displaystyle n\left(x,0\right)=n_{0},x\leq 0}$), then the solution is amended only with coefficient ½ in front of n0 (this might seem obvious, as the diffusion now occurs in both directions). This case is valid when some solution with concentration n0 is put in contact with a layer of pure solvent. (Bokshtein, 2005) The length ${\displaystyle 2{\sqrt {Dt}}}$ is called the diffusion length and provides a measure of how far the concentration has propagated in the x-direction by diffusion in time t (Bird, 1976).

As a quick approximation of the error function, the first 2 terms of the Taylor series can be used:

${\displaystyle n\left(x,t\right)=n_{0}\left[1-2\left({\frac {x}{2{\sqrt {Dt\pi }}}}\right)\right]}$

If ${\displaystyle D}$ is time-dependent, the diffusion length becomes ${\displaystyle 2{\sqrt {\int _{0}^{t}D(t')dt'}}}$. This idea is useful for estimating a diffusion length over a heating and cooling cycle, where D varies with temperature.

### Generalizations

1. In the inhomogeneous media, the diffusion coefficient varies in space, ${\displaystyle D=D(x)}$. This dependence does not affect Fick's first law but the second law changes:

${\displaystyle {\frac {\partial \phi (x,t)}{\partial t}}=\nabla \cdot (D(x)\nabla \phi (x,t))=D(x)\Delta \phi (x,t)+\sum _{i=1}^{3}{\frac {\partial D(x)}{\partial x_{i}}}{\frac {\partial \phi (x,t)}{\partial x_{i}}}\ }$

2. In the anisotropic media, the diffusion coefficient depends on the direction. It is a symmetric tensor ${\displaystyle D=D_{ij}}$. Fick's first law changes to

${\displaystyle J=-D\nabla \phi \ ,{\mbox{ it is the product of a tensor and a vector: }}\;\;J_{i}=-\sum _{j=1}^{3}D_{ij}{\frac {\partial \phi }{\partial x_{j}}}\ .}$

For the diffusion equation this formula gives

${\displaystyle {\frac {\partial \phi (x,t)}{\partial t}}=\nabla \cdot (D\nabla \phi (x,t))=\sum _{j=1}^{3}D_{ij}{\frac {\partial ^{2}\phi (x,t)}{\partial x_{i}\partial x_{j}}}\ .}$

The symmetric matrix of diffusion coefficients ${\displaystyle D_{ij}}$ should be positive definite. It is needed to make the right hand side operator elliptic.

3. For the inhomogeneous anisotropic media these two forms of the diffusion equation should be combined in

${\displaystyle {\frac {\partial \phi (x,t)}{\partial t}}=\nabla \cdot (D(x)\nabla \phi (x,t))=\sum _{i,j=1}^{3}\left(D_{ij}(x){\frac {\partial ^{2}\phi (x,t)}{\partial x_{i}\partial x_{j}}}+{\frac {\partial D_{ij}(x)}{\partial x_{i}}}{\frac {\partial \phi (x,t)}{\partial x_{j}}}\right)\ .}$

4. The approach based on the Einstein's mobility and Teorell formula gives the following generalization of Fick's equation for the multicomponent diffusion of the perfect components:

${\displaystyle {\frac {\partial \phi _{i}}{\partial t}}=\sum _{j}\nabla \cdot \left(D_{ij}{\frac {\phi _{i}}{\phi _{j}}}\nabla \,\phi _{j}\right)\,.}$

where ${\displaystyle \phi _{i}}$ are concentrations of the components and ${\displaystyle D_{ij}}$ is the matrix of coefficients. Here, indexes i,j are related to the various components and not to the space coordinates.

The Chapman-Enskog formulas for diffusion in gases include exactly the same terms. It should be stressed that these physical models of diffusion are different from the toy-models ${\displaystyle \partial _{t}\phi _{i}=\sum _{j}D_{ij}\Delta \phi _{j}}$ which are valid for very small deviations from the uniform equilibrium. Earlier, such terms were introduced in the Maxwell–Stefan diffusion equation.

For anisotropic multicomponent diffusion coefficients one needs a rank-four tensor, for example ${\displaystyle D_{ij\,\alpha \beta }}$, where i, j refer to the components and α, β=1,2,3 correspond to the space coordinates.

## Applications

Equations based on Fick's law have been commonly used to model transport processes in foods, neurons, biopolymers, pharmaceuticals, porous soils, population dynamics, nuclear materials, semiconductor doping process, etc. Theory of all voltammetric methods is based on solutions of Fick's equation. A large amount of experimental research in polymer science and food science has shown that a more general approach is required to describe transport of components in materials undergoing glass transition. In the vicinity of glass transition the flow behavior becomes "non-Fickian". It can be shown that the Fick's law can be obtained from the Maxwell-Stefan equations[1] of multi-component mass transfer. The Fick's law is limiting case of the Maxwell-Stefan equations, when the mixture is extremely dilute and every chemical species is interacting only with the bulk mixture and not with other species. To account for the presence of multiple species in a non-dilute mixture, several variations of the Maxwell-Stefan equations are used. See also non-diagonal coupled transport processes (Onsager relationship).

### Biological perspective

The first law gives rise to the following formula:[2]

${\displaystyle {\text{Flux}}={-P(c_{2}-c_{1})}\,\!}$

in which,

Fick's first law is also important in radiation transfer equations. However, in this context it becomes inaccurate when the diffusion constant is low and the radiation becomes limited by the speed of light rather than by the resistance of the material the radiation is flowing through. In this situation, one can use a flux limiter.

The exchange rate of a gas across a fluid membrane can be determined by using this law together with Graham's law.

### Fick's flow in liquids

When two miscible liquids are brought into contact, and diffusion takes place, the macroscopic (or average) concentration evolves following Fick's law. On a mesoscopic scale, that is, between the macroscopic scale described by Fick's law and molecular scale, where molecular random walks take place, fluctuations cannot be neglected. Such situations can be successfully modeled with Landau-Lifshitz fluctuating hydrodynamics. In this theoretical framework, diffusion is due to fluctuations whose dimensions range from the molecular scale to the macroscopic scale. [3]

In particular, fluctuating hydrodynamic equations include a Fick's flow term, with a given diffusion coefficient, along with hydrodynamics equations and stochastic terms describing fluctuations. When calculating the fluctuations with a perturbative approach, the zero order approximation is Fick's law. The first order gives the fluctuations, and it comes out that fluctuations contribute to diffusion. This represents somehow a tautology, since the phenomena described by a lower order approximation is the result of a higher approximation: this problem is solved only by renormalizing the fluctuating hydrodynamics equations.

### Semiconductor fabrication applications

Integrated circuit Fabrication technologies, model processes like CVD, Thermal Oxidation, and Wet Oxidation, doping, etc. use diffusion equations obtained from Fick's law.

In certain cases, the solutions are obtained for boundary conditions such as constant source concentration diffusion, limited source concentration, or moving boundary diffusion (where junction depth keeps moving into the substrate).

## Derivation of Fick's laws

### Fick's 1st law

in 1 dimension, the following derivation is based on a similar argument made in Berg 1977 (see references).

Consider a collection of particles performing a random walk in one dimension with length scale ${\displaystyle \Delta x}$ and time scale ${\displaystyle \Delta t}$. Let ${\displaystyle N(x,t)}$ be the number of particles at position ${\displaystyle x}$ at time ${\displaystyle t}$.

At a given time step, half of the particles would move left and half would move right. Since half of the particles at point ${\displaystyle x}$ move right and half of the particles at point ${\displaystyle x+\Delta x}$ move left, the net movement to the right is:

${\displaystyle -{\frac {1}{2}}\left[N(x+\Delta x,t)-N(x,t)\right]}$

The flux, J, is this net movement of particles across some area element of area a, normal to the random walk during a time interval ${\displaystyle \Delta t}$. Hence we may write:

${\displaystyle J=-{\frac {1}{2}}\left[{\frac {N(x+\Delta x,t)}{a\Delta t}}-{\frac {N(x,t)}{a\Delta t}}\right]}$

Multiplying the top and bottom of the righthand side by ${\displaystyle (\Delta x)^{2}}$ and rewriting, we obtain:

${\displaystyle J=-{\frac {\left(\Delta x\right)^{2}}{2\Delta t}}\left[{\frac {N(x+\Delta x,t)}{a(\Delta x)^{2}}}-{\frac {N(x,t)}{a(\Delta x)^{2}}}\right]}$

We note that concentration is defined as particles per unit volume, and hence ${\displaystyle \phi (x,t)={\frac {N(x,t)}{a\Delta x}}}$.

In addition, ${\displaystyle {\tfrac {\left(\Delta x\right)^{2}}{2\Delta t}}}$ is the definition of the diffusion constant in one dimension, ${\displaystyle D}$. Thus our expression simplifies to:

${\displaystyle J=-D\left[{\frac {\phi (x+\Delta x,t)}{\Delta x}}-{\frac {\phi (x,t)}{\Delta x}}\right]}$

In the limit where ${\displaystyle \Delta x}$ is infinitesimal, the righthand side becomes a space derivative:

${\displaystyle {\bigg .}J=-D{\frac {\partial \phi }{\partial x}}{\bigg .}}$

### Fick's second law

Fick's second law can be derived from Fick's First law and the mass conservation in absence of any chemical reactions:

Assuming the diffusion coefficient D to be a constant, we can exchange the orders of the differentiation and multiply by the constant:

${\displaystyle {\frac {\partial }{\partial x}}{\bigg (}\,D\,{\frac {\partial }{\partial x}}\phi \,{\bigg )}=D\,{\frac {\partial }{\partial x}}{\frac {\partial }{\partial x}}\,\phi =D\,{\frac {\partial ^{2}\phi }{\partial x^{2}}}}$

and, thus, receive the form of the Fick's equations as was stated above.

For the case of diffusion in two or more dimensions Fick's Second Law becomes

which is analogous to the heat equation.

If the diffusion coefficient is not a constant, but depends upon the coordinate and/or concentration, Fick's Second Law yields

${\displaystyle {\frac {\partial \phi }{\partial t}}=\nabla \cdot (\,D\,\nabla \,\phi \,)\,\!}$

An important example is the case where ${\displaystyle \,\phi }$ is at a steady state, i.e. the concentration does not change by time, so that the left part of the above equation is identically zero. In one dimension with constant ${\displaystyle \,D}$, the solution for the concentration will be a linear change of concentrations along ${\displaystyle \,x}$. In two or more dimensions we obtain

${\displaystyle \nabla ^{2}\,\phi =0\!}$

which is Laplace's equation, the solutions to which are called harmonic functions by mathematicians.

## History

In 1855, physiologist Adolf Fick first reported[4][5] his now-well-known laws governing the transport of mass through diffusive means. Fick's work was inspired by the earlier experiments of Thomas Graham, which fell short of proposing the fundamental laws for which Fick would become famous. The Fick's law is analogous to the relationships discovered at the same epoch by other eminent scientists: Darcy's law (hydraulic flow), Ohm's law (charge transport), and Fourier's Law (heat transport).

Fick's experiments (modeled on Graham's) dealt with measuring the concentrations and fluxes of salt, diffusing between two reservoirs through tubes of water. It is notable that Fick's work primarily concerned diffusion in fluids, because at the time, diffusion in solids was not considered generally possible.[6] Today, Fick's Laws form the core of our understanding of diffusion in solids, liquids, and gases (in the absence of bulk fluid motion in the latter two cases). When a diffusion process does not follow Fick's laws (which does happen),[7][8] we refer to such processes as non-Fickian, in that they are exceptions that "prove" the importance of the general rules that Fick outlined in 1855.

## Notes

1. {{#invoke:Citation/CS1|citation |CitationClass=journal }}
2. Template:GeorgiaPhysiology
3. D. Brogioli and A. Vailati, Diffusive mass transfer by nonequilibrium fluctuations: Fick's law revisited, Phys. Rev. E 63, 012105/1-4 (2001) [1]
4. A. Fick, Ann. der. Physik (1855), 94, 59, Template:Hide in printTemplate:Only in print (in German).
5. A. Fick, Phil. Mag. (1855), 10, 30. (in English)
6. Jean Philibert, One and a Half Century of Diffusion: Fick, Einstein, before and beyond, Diffusion Fundamentals 2, 2005 1.1–1.10
7. J. L. Vázquez (2006), The Porous Medium Equation. Mathematical Theory, Oxford Univ. Press.
8. A.N. Gorban, H.P. Sargsyan and H.A. Wahab (2011), Quasichemical Models of Multicomponent Nonlinear Diffusion, Mathematical Modelling of Natural Phenomena, Volume 6 / Issue 05, 184−262.

## References

• W.F. Smith, Foundations of Materials Science and Engineering 3rd ed., McGraw-Hill (2004)
• H.C. Berg, Random Walks in Biology, Princeton (1977)
• R.B. Bird, W.E. Stewart, E.N. Lightfoot, Transport Phenomena, John Wiley & sons, (1976)
• J. Crank, The Mathematics of Diffusion, Oxford University Press (1980)
• Thermodynamics and Kinetics in Materials Science: A Short Course. Bokshtein, B. S. Mendelev, M. I. Srolovitz, D. J. Eds. Oxford University Press: Oxford (2005) – pp. 167–171.