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

More from Chemistry

Other simulators in this category — or see all 65.

View category →
NewSchool

Adsorption Isotherms

Launch Simulator

Langmuir, Freundlich, and BET isotherms: surface coverage, monolayer capacity n_m, and multilayer rise near P₀.

NewSchool

Close Packing FCC / BCC / HCP

Launch Simulator

Coordination numbers, maximal packing η, schematic ABC vs AB stacking beside a BCC cubic cell.

NewSchool

Chromatography Column

Launch Simulator

Partition chromatography cartoon: Gaussian bands separate as retention on the stationary phase differs.

NewUniversity / research

Michaelis–Menten Kinetics

Launch Simulator

v vs [S] saturation and Lineweaver–Burk line from slope Km/Vmax and intercept 1/Vmax.

NewSchool

DNA Replication (Schematic)

Launch Simulator

Fork, leading vs lagging strand, Okazaki fragments — static labeled cartoon.

NewSchool

Polymer Random Coil

Launch Simulator

Lattice random walk R_g with Flory exponent ν slider (scaling hint vs Gaussian ν = ½).

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.