Fick's laws of diffusion. Fick's laws of diffusion describe diffusion and were first posited by Adolf Fick in 1855 on the basis of largely experimental results. They can be used to solve for the diffusion coefficient, . 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: Movement of particles from high to low concentration (diffusive flux) is directly proportional to the particle's concentration gradient.

Fick's second law: Prediction of change in concentration gradient with time due to diffusion.

A diffusion process that obeys Fick's laws is called normal or Fickian diffusion; otherwise, it is called anomalous diffusion or non-Fickian diffusion.

History 
In 1855, physiologist Adolf Fick first reported 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. 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. 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 happens in cases of diffusion through porous media and diffusion of swelling penetrants, among others), it is referred to as non-Fickian.

Fick's first law 
Fick's first law relates the diffusive flux to the gradient of the concentration. 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 can be written in various forms, where the most common form (see) is in a molar basis:
 
where
  is the diffusion flux, of which the dimension is the amount of substance per unit area per unit time.  measures the amount of substance that will flow through a unit area during a unit time interval,
  is the diffusion coefficient or diffusivity. Its dimension is area per unit time,
  is the concentration gradient,
  (for ideal mixtures) is the concentration, with a dimension of amount of substance per unit volume,
  is position, the dimension of which is length.

 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 . For biological molecules the diffusion coefficients normally range from 10−10 to 10−11 m2/s.

In two or more dimensions we must use , the del or gradient operator, which generalises the first derivative, obtaining
 
where  denotes the diffusion flux vector.

The driving force for the one-dimensional diffusion is the quantity , which for ideal mixtures is the concentration gradient.

Variations of the first law 

Another form for the first law is to write it with the primary variable as mass fraction (, given for example in kg/kg), then the equation changes to:
 
where
 the index  denotes the th species,
  is the diffusion flux vector of the th species (for example in mol/m2-s),
  is the molar mass of the th species,
  is the mixture density (for example in kg/m3).

The  is outside the gradient operator. This is because:
 
where  is the partial density of the th species.

Beyond this, in chemical systems other than ideal solutions or mixtures, the driving force for the diffusion of each species is the gradient of chemical potential of this species. Then Fick's first law (one-dimensional case) can be written
 
where
 the index  denotes the th species,
  is the concentration (mol/m3),
  is the universal gas constant (J/K/mol),
  is the absolute temperature (K),
  is the chemical potential (J/mol).

The driving force of Fick's law can be expressed as a fugacity difference:
 

where  is the fugacity in Pa.  is a partial pressure of component  in a vapor  or liquid  phase. At vapor liquid equilibrium the evaporation flux is zero because .

Derivation of Fick's first law for gases 

Four versions of Fick's law for binary gas mixtures are given below. These assume: thermal diffusion is negligible; the body force per unit mass is the same on both species; and either pressure is constant or both species have the same molar mass. Under these conditions, Ref. shows in detail how the diffusion equation from the kinetic theory of gases reduces to this version of Fick's law:

where  is the diffusion velocity of species . In terms of species flux this is

If, additionally, , this reduces to the most common form of Fick's law,

If (instead of or in addition to ) both species have the same molar mass, Fick's law becomes

where  is the mole fraction of species .

Fick's second law 
Fick's second law predicts how diffusion causes the concentration to change with respect to time. It is a partial differential equation which in one dimension reads:
 
where
  is the concentration in dimensions of , example mol/m3;  is a function that depends on location  and time ,
  is time, example s,
  is the diffusion coefficient in dimensions of , example m2/s,
  is the position, example m.

In two or more dimensions we must use the Laplacian , which generalises the second derivative, obtaining the equation
 

Fick's second law has the same mathematical form as the Heat equation and its fundamental solution is the same as the Heat kernel, except switching thermal conductivity  with diffusion coefficient :

Derivation of 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  to be a constant, one can exchange the orders of the differentiation and multiply by the constant:

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 or concentration, Fick's second law yields
 

An important example is the case where  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 , the solution for the concentration will be a linear change of concentrations along . In two or more dimensions we obtain
 
which is Laplace's equation, the solutions to which are referred to by mathematicians as harmonic functions.

Example solutions and generalization 
Fick's second law is a special case of the convection–diffusion equation in which there is no advective flux and no net volumetric source. It can be derived from the continuity equation:
 
