PX275 - G3a - diffusion equation
-
considering the diffusion problem: spatial and temporal variation of a density function,
-
with
particles in a volume, , the volume density, , is the number of particles per unit volume (3D) -
many cases can be considered in 1D

- considering a bar of length,
, and cross-section, , with only one variation in the spatial dimension, say - the concentration of particle:
describes the physical (1D) concentration of particles in this medium at and - the number of particles in the red box:
- in general:
- if there is no source or sink,
is constant

- diffusion acts to reduce gradients in concentration
- gradients will lead to a flux of particles

- considering the particle flux,
, then the net flux number of particles moving right - number of particles moving left - fick's law:
where,
- the proportionality constant is defined to be
, the diffusivity of the medium:
- the continuity must be satisfied
- considering a small part,
- the change in the number of particles over
at a fixed time:
- over time,
- recalling that
, so the change in the number within across time, , is:
- combining equation
and
- from fick's law:
- this is the diffusion equation for a 1D concentration field,
, in a medium with a constant diffusivity,

dimensions of the diffusion constant
- it has been assumed that
is constant - if
is not constant:
- if there is a source or sink of particles: