Fick’s second law of non-steady-state diffusion calculator

H. K. D. H. Bhadeshia and H. Yan, Queen Mary University of London

Time-dependent concentration profiles, thermal activation, and instantaneous surface flux modelling

In non-steady-state mass transfer, concentration changes as a function of both spatial position x and elapsed time t. Governed by Fick’s second law (∂c/∂t = D ∂²c/∂x²), the diffusion coefficient D follows an Arrhenius relationship with absolute temperature. This calculator evaluates exact analytical solutions for semi-infinite geometries, resolving the evolution of transient concentration profiles and the decaying surface flux.

Input variables

Boundary condition model
Temperature (T) 950 °C (1223 K)
Elapsed diffusion time (t) 2.0 h
Surface concentration (cs) 1.20 wt%
Initial uniform concentration (c0) 0.20 wt%
Arrhenius pre-exponential factor (D0) 2.30 × 10⁻⁵ m²/s
Activation energy (Q) 140.0 kJ/mol
Diffusion coefficient (D) 2.42 × 10⁻¹¹ m²/s
Characteristic diffusion length (2√Dt) 0.835 mm
Instantaneous surface flux (Jsurface) 4.09 × 10⁻⁵ kg/(m²·s)
Concentration profile across penetration depth
Surface flux decay over time

Mathematical formulation and physical principles

One-dimensional non-steady-state diffusion is described by the partial differential equation:

∂c/∂t = ∂/∂x (D ∂c/∂x) = D (∂²c/∂x²)

The temperature dependence of the diffusion coefficient D is governed by the Arrhenius equation:

D = D0 exp(-Q / RT)

where R = 8.314 J/(mol·K) is the universal gas constant and T is the absolute temperature in kelvin.