Skip to content
Samarjeet Kumar Singh

Virtual Laboratory

Interactive Metallurgy Simulations

Each lab comes with the concept behind it, the key equation, what to try and what GATE asks. Everything runs in your browser.

01Physical Metallurgy

Fe–Fe₃C Phase Diagram & Lever Rule

Read the full article →

The concept

The Fe–Fe₃C diagram maps which phases are stable for a given carbon content and temperature. Ferrite (α) is BCC and dissolves at most 0.022 wt% C (at 727 °C); austenite (γ) is FCC and dissolves up to 2.14 wt% C (at 1147 °C); cementite (Fe₃C) is fixed at 6.67 wt% C. Three invariant reactions organise the diagram: the peritectic at 1495 °C, the eutectic at 1147 °C (4.3 wt% C, ledeburite) and the eutectoid at 727 °C (0.76 wt% C, pearlite).

In a two-phase field, draw a horizontal tie line: its ends give the phase compositions and the lever rule gives their fractions.

Wα=CFe3C−C0CFe3C−Cα,WFe3C=1−WαW_\alpha = \frac{C_{\text{Fe}_3\text{C}} - C_0}{C_{\text{Fe}_3\text{C}} - C_\alpha}, \qquad W_{\text{Fe}_3\text{C}} = 1 - W_\alpha

Worked example

0.40 wt% C steel just below 727 °C. Proeutectoid ferrite =0.76−0.400.76−0.022≈0.49= \frac{0.76-0.40}{0.76-0.022} \approx 0.49, so pearlite ≈0.51\approx 0.51. Total ferrite =6.67−0.406.67−0.022≈0.94= \frac{6.67-0.40}{6.67-0.022} \approx 0.94.

Try this in the lab

  1. 1Click at 0.4 wt% C, 730 °C, then at 0.4 wt% C, 720 °C. Compare the phases.
  2. 2Click exactly at the eutectoid composition (0.76 wt% C) below 727 °C.
  3. 3Try a hypereutectoid steel (1.2 wt% C) and find the proeutectoid cementite.

What GATE asks

  • Proeutectoid vs total phase fractions (the most common trap).
  • Tie lines just above vs just below 727 °C.
  • Reading compositions at invariant points.

Interactive lab

Fe–Fe₃C Phase Diagram & Lever Rule

Click anywhere on the diagram to get phases, compositions and fractions. Loading…

02Thermodynamics · Extractive

Ellingham Diagram Explorer

Read the full article →

The concept

An Ellingham diagram plots the standard free energy of oxide formation per mole of O₂ against temperature. Each line is close to straight because ΔG∘=ΔH∘−TΔS∘\Delta G^\circ = \Delta H^\circ - T\Delta S^\circ: the slope is −ΔS∘-\Delta S^\circ. Most metal lines slope upward because a gas (O₂) is consumed. The lower the line, the more stable the oxide: a metal can reduce the oxide of any line above it.

Carbon is special. 2C+O2→2CO2\text{C} + \text{O}_2 \rightarrow 2\text{CO} produces gas, so its line slopes downward and crosses many metal lines. Above the crossing temperature, carbon can reduce that oxide. Kinks appear at melting and boiling points.

ΔG∘=ΔH∘−T ΔS∘,ΔG∘=RTln⁡pO2\Delta G^\circ = \Delta H^\circ - T\,\Delta S^\circ, \qquad \Delta G^\circ = RT\ln p_{\text{O}_2}

Try this in the lab

  1. 1Choose FeO and carbon; read the temperature where the lines cross.
  2. 2Compare Al₂O₃ with FeO: why is aluminium a strong deoxidiser?
  3. 3Follow a line to its kink and identify the phase change.

What GATE asks

  • Minimum reduction temperature from a line crossing.
  • Sign and meaning of the slope (ΔS°).
  • Equilibrium pO2p_{O_2} from ΔG°.

Interactive lab

Ellingham Diagram Explorer

Pick oxides and a reductant; read off the minimum reduction temperature. Loading…

03Mechanical Metallurgy

Stress–Strain Curve Builder

Read the full article →

The concept

A tensile test reports engineering stress and strain, based on the original area and length. Real material behaviour is better described by true stress and strain, which use the instantaneous values. Up to the start of necking the two are linked simply, and plastic flow often follows the Hollomon law.

Necking starts when the strain-hardening rate can no longer keep up with the loss of area (the Considère criterion). For a Hollomon material, this happens when the true strain equals the strain-hardening exponent nn.

σT=σ(1+ε),εT=ln⁡(1+ε)\sigma_T = \sigma(1+\varepsilon), \quad \varepsilon_T = \ln(1+\varepsilon)

σT=KεT n,εTUTS=n\sigma_T = K\varepsilon_T^{\,n}, \quad \varepsilon_T^{\text{UTS}} = n

Worked example

If n=0.25n = 0.25, necking starts at a true strain of 0.25, which is an engineering strain of e0.25−1≈0.284e^{0.25} - 1 \approx 0.284.

Try this in the lab

  1. 1Raise nn and watch the necking point move to larger strain.
  2. 2Compare the engineering and true curves after the UTS.
  3. 3Change the yield strength and see how resilience (σy2/2E\sigma_y^2/2E) responds.

What GATE asks

  • True strain at UTS equals nn.
  • Converting engineering to true values (only valid before necking).
  • Resilience and toughness from the curve.

Interactive lab

Stress–Strain Curve Builder

Set E, yield, UTS and n; see engineering vs true curves, toughness and necking. Loading…

04Physical Metallurgy · Heat Treatment

Fick's Second Law: Carburizing

Read the full article →

The concept

Diffusion moves atoms from high to low concentration. Fick’s first law gives the flux in steady state; Fick’s second law describes how the concentration profile changes with time. In gas carburizing, carbon diffuses into steel from a surface held at a fixed carbon level. The steel is treated as semi-infinite, which gives an error-function solution.

The diffusion coefficient rises steeply with temperature (Arrhenius). A given carbon level is reached at a depth that scales with Dt\sqrt{Dt}: to double the case depth, you need four times the time.

Cx−C0Cs−C0=1−erf⁡ ⁣(x2Dt),D=D0 e−Q/RT\frac{C_x - C_0}{C_s - C_0} = 1 - \operatorname{erf}\!\left(\frac{x}{2\sqrt{Dt}}\right), \qquad D = D_0\,e^{-Q/RT}

Worked example

Same steel, same surface carbon: if 0.5 mm takes 10 h at a given temperature, then 1.0 mm takes 40 h at that temperature.

Try this in the lab

  1. 1Double the time and note how far the profile moves (×√2, not ×2).
  2. 2Raise the temperature by 50 °C and compare the time needed for the same depth.
  3. 3Change the surface carbon and watch the whole profile scale.

What GATE asks

  • x2/Dtx^2/Dt = constant for the same composition.
  • Using D=D0e−Q/RTD = D_0 e^{-Q/RT} between two temperatures.
  • Reading erf tables quickly.

Interactive lab

Fick's Second Law: Carburizing

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

05Physical Metallurgy · Crystallography

Bragg's Law & XRD Pattern Simulator

Read the full article →

The concept

X-rays diffract from crystal planes when Bragg’s law is satisfied. For cubic crystals, the plane spacing depends on the lattice parameter and the Miller indices. Not every plane gives a peak: the structure factor cancels some reflections.

  • SC: all (hkl)(hkl) appear.
  • BCC: h+k+lh+k+l even.
  • FCC: h,k,lh, k, l all odd or all even.

So the ratios of sin⁡2θ\sin^2\theta identify the lattice. BCC: 2, 4, 6, 8, 10, 12, 14… FCC: 3, 4, 8, 11, 12, 16…

nλ=2dsin⁡θ,dhkl=ah2+k2+l2n\lambda = 2d\sin\theta, \qquad d_{hkl} = \frac{a}{\sqrt{h^2+k^2+l^2}}

sin⁡2θ=λ24a2(h2+k2+l2)\sin^2\theta = \frac{\lambda^2}{4a^2}(h^2+k^2+l^2)

Try this in the lab

  1. 1Switch BCC → FCC and see which peaks vanish.
  2. 2Change the wavelength and watch every peak shift together.
  3. 3Read the first peak and back-calculate the lattice parameter.

What GATE asks

  • Identifying BCC/FCC from sin⁡2θ\sin^2\theta ratios.
  • The 7th line of SC (N = 7 is impossible).
  • Lattice parameter from a single peak.

Interactive lab

Bragg's Law & XRD Pattern Simulator

FCC, BCC, SC and HCP peaks with selection rules, d-spacings and sin²θ ratios. Loading…

06Mechanical Metallurgy

Grain Size & Hall–Petch Strengthening

Read the full article →

The concept

Grain boundaries block moving dislocations, which pile up against them. Smaller grains mean shorter pile-ups and more boundaries, so a higher stress is needed to keep plastic flow going. The result is the Hall–Petch relation.

Grain refinement is the only common strengthening method that raises both strength and toughness. At very fine (nanometre) grain sizes the relation breaks down.

σy=σ0+ky d−1/2,N=2 G−1 (ASTM, grains per in2 at 100×)\sigma_y = \sigma_0 + k_y\, d^{-1/2}, \qquad N = 2^{\,G-1} \text{ (ASTM, grains per in}^2 \text{ at } 100\times)

Worked example

Two data points fix both constants: subtract the two equations to get kyk_y, then substitute back for σ0\sigma_0.

Try this in the lab

  1. 1Reduce the grain size by a factor of 4 and check that the kyk_y term doubles.
  2. 2Step through ASTM grain-size numbers and watch the microstructure.
  3. 3Compare a high-kyk_y and a low-kyk_y material.

What GATE asks

  • Solving for σ0\sigma_0 and kyk_y from two tests.
  • Converting ASTM number to grain count.
  • Why refinement improves toughness too.

Interactive lab

Grain Size & Hall–Petch Strengthening

Yield strength vs grain size with ASTM number and a live microstructure. Loading…

07Extractive Metallurgy · Ironmaking

Blast Furnace: Zones & Reactions

Read the full article →

The concept

The blast furnace is a counter-current reactor. Iron ore, coke and limestone are charged at the top and move down slowly. Hot air (the blast) enters through the tuyeres near the bottom, burns coke to CO, and the hot reducing gas rises through the burden in a few seconds.

On the way down, iron oxide is reduced step by step, Fe₂O₃ → Fe₃O₄ → FeO → Fe, mostly by CO in the stack (indirect reduction). In the hotter lower part, carbon takes over (direct reduction). The ore then softens and melts in the cohesive zone, and liquid iron and slag drip through the coke into the hearth.

ηCO=% CO2% CO+% CO2\eta_{\text{CO}} = \frac{\%\,\text{CO}_2}{\%\,\text{CO} + \%\,\text{CO}_2}

FeO+CO→Fe+CO2,C+CO2→2 CO\text{FeO} + \text{CO} \rightarrow \text{Fe} + \text{CO}_2, \qquad \text{C} + \text{CO}_2 \rightarrow 2\,\text{CO}

Worked example

Top gas with 23% CO and 22% CO₂: ηCO=2223+22≈0.49\eta_{\text{CO}} = \frac{22}{23+22} \approx 0.49, so about half the CO was used for reduction before leaving the furnace.

Try this in the lab

  1. 1Drag the marker from the hearth to the throat and watch the gas and solid temperatures converge in the thermal reserve zone.
  2. 2Stop in the cohesive zone and compare direct and indirect reduction.
  3. 3Raise the top-gas CO₂ and see the CO utilisation improve.

What GATE asks

  • Sequence of zones and their temperature ranges.
  • Direct vs indirect reduction, and the role of the Boudouard reaction.
  • Gas utilisation from top-gas analysis; simple Fe mass balances.

Interactive lab

Blast Furnace: Zones & Reactions

Move through the furnace from hearth to throat: temperatures, reactions, ore demand and CO utilisation. Loading…