Materials Science 101
02 Defects & Transport
Chapter 05

Diffusion

Watch concentration profiles evolve through a slab and into a semi-infinite solid. Drag the time slider to see Fick's 2nd Law spread atoms by an error-function curve, then apply it to a real case: carburizing steel.

Concentration Profile · Steady State

At steady state, the concentration profile through a slab is linear. The slope dC/dx is constant, so the flux J is the same at every depth — atoms flow downhill at a uniform rate from the high-concentration face to the low-concentration face.

Fick's First Law

J=D dC dx
flux [kg·m⁻²·s⁻¹] = − diffusivity × concentration gradient

1.0×10⁻¹¹
2.0
4.0
0.5

dC/dx
−1.75×10³
J
+1.75×10⁻⁸
units
kg·m⁻²·s⁻¹

A bigger gradient or higher diffusivity → bigger flux. Sign convention: J is positive when atoms move in the +x direction.

C(x,t) · Non-steady Profile

A semi-infinite solid starts at uniform C₀. The surface is held at Cₛ. Drag t to watch the profile evolve. At t = 0 the curve is a step; as time grows, atoms diffuse inward and the front advances proportional to Dt.

Fick's Second Law

C t =D 2C x2
semi-infinite solid, constant surface concentration
CC0 CsC0 =1 erf ( x 2Dt )

1.20
0.20
3.2×10⁻¹²
3600

Dt
Diffusion length
C at x = 0.5 mm

The error function erf(z) rises from 0 to 1. Where x2Dt ≈ 1, the local concentration is about halfway between C₀ and Cₛ. That distance — 2Dt — is the practical "diffusion depth" of the process.

Carburization · Carbon Profile in Steel

Heating 925 °C target C at case = 0.80 wt%

Low-carbon steel is held in a carbon-rich atmosphere at high temperature. Carbon diffuses in from the surface, producing a hard, wear-resistant case over a tough core. Case depth is the distance at which the carbon content reaches the target value.

Process Controls

925
4.0
1.20
0.20
0.80

D(T)
Dt
Case depth
z = x2Dt
Arrhenius
D= D0 exp ( Q RT )
C in γ-Fe: D₀ = 2.3×10⁻⁵ m²/s, Q = 148 kJ/mol

Push temperature up and case depth grows fast — D is exponential in 1/T. Doubling time only grows depth by 2; adding 50 °C can do far more.