where  is the total flux and  is a net volumetric source for . The only source of flux in this situation is assumed to be diffusive flux:
 

Plugging the definition of diffusive flux to the continuity equation and assuming there is no source (), we arrive at Fick's second law:
 

If flux were the result of both diffusive flux and advective flux, the convection–diffusion equation is the result.

Example solution 1: constant concentration source and diffusion length 
A simple case of diffusion with time  in one dimension (taken as the -axis) from a boundary located at position , where the concentration is maintained at a value  is
 
where  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 – that is, the 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 ,  and that with , ), then the solution is amended only with coefficient  in front of  (as the diffusion now occurs in both directions). This case is valid when some solution with concentration  is put in contact with a layer of pure solvent. (Bokstein, 2005) The length  is called the diffusion length and provides a measure of how far the concentration has propagated in the -direction by diffusion in time  (Bird, 1976).

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

If  is time-dependent, the diffusion length becomes
 
This idea is useful for estimating a diffusion length over a heating and cooling cycle, where  varies with temperature.

Example solution 2: Brownian particle and mean squared displacement 
Another simple case of diffusion is the Brownian motion of one particle. The particle's Mean squared displacement from its original position is:

where  is the dimension of the particle's Brownian motion. For example, the diffusion of a molecule across a cell membrane 8 nm thick is 1-D diffusion because of the spherical symmetry; However, the diffusion of a molecule from the membrane to the center of a eukaryotic cell is a 3-D diffusion. For a cylindrical cactus, the diffusion from photosynthetic cells on its surface to its center (the axis of its cylindrical symmetry) is a 2-D diffusion.

The square root of MSD, , is often used as a characterization of how far the particle has moved after time  has elapsed. The MSD is symmetrically distributed over the 1D, 2D, and 3D space. Thus, the probability distribution of the magnitude of MSD in 1D is Gaussian and 3D is a Maxwell-Boltzmann distribution.

Generalizations 
 In non-homogeneous media, the diffusion coefficient varies in space, . This dependence does not affect Fick's first law but the second law changes: 
 In anisotropic media, the diffusion coefficient depends on the direction. It is a symmetric tensor . Fick's first law changes to  it is the product of a tensor and a vector:  For the diffusion equation this formula gives  The symmetric matrix of diffusion coefficients  should be positive definite. It is needed to make the right-hand side operator elliptic.
 For inhomogeneous anisotropic media these two forms of the diffusion equation should be combined in 
 The approach based on Einstein's mobility and Teorell formula gives the following generalization of Fick's equation for the multicomponent diffusion of the perfect components:  where  are concentrations of the components and  is the matrix of coefficients. Here, indices  and  are related to the various components and not to the space coordinates.

The Chapman–Enskog formulae for diffusion in gases include exactly the same terms. These physical models of diffusion are different from the test models  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 , where  refer to the components and  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, plasma physics, and semiconductor doping processes. The theory of voltammetric methods is based on solutions of Fick's equation. On the other hand, in some cases a "Fickian (another common approximation of the transport equation is that of the diffusion theory)" description is inadequate. For example, in polymer science and food science a more general approach is required to describe transport of components in materials undergoing a glass transition. One more general framework is the Maxwell–Stefan diffusion equations
of multi-component mass transfer, from which Fick's law can be obtained as a limiting case, 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).

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.

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.

Sorption rate and collision frequency of diluted solute 
Adsorption, absorption, and collision of molecules, particles, and surfaces are important problems in many fields. These fundamental processes regulate chemical, biological, and environmental reactions. Their rate can be calculated using the diffusion constant and Fick's laws of diffusion especially when these interactions happen in diluted solutions.

Typically, the diffusion constant of molecules and particles defined by Fick's equation can be calculated using the Stokes–Einstein equation. In the ultrashort time limit, in the order of the diffusion time a2/D, where a is the particle radius, the diffusion is described by the Langevin equation. At a longer time, the Langevin equation merges into the Stokes–Einstein equation. The latter is appropriate for the condition of the diluted solution, where long-range diffusion is considered. According to the fluctuation-dissipation theorem based on the Langevin equation in the long-time limit and when the particle is significantly denser than the surrounding fluid, the time-dependent diffusion constant is:
 
