Skip to content
Samarjeet Kumar Singh
Heat Treatmentintermediate

Fick's Second Law and Carburizing: The erf Solution Made Easy

Use the error-function solution to find case depth, carburizing time and the effect of temperature, with a GATE-style worked example and the √(Dt) shortcut.

Samarjeet Kumar SinghSamarjeet Kumar Singh2 min read

Carbon concentration profiles falling with depth below a steel surface
Contents

Gas carburizing puts carbon into the surface of a low-carbon steel so that, after quenching, the case is hard and the core stays tough. How deep the carbon goes is a diffusion problem, and GATE asks it almost every year.

The equation and its solution

Fick’s second law in one dimension:

∂C∂t=D ∂2C∂x2\begin{equation} \frac{\partial C}{\partial t} = D\,\frac{\partial^2 C}{\partial x^2} \end{equation}

For a semi-infinite bar with uniform initial carbon C0C_0 and a surface held at CsC_s, the solution is

Cx−C0Cs−C0=1−erf⁡ ⁣(x2Dt)\begin{equation} \frac{C_x - C_0}{C_s - C_0} = 1 - \operatorname{erf}\!\left(\frac{x}{2\sqrt{Dt}}\right) \end{equation}

Worked example: case depth and time

A steel with 0.20 wt% C is carburized at 930 °C with a surface carbon of 1.00 wt%. The case depth is defined where C = 0.40 wt%. How long does it take to reach 0.80 mm?

Show solution

Step 1. Diffusivity at 1203 K:

D=2.3×10−5exp⁡ ⁣(−148 0008.314×1203)=8.63×10−12 m2/sD = 2.3\times10^{-5}\exp\!\left(\frac{-148\,000}{8.314\times1203}\right) = 8.63\times10^{-12}\ \text{m}^2/\text{s}

Step 2. The erf argument:

1−erf⁡(z)=0.40−0.201.00−0.20=0.25  ⇒  erf⁡(z)=0.75  ⇒  z=0.8131 - \operatorname{erf}(z) = \frac{0.40 - 0.20}{1.00 - 0.20} = 0.25 \;\Rightarrow\; \operatorname{erf}(z) = 0.75 \;\Rightarrow\; z = 0.813

Step 3. Time:

x2Dt=0.813  ⇒  t=1D(0.80×10−32×0.813)2=2.8×104 s≈7.8 h\frac{x}{2\sqrt{Dt}} = 0.813 \;\Rightarrow\; t = \frac{1}{D}\left(\frac{0.80\times10^{-3}}{2\times0.813}\right)^2 = 2.8\times10^{4}\ \text{s} \approx 7.8\ \text{h}

Two shortcuts that save minutes

For a fixed CxC_x the argument zz is fixed, so

x∝Dtx \propto \sqrt{Dt}
  • Same temperature, different depth: double the depth needs 4× the time.
  • Same depth, different temperature: D1t1=D2t2D_1 t_1 = D_2 t_2.
Try it: the same 0.80 mm case at 1000 °C

D1273=1.95×10−11D_{1273} = 1.95\times10^{-11} m²/s, so

t2=D1t1D2=8.63×10−12×7.81.95×10−11≈3.5 ht_2 = \frac{D_1 t_1}{D_2} = \frac{8.63\times10^{-12}\times 7.8}{1.95\times10^{-11}} \approx 3.5\ \text{h}

Seventy degrees hotter more than halves the time. That is why carburizing is done as hot as grain growth allows.

Limits of the model

  1. Assumes DD does not depend on concentration (it does, slightly, for carbon in γ).
  2. Assumes the surface reaches CsC_s instantly. Real gas carburizing has a surface-transfer step.
  3. Semi-infinite: valid while the case is much thinner than the part.

Move the sliders below to see how depth scales with temperature and time.

Interactive Simulation

Interactive lab

Fick's Second Law: Carburizing

erf solution for case depth vs temperature, time and surface carbon. Loading…

Results

Our GATE Metallurgy Toppers

TestUrSelf students have secured AIR 1 in GATE MT 8 times, and many more top-10 ranks.

8×
AIR 1
18+
top-10 ranks
2019–26
every year
HALL OF ACHIEVEMENT
  • Sabyasachi MandalALL INDIA RANK02
    Sabyasachi Mandal
    GATE 2026 · MT
  • Yogesh Sarma SedaiALL INDIA RANK01
    Yogesh Sarma Sedai
    GATE 2025 · MT
  • Yenni AnirvinALL INDIA RANK02
    Yenni Anirvin
    GATE 2025 · MT
  • Hrutidipan PradhanALL INDIA RANK01
    Hrutidipan Pradhan
    GATE 2024 · MT
  • Harshith ArethiALL INDIA RANK03
    Harshith Arethi
    GATE 2024 · MT
  • Animesh RajALL INDIA RANK08
    Animesh Raj
    GATE 2024 · MT
  • Ashutosh Kumar YadavALL INDIA RANK01
    Ashutosh Kumar Yadav
    GATE 2023 · MT
  • Suryanshu SinghALL INDIA RANK03
    Suryanshu Singh
    GATE 2023 · MT
  • Mohit PatidarALL INDIA RANK01
    Mohit Patidar
    GATE 2022 · MT
  • Soumyajeet ChinaraALL INDIA RANK02
    Soumyajeet Chinara
    GATE 2022 · MT
  • Deepak PatelALL INDIA RANK05
    Deepak Patel
    GATE 2022 · MT
  • B VinithALL INDIA RANK01
    B Vinith
    GATE 2021 · MT
  • D Laxman RaoALL INDIA RANK01
    D Laxman Rao
    GATE 2021 · MT
  • Jaya GuptaALL INDIA RANK01
    Jaya Gupta
    GATE 2020 · MT
  • Dilpreet DhanjalALL INDIA RANK01
    Dilpreet Dhanjal
    GATE 2019 · MT
  • Charan SinghALL INDIA RANK04
    Charan Singh
    GATE 2019 · MT
  • Shrinivas KumarALL INDIA RANK06
    Shrinivas Kumar
    GATE 2019 · MT
  • Mukti Ranjan MohapatraALL INDIA RANK08
    Mukti Ranjan Mohapatra
    GATE 2019 · MT

1:1 doubt support

1:1 Doubt Support on WhatsApp Ask Samarjeet directly.

Doubts from any article, test-series guidance or GATE MT strategy. Send a message on WhatsApp and get a personal reply.

Message on WhatsApp+91 87092 71314

Related Articles

Discussion

Comments appear once Giscus is configured (see README → “Comments”).