PhysSandbox
Classical MechanicsWaves & SoundElectricity & MagnetismOptics & LightGravity & OrbitsLabs
🌙Astronomy & The Sky🌡️Thermodynamics🌍Biophysics, Fluids & Geoscience📐Math Visualization🔧Engineering🧪Chemistry

Related simulators

Continue with similar topics in this category — or all 65 in Chemistry.

View category →
NewSchool

Gibbs Free Energy

Launch Simulator

ΔG = ΔH − TΔS; sign vs spontaneity at constant p,T (no Q or K).

NewSchool

Hess's Law (Enthalpy Paths)

Launch Simulator

Two-step vs direct ΔH on an enthalpy diagram; sum must match declared overall ΔH.

NewSchool

Reaction Rate

Launch Simulator

Arrhenius k(T), order 0/1/2, [A](t) curves and particle tank.

NewSchool

Henry's Law (Gas Solubility)

Launch Simulator

p = k_H c with k_H(T) from ΔH; c vs T at fixed p (ideal-dilute sketch).

School

pH Scale

Launch Simulator

Slider from 0 to 14 with common substances and color indicators.

NewSchool

Galvanic (Voltaic) Cell

Launch Simulator

Two half-cells, salt bridge, voltmeter; E°cell and Nernst E from ion concentrations (pedagogical E°).

PhysSandbox

Interactive physics, chemistry, and engineering simulators for students, teachers, and curious minds.

Physics

  • Classical Mechanics
  • Waves & Sound
  • Electricity & Magnetism

Science

  • Optics & Light
  • Gravity & Orbits
  • Astronomy & The Sky

More

  • Thermodynamics
  • Biophysics, Fluids & Geoscience
  • Math Visualization
  • Engineering
  • Chemistry

© 2026 PhysSandbox. Free interactive science simulators.

PrivacyTermsContact
Home/Chemistry/Diffusion Couple (Fick's Second Law)

Diffusion Couple (Fick's Second Law)

Infinite A|B diffusion couple: error-function concentration profiles, diffusivity D, time t, and diffusion length 2√(Dt).

Fick's second law

-1 (mm²/s)
8 s
1
0

Two semi-infinite bars joined at x = 0. The exact solution of ∂c/∂t = D ∂²c/∂x² is an error-function profile whose width grows as 2√(Dt).

Shortcuts

  • •Space — play / pause time · R — reset t → 0

Measured values

D1.00e-1mm²/s
Diffusion length 2√(Dt)1.789mm
c(0,t)0.500
t8.00s

About this model

Fick's second law ∂c/∂t = D ∂²c/∂x² governs unsteady diffusion. For an infinite diffusion couple with a sharp initial step between concentrations c_L and c_R, the exact solution is an error-function profile whose characteristic width grows as 2√(Dt). The simulator plots c(x,t), marks ±2√(Dt), and shows a color bar of the couple so students can connect diffusivity and annealing time to how far the interface blurs.

Who it's for: Materials science, metallurgy, physical chemistry, solid-state diffusion, and heat/mass transfer courses.

Key terms

  • Fick's second law
  • Diffusion couple
  • Error function
  • Diffusion length
  • Diffusivity D
  • Concentration profile

How it works

Classic infinite diffusion couple for Fick's second law: an error-function concentration profile spreads from a sharp initial step. Tune diffusivity D and time t to see the diffusion length 2√(Dt) grow.

Key equations

∂c/∂t = D ∂²c/∂x²
c(x,t) = (c_L+c_R)/2 − (c_L−c_R)/2 · erf( x / (2√(Dt)) )
Characteristic width ∼ 2√(Dt) (amber markers)

Frequently asked questions

Why does the interface stay at the average concentration?
For equal diffusivities and an infinite couple, symmetry of the error-function solution keeps c(0,t) = (c_L + c_R)/2 for all t > 0.
What does 2√(Dt) mean?
It is a standard diffusion-length scale: most of the concentration change between the two ends sits within a few multiples of √(Dt) of the weld plane.