where (all in SI units)
 kB is the Boltzmann constant,
 T is the absolute temperature,
 μ is the mobility of the particle in the fluid or gas, which can be calculated using the Einstein relation (kinetic theory),
 m is the mass of the particle,
 t is time.
For a single molecule such as organic molecules or biomolecules (e.g. proteins) in water, the exponential term is negligible due to the small product of mμ in the ultrafast picosecond region, thus irrelevant to the relatively slower adsorption of diluted solute.

The adsorption or absorption rate of a dilute solute to a surface or interface in a (gas or liquid) solution can be calculated using Fick's laws of diffusion. The accumulated number of molecules adsorbed on the surface is expressed by the Langmuir-Schaefer equation by integrating the diffusion flux equation over time as shown in the simulated molecular diffusion in the first section of this page:
 
  is the surface area (m2).
  is the number concentration of the adsorber molecules (solute) in the bulk solution (#/m3).
  is diffusion coefficient of the adsorber (m2/s).
  is elapsed time (s).
  is the accumulated number of molecules in unit # molecules adsorbed during the time .
The equation is named after American chemists Irving Langmuir and Vincent Schaefer.

Briefly as explained in,
the concentration gradient profile near a newly created (from ) absorptive surface (placed at ) in a once uniform bulk solution is solved in the above sections from Fick's equation,

where  is the number concentration of adsorber molecules at  (#/m3).

The concentration gradient at the subsurface at  is simplified to the pre-exponential factor of the distribution

And the rate of diffusion (flux) across area  of the plane is

Integrating over time,
 

The Langmuir–Schaefer equation can be extended to the Ward–Tordai Equation to account for the "back-diffusion" of rejected molecules from the surface: 
  
where  is the bulk concentration,  is the sub-surface concentration (which is a function of time depending on the reaction model of the adsorption), and  is a dummy variable.

Monte Carlo simulations show that these two equations work to predict the adsorption rate of systems that form predictable concentration gradients near the surface but have troubles for systems without or with unpredictable concentration gradients, such as typical biosensing systems or when flow and convection are significant.

A brief history of diffusive adsorption is shown in the right figure. A noticeable challenge of understanding the diffusive adsorption at the single-molecule level is the fractal nature of diffusion. Most computer simulations pick a time step for diffusion which ignores the fact that there are self-similar finer diffusion events (fractal) within each step. Simulating the fractal diffusion shows that a factor of two corrections should be introduced for the result of a fixed time-step adsorption simulation, bringing it to be consistent with the above two equations.

A more problematic result of the above equations is they predict the lower limit of adsorption under ideal situations but is very difficult to predict the actual adsorption rates. The equations are derived at the long-time-limit condition when a stable concentration gradient has been formed near the surface. But real adsorption is often done much faster than this infinite time limit i.e. the concentration gradient, decay of concentration at the sub-surface, is only partially formed before the surface has been saturated or flow is on to maintain a certain gradient, thus the adsorption rate measured is almost always faster than the equations have predicted for low or none energy barrier adsorption (unless there is a significant adsorption energy barrier that slows down the absorption significantly), for example, thousands to millions time faster in the self-assembly of monolayers at the water-air or water-substrate interfaces. As such, it is necessary to calculate the evolution of the concentration gradient near the surface and find out a proper time to stop the imagined infinite evolution for practical applications. While it is hard to predict when to stop but it is reasonably easy to calculate the shortest time that matters, the critical time when the first nearest neighbor from the substrate surface feels the building-up of the concentration gradient. This yields the upper limit of the adsorption rate under an ideal situation when there are no other factors than diffusion that affect the absorber dynamics:
 
where:
  is the adsorption rate assuming under adsorption energy barrier-free situation, in unit #/s,
  is the area of the surface of interest on an "infinite and flat" substrate (m2),
  is the concentration of the absorber molecule in the bulk solution (#/m3),
  is the diffusion constant of the absorber (solute) in the solution (m2/s) defined with Fick's law.

This equation can be used to predict the initial adsorption rate of any system; It can be used to predict the steady-state adsorption rate of a typical biosensing system when the binding site is just a very small fraction of the substrate surface and a near-surface concentration gradient is never formed; It can also be used to predict the adsorption rate of molecules on the surface when there is a significant flow to push the concentration gradient very shallowly in the sub-surface.

This critical time is significantly different from the first passenger arriving time or the mean free-path time. Using the average first-passenger time and Fick's law of diffusion to estimate the average binding rate will significantly over-estimate the concentration gradient because the first passenger usually comes from many layers of neighbors away from the target, thus its arriving time is significantly longer than the nearest neighbor diffusion time. Using the mean free path time plus the Langmuir equation will cause an artificial concentration gradient between the initial location of the first passenger and the target surface because the other neighbor layers have no change yet, thus significantly lower estimate the actual binding time, i.e., the actual first passenger arriving time itself, the inverse of the above rate, is difficult to calculate. If the system can be simplified to 1D diffusion, then the average first passenger time can be calculated using the same nearest neighbor critical diffusion time for the first neighbor distance to be the MSD, 
 
where:
 (unit m) is the average nearest neighbor distance approximated as cubic packing, where  is the solute concentration in the bulk solution (unit # molecule / m3),
 is the diffusion coefficient defined by Fick's equation (unit m2/s),
 is the critical time (unit s).
In this critical time, it is unlikely the first passenger has arrived and adsorbed. But it sets the speed of the layers of neighbors to arrive. At this speed with a concentration gradient that stops around the first neighbor layer, the gradient does not project virtually in the longer time when the actual first passenger arrives. Thus, the average first passenger coming rate (unit # molecule/s) for this 3D diffusion simplified in 1D problem, 

where  is a factor of converting the 3D diffusive adsorption problem into a 1D diffusion problem whose value depends on the system, e.g., a fraction of adsorption area  over solute nearest neighbor sphere surface area  assuming cubic packing each unit has 8 neighbors shared with other units. This example fraction converges the result to the 3D diffusive adsorption solution shown above with a slight difference in pre-factor due to different packing assumptions and ignoring other neighbors.

When the area of interest is the size of a molecule (specifically, a long cylindrical molecule such as DNA), the adsorption rate equation represents the collision frequency of two molecules in a diluted solution, with one molecule a specific side and the other no steric dependence, i.e., a molecule (random orientation) hit one side of the other. The diffusion constant need to be updated to the relative diffusion constant between two diffusing molecules. This estimation is especially useful in studying the interaction between a small molecule and a larger molecule such as a protein. The effective diffusion constant is dominated by the smaller one whose diffusion constant can be used instead.

The above hitting rate equation is also useful to predict the kinetics of molecular self-assembly on a surface. Molecules are randomly oriented in the bulk solution. Assuming 1/6 of the molecules has the right orientation to the surface binding sites, i.e. 1/2 of the z-direction in x, y, z three dimensions, thus the concentration of interest is just 1/6 of the bulk concentration. Put this value into the equation one should be able to calculate the theoretical adsorption kinetic curve using the Langmuir adsorption model. In a more rigid picture, 1/6 can be replaced by the steric factor of the binding geometry.

The bimolecular collision frequency related to many reactions including protein coagulation/aggregation is initially described by Smoluchowski coagulation equation proposed by Marian Smoluchowski in a seminal 1916 publication, derived from Brownian motion and Fick's laws of diffusion. Under an idealized reaction condition for A + B → product in a diluted solution, Smoluchovski suggested that the molecular flux at the infinite time limit can be calculated from Fick's laws of diffusion yielding a fixed/stable concentration gradient from the target molecule, e.g. B is the target molecule holding fixed relatively, and A is the moving molecule that creates a concentration gradient near the target molecule B due to the coagulation reaction between A and B. Smoluchowski calculated the collision frequency between A and B in the solution with unit #/s/m3:
 
where:
  is the radius of the collision,
  is the relative diffusion constant between A and B (m2/s),
  and  are number concentrations of A and B respectively (#/m3).

The reaction order of this bimolecular reaction is 2 which is the analogy to the result from collision theory by replacing the moving speed of the molecule with diffusive flux. In the collision theory, the traveling time between A and B is proportional to the distance which is a similar relationship for the diffusion case if the flux is fixed.

However, under a practical condition, the concentration gradient near the target molecule is evolving over time with the molecular flux evolving as well, and on average the flux is much bigger than the infinite time limit flux Smoluchowski has proposed. Before the first passenger arrival time, Fick's equation predicts a concentration gradient over time which does not build up yet in reality. Thus, this Smoluchowski frequency represents the lower limit of the real collision frequency.

In 2022, Chen calculates the upper limit of the collision frequency between A and B in a solution assuming the bulk concentration of the moving molecule is fixed after the first nearest neighbor of the target molecule. Thus the concentration gradient evolution stops at the first nearest neighbor layer given a stop-time to calculate the actual flux. He named this the critical time and derived the diffusive collision frequency in unit #/s/m3:
 
where:
  is the area of the cross-section of the collision (m2),
  is the relative diffusion constant between A and B (m2/s),
  and  are number concentrations of A and B respectively (#/m3),
  represents 1/<d>, where d is the average distance between two molecules.

This equation assumes the upper limit of a diffusive collision frequency between A and B is when the first neighbor layer starts to feel the evolution of the concentration gradient, whose reaction order is  instead of 2. Both the Smoluchowski equation and the JChen equation satisfy dimensional checks with SI units. But the former is dependent on the radius and the latter is on the area of the collision sphere. From dimensional analysis, there will be an equation dependent on the volume of the collision sphere but eventually, all equations should converge to the same numerical rate of the collision that can be measured experimentally. The actual reaction order for a bimolecular unit reaction could be between 2 and , which makes sense because the diffusive collision time is squarely dependent on the distance between the two molecules.

These new equations also avoid the singularity on the adsorption rate at time zero for the Langmuir-Schaefer equation. The infinity rate is justifiable under ideal conditions because when you introduce target molecules magically in a solution of probe molecule or vice versa, there always be a probability of them overlapping at time zero, thus the rate of that two molecules association is infinity. It does not matter that other millions of molecules have to wait for their first mate to diffuse and arrive. The average rate is thus infinity. But statistically this argument is meaningless. The maximum rate of a molecule in a period of time larger than zero is 1, either meet or not, thus the infinite rate at time zero for that molecule pair really should just be one, making the average rate 1/millions or more and statistically negligible. This does not even count in reality no two molecules can magically meet at time zero.

Biological perspective 
The first law gives rise to the following formula:
 
where
  is the permeability, an experimentally determined membrane "conductance" for a given gas at a given temperature,
  is the difference in concentration of the gas across the membrane for the direction of flow (from  to ).

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.

Under the condition of a diluted solution when diffusion takes control, the membrane permeability mentioned in the above section can be theoretically calculated for the solute using the equation mentioned in the last section (use with particular care because the equation is derived for dense solutes, while biological molecules are not denser than water. Also, this equation assumes ideal concentration gradient forms near the membrane and evolves):
 
where:
  is the total area of the pores on the membrane (unit m2),
  transmembrane efficiency (unitless), which can be calculated from the stochastic theory of chromatography,
 D is the diffusion constant of the solute unit m2⋅s−1,
 t is time unit s,
 c2, c1 concentration should use unit mol m−3, so flux unit becomes mol s−1.

The flux is decay over the square root of time because a concentration gradient builds up near the membrane over time under ideal conditions. When there is flow and convection, the flux can be significantly different than the equation predicts and show an effective time t with a fixed value, which makes the flux stable instead of decay over time. A critical time has been estimated under idealized flow conditions when there is no gradient formed. This strategy is adopted in biology such as blood circulation.

Semiconductor fabrication applications 
The semiconductor is a collective term for a series of devices. It mainly includes three categories：two-terminal devices, three-terminal devices, and four-terminal devices. The combination of the semiconductors is called an integrated circuit.

The relationship between Fick's law and semiconductors: the principle of the semiconductor is transferring chemicals or dopants from a layer to a layer. Fick's law can be used to control and predict the diffusion by knowing how much the concentration of the dopants or chemicals move per meter and second through mathematics.

Therefore, different types and levels of semiconductors can be fabricated.

Integrated circuit fabrication technologies, model processes like CVD, thermal oxidation, wet oxidation, doping, etc. use diffusion equations obtained from Fick's law.

CVD method of fabricate semiconductor 
The wafer is a kind of semiconductor whose silicon substrate is coated with a layer of CVD-created polymer chain and films. This film contains n-type and p-type dopants and takes responsibility for dopant conductions. The principle of CVD relies on the gas phase and gas-solid chemical reaction to create thin films.

The viscous flow regime of CVD is driven by a pressure gradient. CVD also includes a diffusion component distinct from the surface diffusion of adatoms. In CVD, reactants and products must also diffuse through a boundary layer of stagnant gas that exists next to the substrate. The total number of steps required for CVD film growth are gas phase diffusion of reactants through the boundary layer, adsorption and surface diffusion of adatoms, reactions on the substrate, and gas phase diffusion of products away through the boundary layer.

The velocity profile for gas flow is:

where:
  is the thickness,
  is the Reynolds number,
  is the length of the substrate,
  at any surface,
  is viscosity,
  is density.

Integrated the  from  to , it gives the average thickness:

To keep the reaction balanced, reactants must diffuse through the stagnant boundary layer to reach the substrate. So a thin boundary layer is desirable. According to the equations, increasing vo would result in more wasted reactants. The reactants will not reach the substrate uniformly if the flow becomes turbulent. Another option is to switch to a new carrier gas with lower viscosity or density.

The Fick's first law describes diffusion through the boundary layer. As a function of pressure (p) and temperature (T) in a gas, diffusion is determined.

where:
  is the standard pressure,
  is the standard temperature,
  is the standard diffusitivity.

The equation tells that increasing the temperature or decreasing the pressure can increase the diffusivity.

Fick's first law predicts the flux of the reactants to the substrate and product away from the substrate:

where:
  is the thickness ,
  is the first reactant's concentration.

In ideal gas law , the concentration of the gas is expressed by partial pressure.

where
  is the gas constant,
  is the partial pressure gradient.

As a result, Fick's first law tells us we can use a partial pressure gradient to control the diffusivity and control the growth of thin films of semiconductors.

In many realistic situations, the simple Fick's law is not an adequate formulation for the semiconductor problem. It only applies to certain conditions, for example, given the semiconductor boundary conditions: constant source concentration diffusion, limited source concentration, or moving boundary diffusion (where junction depth keeps moving into the substrate).

Invalidity of Fickian diffusion 
Even though Fickian diffusion has been used to model diffusion processes in semiconductor manufacturing (including CVD reactors) in early days, it often fails to validate the diffusion in advanced semiconductor nodes (< 90 nm). This mostly stems from the inability of Fickian diffusion to model diffusion processes accurately at molecular level and smaller. In advanced semiconductor manufacturing, it is important to understand the movement at atomic scales, which is failed by continuum diffusion. Today, most semiconductor manufacturers use random walk to study and model diffusion processes. This allows us to study the effects of diffusion in a discrete manner to understand the movement of individual atoms, molecules, plasma etc.

In such a process, the movements of diffusing species (atoms, molecules, plasma etc.) are treated as a discrete entity, following a random walk through the CVD reactor, boundary layer, material structures etc. Sometimes, the movements might follow a biased-random walk depending on the processing conditions. Statistical analysis is done to understand variation/stochasticity arising from the random walk of the species, which in-turn affects the overall process and electrical variations.

Food production and cooking 
The formulation of Fick's first law can explain a variety of complex phenomena in the context of food and cooking: Diffusion of molecules such as ethylene promotes plant growth and ripening, salt and sugar molecules promotes meat brining and marinating, and water molecules promote dehydration. Fick's first law can also be used to predict the changing moisture profiles across a spaghetti noodle as it hydrates during cooking. These phenomena are all about the spontaneous movement of particles of solutes driven by the concentration gradient. In different situations, there is different diffusivity which is a constant.

By controlling the concentration gradient, the cooking time, shape of the food, and salting can be controlled.

See also 
 Advection
 Churchill–Bernstein equation
 Diffusion
 False diffusion
 Gas exchange
 Mass flux
 Maxwell–Stefan diffusion
 Nernst–Planck equation
 Osmosis

Citations

Further reading 

 
 
 
 
  – reprinted in

External links 
 Fick's equations, Boltzmann's transformation, etc. (with figures and animations)
 Fick's Second Law on OpenStax

Diffusion
Eponymous laws of physics
Mathematics in medicine
Physical chemistry
Statistical mechanics

de:Diffusion#Erstes Fick'sches Gesetz