Professional Documents
Culture Documents
Diffusion
Diffusion
Dr Ben Goddard
What is diffusion?
Fun fact: ‘Diffusion’ comes from the Latin diffundo, which means
(obviously) diffuse or spread, but also cheer up, so it’s a happy
topic!
2 / 12
The diffusion equation
Note: The diffusion equation needs one initial and two boundary
conditions; more on this later in the course.
3 / 12
Heuristics of the diffusion equation
4 / 12
Derivation of the diffusion equation
5 / 12
Einstein’s Annus Mirabilis
In 1905∗ Einstein published a paper
“über die von der molekular-kinetischen Theorie der Wärme
geforderte Bewegung von in ruhenden Flüssigkeiten suspendierten
Teilchen”
or
“concerning the motion, as required by the molecular-kinetic
theory of heat, of particles suspended in liquids at rest”.
[Source: Wikipedia]
∗ in the same year he also described the photoelectric effect, special relativity,
7 / 12
Assumptions and set-up
Assume:
individual particle motions are independent;
movement of individual particles at different times is
independent as long as the interval isn’t too small.
Introduce time τ
much smaller than observable timescales;
large enough so that particle motion is independent in two
successive intervals of length τ .
8 / 12
Random particle motion
dn = nφ(∆)d∆,
where Z ∞
φ(∆)d∆ = 1
−∞
φ satisfies
φ(∆) 6= 0 only for very small ∆;
φ(∆) = φ(−∆) – symmetry.
9 / 12
Particle distribution
Let ν = f (x, t) be the number of particles per unit volume.
Compare the distribution of particles at times t + τ and t.
Consider the number of particles at time t + τ whose x-coordinate
is between x and x + dx:
Z ∞
f (x, t + τ )dx = dx f (x − ∆, t)φ(∆)d∆.
−∞
10 / 12
Series expansion
Since τ is very small, set
∂f
f (x, t + τ ) = f (x, t) + τ .
∂t
Expand f (x − ∆, t) in powers of ∆:
∂f ∆2 ∂ 2 f
f (x − ∆, t) = f (x, t) − ∆ + + ··· .
∂x 2! ∂x2
Insert into
Z ∞
f (x, t + τ )dx = dx f (x − ∆, t)φ(∆)d∆.
−∞
giving
∞ ∞ ∞
∂2f ∆2
Z Z Z
∂f ∂f
f +τ =f φ(∆)d∆− ∆φ(∆)d∆+ 2 φ(∆)d∆.
∂t −∞ ∂x −∞ ∂x −∞ 2
11 / 12
Series expansion
Since τ is very small, set
∂f
f (x, t + τ ) = f (x, t) + τ .
∂t
Expand f (x − ∆, t) in powers of ∆:
∂f ∆2 ∂ 2 f
f (x − ∆, t) = f (x, t) − ∆ + + ··· .
∂x 2! ∂x2
Insert into
Z ∞
f (x, t + τ )dx = dx f (x − ∆, t)φ(∆)d∆.
−∞
giving
∞
∂f ∞ ∂ 2 f ∞ ∆2
Z Z Z
∂f
f +τ =f φ(∆)d∆ − ∆φ(∆)d∆ + 2 φ(∆)d∆.
∂t −∞ ∂x −∞ ∂x −∞ 2
| {z } | {z }
=1 =0
11 / 12
Series expansion
Since τ is very small, set
∂f
f (x, t + τ ) = f (x, t) + τ .
∂t
Expand f (x − ∆, t) in powers of ∆:
∂f ∆2 ∂ 2 f
f (x − ∆, t) = f (x, t) − ∆ + + ··· .
∂x 2! ∂x2
Insert into
Z ∞
f (x, t + τ )dx = dx f (x − ∆, t)φ(∆)d∆.
−∞
giving
∂f ∂2f
=D 2
∂t ∂x
i.e. the diffusion equation.
11 / 12
Recap and What’s Next
Recap:
Overview of the diffusion equation
Einstein’s original derivation
We still need to discuss initial and boundary conditions
12 / 12
Recap and What’s Next
Recap:
Overview of the diffusion equation
Einstein’s original derivation
We still need to discuss initial and boundary conditions
What’s Next:
Another derivation (of the heat equation)
The advection and advection-diffusion equations
Analytical solutions
Numerical solutions
Real-world applications
12 / 12