Back to Engineering

Materials Science & Engineering Series Part 10: Thermodynamics & Kinetics of Materials

February 13, 2026 Wasil Zafar 45 min read

Master the thermodynamic and kinetic foundations of material behavior — Gibbs free energy, chemical potential, phase equilibria, CALPHAD computational methods, nucleation and growth, TTT and CCT diagrams, diffusion-controlled transformations, Avrami kinetics, and solidification science.

Table of Contents

  1. Thermodynamic Foundations
  2. CALPHAD & Computational Methods
  3. Kinetics & Phase Transformations
  4. Solidification & Diffusion
  5. Practice Exercises

Thermodynamic Foundations

Series Overview: This is Part 10 of our 14-part Materials Science & Engineering Series. Thermodynamics tells us what transformations are possible, and kinetics tells us how fast they happen — together they govern every material processing operation from steelmaking to semiconductor fabrication.

Thermodynamics and kinetics are the twin pillars that govern every material transformation. Thermodynamics tells us whether a reaction or transformation is energetically favorable — it defines the destination. Kinetics tells us how fast we get there and by what pathway. Together, they dictate everything from how steel is hardened to how silicon crystals are grown for semiconductors.

The Energy Landscape Analogy: Imagine a ball on a hilly terrain. Thermodynamics determines which valleys (stable states) exist and which hilltops (unstable states) separate them. The ball "wants" to roll downhill to the lowest valley — the equilibrium state. Kinetics determines how quickly the ball rolls and whether it gets trapped in a shallow valley (metastable state) along the way. A diamond is thermodynamically unstable relative to graphite at room pressure, but kinetically it never transforms — it's stuck in a local valley.

The three laws of thermodynamics underpin all of materials science:

  • First Law (energy conservation): Energy is neither created nor destroyed — it only changes form. The internal energy change equals heat added minus work done: dU = δQ − δW.
  • Second Law (entropy): The total entropy of an isolated system always increases. Spontaneous processes move toward states of higher disorder. This is why alloys mix, why ice melts at room temperature, and why diffusion proceeds from high to low concentration.
  • Third Law: The entropy of a perfect crystal approaches zero as temperature approaches absolute zero, providing a reference point for entropy calculations.

Gibbs Free Energy & Chemical Potential

The most powerful thermodynamic quantity for materials engineering is the Gibbs free energy:

Gibbs Free Energy: G = H − TS, where H = enthalpy (heat content), T = absolute temperature, and S = entropy. At constant temperature and pressure, a process is spontaneous if ΔG < 0. Equilibrium occurs when ΔG = 0. The competition between enthalpy (which favors ordering — bonds, crystals) and entropy (which favors disorder — mixing, melting) drives all phase transformations.

The chemical potential μi of component i is the partial molar Gibbs energy — it measures how much the total free energy changes when you add an infinitesimal amount of species i: μi = (∂G/∂ni)T,P,nj≠i. At equilibrium, the chemical potential of each component is equal in all coexisting phases.

Activity (a) quantifies the "effective concentration" of a component, accounting for non-ideal interactions: μi = μi° + RT·ln(ai). For an ideal solution, activity equals mole fraction (ai = xi). For real solutions, ai = γi·xi, where γ is the activity coefficient capturing intermolecular interactions.

Ellingham Diagrams — Predicting Oxide Stability

Extractive Metallurgy Phase Stability

The Ellingham diagram plots the standard Gibbs energy of formation (ΔG°) for metal oxides as a function of temperature. Each line represents the reaction: 2M + O2 → 2MO. Key principles:

  • Lower lines = more stable oxides. Aluminum oxide (Al2O3) sits very low — making aluminum an excellent reducing agent.
  • A metal can reduce the oxide above it. Carbon reduces iron oxide in blast furnaces because the C/CO line crosses below the Fe/FeO line above ~700°C.
  • Slope changes correspond to phase transitions (melting, boiling) — when a metal melts, the entropy change steepens the line.

The carbon line uniquely slopes downward at high temperatures (because CO gas has high entropy), which is why carbon becomes a universal reductant at high T — the foundation of steelmaking since antiquity.

ΔG° = ΔH° − TΔS° Richardson-Jeffes
Python: Gibbs Free Energy of Mixing vs. Composition
import numpy as np
import matplotlib.pyplot as plt

# Gibbs free energy of mixing for an ideal binary solution
# G_mix = RT * [x*ln(x) + (1-x)*ln(1-x)]
R = 8.314  # J/(mol·K)
temperatures = [500, 1000, 1500, 2000]  # Kelvin
x = np.linspace(0.001, 0.999, 500)  # mole fraction of component B

plt.figure(figsize=(10, 6))
for T in temperatures:
    G_mix = R * T * (x * np.log(x) + (1 - x) * np.log(1 - x))
    plt.plot(x, G_mix / 1000, label=f'T = {T} K', linewidth=2)

plt.xlabel('Mole Fraction of B (x_B)', fontsize=12)
plt.ylabel('ΔG_mix (kJ/mol)', fontsize=12)
plt.title('Gibbs Free Energy of Ideal Mixing', fontsize=14)
plt.legend(fontsize=11)
plt.grid(True, alpha=0.3)
plt.axhline(y=0, color='black', linewidth=0.5)
plt.tight_layout()
plt.show()

# Key insight: G_mix is always negative for ideal mixing
# (mixing is always spontaneous), and the minimum deepens
# with temperature because the -TS term dominates.
print("At T=1000K, minimum G_mix =", round(R * 1000 * (0.5 * np.log(0.5) + 0.5 * np.log(0.5)) / 1000, 2), "kJ/mol")

Phase Equilibria & Phase Rules

The Gibbs Phase Rule defines the degrees of freedom F (number of independently variable intensive properties) for a system in equilibrium:

Gibbs Phase Rule: F = C − P + 2, where C = number of components, P = number of phases, and 2 accounts for temperature and pressure. At an eutectic point in a binary alloy: C=2, P=3 (liquid + two solids), so F=1 — at fixed pressure, the eutectic temperature is uniquely determined.

Lever Rule — Worked Example

Phase Diagrams Quantitative Analysis

Problem: A Cu-40wt%Ni alloy is held at 1250°C in the two-phase (L + α) region. The liquidus gives CL = 32 wt%Ni, and the solidus gives Cα = 43 wt%Ni. What fraction of the alloy is liquid?

Solution using the Lever Rule:

  • Overall composition C0 = 40 wt%Ni
  • Weight fraction of liquid: WL = (Cα − C0) / (Cα − CL) = (43 − 40) / (43 − 32) = 3/11 ≈ 27.3%
  • Weight fraction of solid α: Wα = (C0 − CL) / (Cα − CL) = (40 − 32) / (43 − 32) = 8/11 ≈ 72.7%

Analogy: Think of a seesaw — the fulcrum is at C0, and the phase fractions are inversely proportional to their distance from the fulcrum, just like balancing weights on a lever.

Lever Rule Cu-Ni System

Key binary phase diagram types:

  • Eutectic (e.g., Pb-Sn): Liquid → α + β simultaneously at the eutectic temperature. The microstructure shows a characteristic lamellar or rod-like two-phase mixture. Solder alloys exploit the low eutectic melting point.
  • Peritectic (e.g., Fe-C at 1493°C): Liquid + δ → γ. A solid phase reacts with liquid to form a different solid phase. Common in steels and many intermetallic systems.
  • Eutectoid (e.g., Fe-C at 727°C): γ → α + Fe3C. A single solid transforms to two new solids — the foundation of steel heat treatment. Pearlite (lamellar α + cementite) forms from austenite at this temperature.

Phase Equilibria & Computational Thermodynamics

The CALPHAD method (CALculation of PHAse Diagrams) is the workhorse of modern alloy design. Rather than measuring every possible alloy composition experimentally, CALPHAD uses thermodynamic models fitted to known data points to predict phase stability across the entire composition-temperature space.

How CALPHAD Works: (1) Model the Gibbs energy of each phase as a function of temperature and composition using mathematical expressions with adjustable parameters. (2) Fit these parameters to experimental data (calorimetry, phase boundaries, activity measurements). (3) Store parameters in thermodynamic databases. (4) For any new composition, minimize the total Gibbs energy to find the equilibrium phase assemblage. Software like Thermo-Calc, PANDAT, and FactSage automate this process.

Solution Models & Activity

CALPHAD relies on mathematical models for the Gibbs energy of each phase:

  • Ideal Solution: Gmix = RT Σ xi ln(xi). Assumes atoms mix randomly with no preferential interactions. Good for similar elements (e.g., Cu-Ni).
  • Regular Solution: Gmix = RT Σ xi ln(xi) + Ω·xA·xB. Adds one interaction parameter Ω. If Ω > 0 (repulsive), the system tends to unmix (miscibility gap). If Ω < 0 (attractive), ordering or compound formation is favored.
  • Redlich-Kister Polynomials: Gexcess = xAxB Σ Lν(xA − xB)ν, where Lν are temperature-dependent parameters. This flexible form captures asymmetric interactions and is the standard in CALPHAD databases.
  • Sub-lattice Models: For ordered phases (intermetallics, carbides), atoms occupy specific crystallographic sites. The Compound Energy Formalism (CEF) models each sub-lattice independently — essential for phases like Ni3Al (γ′) in superalloys.

Multicomponent Phase Diagrams

Real engineering alloys contain 5–15 elements. CALPHAD's power lies in extrapolating binary and ternary assessments to multicomponent systems — the pairwise interaction parameters combine to predict behavior in complex alloys that would be impossible to map experimentally.

Case Study: Designing a New Superalloy with CALPHAD

Alloy Design Aerospace

Challenge: Design a Ni-base superalloy with 60–70% γ′ fraction for turbine blade applications, while avoiding formation of brittle TCP (Topologically Close-Packed) phases like σ and μ.

CALPHAD Workflow:

  1. Baseline: Start with composition Ni-10Al-10Cr (at%) using a validated Ni-database.
  2. γ′ optimization: Increase Al+Ti to raise γ′ solvus temperature and volume fraction. CALPHAD predicts γ′ fraction vs. temperature.
  3. TCP avoidance: Reduce Cr, increase Co + Re. Calculate the stability of σ-phase — ensure it's thermodynamically unstable below 1000°C.
  4. Solidification path: Scheil simulation predicts freezing range, microsegregation, and risk of casting defects.
  5. Result: Ni-12Al-6Cr-8Co-3Ti-2Ta-3Re (at%) with 65% γ′ at 900°C and zero TCP phases predicted below 950°C.

This approach — used by GE, Rolls-Royce, and Pratt & Whitney — has reduced the superalloy development cycle from decades to years.

Ni-base Superalloy Turbine Blades Thermo-Calc
Python: Binary Phase Diagram Construction (Regular Solution)
import numpy as np
import matplotlib.pyplot as plt

# Construct a binary eutectic phase diagram using regular solution model
# Two solid phases (alpha, beta) with limited solubility
R = 8.314  # J/(mol·K)
T_mA = 1000  # Melting point of pure A (K)
T_mB = 800   # Melting point of pure B (K)
L_A = 12000  # Latent heat of fusion A (J/mol)
L_B = 9000   # Latent heat of fusion B (J/mol)
Omega_s = 20000  # Interaction parameter in solid (positive = demixing)
Omega_l = 5000   # Interaction parameter in liquid

# Calculate liquidus and solidus using equal chemical potential condition
T_range = np.linspace(400, 1050, 500)

# For each temperature, find compositions where G_solid = G_liquid
# Simplified: use tangent construction approach
x_liquidus_A = []  # liquidus from A-rich side
x_solidus_A = []   # solidus from A-rich side
T_plot = []

for T in T_range:
    # Free energy difference (liquid - solid) for pure components
    dG_A = L_A * (1 - T / T_mA)  # positive below T_mA (solid stable)
    dG_B = L_B * (1 - T / T_mB)
    
    # Scan compositions to find phase boundaries
    x = np.linspace(0.001, 0.999, 2000)
    G_solid = R * T * (x * np.log(x) + (1-x) * np.log(1-x)) + Omega_s * x * (1-x)
    G_liquid = R * T * (x * np.log(x) + (1-x) * np.log(1-x)) + Omega_l * x * (1-x) - (1-x)*dG_A - x*dG_B
    
    dG = G_liquid - G_solid
    # Find zero crossings (phase boundaries)
    crossings = np.where(np.diff(np.sign(dG)))[0]
    if len(crossings) >= 2:
        T_plot.append(T)
        x_liquidus_A.append(x[crossings[0]])
        x_solidus_A.append(x[crossings[1]])

plt.figure(figsize=(10, 7))
plt.fill_betweenx(T_plot, x_liquidus_A, x_solidus_A, alpha=0.3, color='coral', label='Two-phase (L+S)')
plt.plot(x_liquidus_A, T_plot, 'r-', linewidth=2, label='Liquidus')
plt.plot(x_solidus_A, T_plot, 'b-', linewidth=2, label='Solidus')
plt.xlabel('Mole Fraction of B', fontsize=12)
plt.ylabel('Temperature (K)', fontsize=12)
plt.title('Binary Phase Diagram (Regular Solution Model)', fontsize=14)
plt.legend(fontsize=11)
plt.grid(True, alpha=0.3)
plt.xlim(0, 1)
plt.tight_layout()
plt.show()
print("Phase diagram constructed with Omega_solid =", Omega_s, "J/mol")
print("Positive Omega in solid promotes phase separation (eutectic behavior)")

Kinetics & Phase Transformations

While thermodynamics predicts the equilibrium destination, kinetics governs the journey — how fast atoms rearrange, how new phases nucleate and grow, and how processing conditions (heating rate, cooling rate, hold time) control the final microstructure.

Why Kinetics Matters: Steel cooled slowly from austenite forms soft pearlite. The same steel quenched rapidly forms hard martensite. Same composition, same thermodynamic driving force — but vastly different kinetics produce microstructures with a 5× difference in hardness. Understanding kinetics is understanding how to control properties.

Nucleation Theory

Every phase transformation begins with nucleation — the formation of tiny embryos of the new phase within the parent phase. Nucleation requires overcoming an energy barrier because creating a new interface costs energy.

Homogeneous nucleation occurs uniformly throughout the bulk material. The total free energy change for forming a spherical nucleus of radius r is: ΔG = −(4/3)πr³·ΔGv + 4πr²·γ, where ΔGv is the volume free energy driving force (energy gained) and γ is the interfacial energy (energy cost). The critical radius r* = 2γ/ΔGv — nuclei smaller than r* shrink and dissolve; larger ones grow spontaneously.

Heterogeneous nucleation occurs preferentially at defects — grain boundaries, dislocations, free surfaces, inclusions — because these sites reduce the interfacial energy cost. The activation barrier is reduced by a factor f(θ) = (2 + cosθ)(1 − cosθ)²/4, where θ is the contact angle. In practice, nearly all real transformations nucleate heterogeneously — that's why grain refiners and inoculants are added to control nucleation sites.

Analogy — Raindrops and Dust: Rain rarely forms in perfectly clean air (homogeneous nucleation requires extreme supersaturation). Dust particles, pollen, and sea salt act as heterogeneous nucleation sites — cloud seeding exploits exactly this principle. Similarly, in metals, inclusions and grain boundaries provide low-energy sites for new phases to nucleate.

TTT & CCT Diagrams

TTT (Time-Temperature-Transformation) diagrams map when phase transformations begin and end during isothermal holds. They have a characteristic "C-curve" shape because:

  • At high temperatures (just below equilibrium): large thermodynamic driving force is low → slow nucleation → transformation takes long.
  • At low temperatures: high driving force but atomic mobility is limited → slow diffusion → transformation again takes long.
  • At intermediate temperatures: optimal balance of driving force and diffusivity → fastest transformation → the "nose" of the C-curve.

CCT (Continuous Cooling Transformation) diagrams are the practical counterpart — they show what happens during continuous cooling at different rates, which is what actually occurs in heat treatment. CCT curves are shifted to longer times and lower temperatures compared to TTT curves because the transformation has less time to proceed at each temperature.

Case Study: Designing Heat Treatment Schedules for 4140 Steel

Heat Treatment Industrial Process

Objective: Achieve a tempered martensite microstructure in AISI 4140 steel (0.40%C, 1%Cr, 0.2%Mo) for automotive crankshafts requiring 300–350 HB hardness.

Reading the TTT/CCT diagram:

  1. Austenitize at 845°C for 30 minutes — fully dissolve carbon into austenite (γ).
  2. Identify the critical cooling rate: The CCT diagram shows the pearlite nose at ~10 seconds and ~550°C. Cooling must be faster than ~30°C/s to avoid pearlite formation.
  3. Quench in oil (cooling rate ~50°C/s) — fast enough to miss the pearlite and bainite noses, forming ~95% martensite.
  4. Temper at 480°C for 2 hours — carbide precipitation softens martensite to target hardness while recovering toughness.

Result: Hardness 320 HB, tensile strength ~1050 MPa, adequate ductility (>12% elongation) for fatigue-critical crankshaft applications.

AISI 4140 Quench & Temper CCT Diagram

Avrami Kinetics & Coarsening

The Avrami equation (also Johnson-Mehl-Avrami-Kolmogorov, JMAK) describes the fraction of material transformed over time during isothermal phase transformations:

Avrami Equation: f(t) = 1 − exp(−k·tn), where f is the fraction transformed, k is a temperature-dependent rate constant, t is time, and n (the Avrami exponent) depends on the nucleation and growth mechanism. Typical values: n ≈ 1 for thickening of large plates, n ≈ 2 for growth of cylinders with zero nucleation rate, n ≈ 3 for spherical growth from pre-existing nuclei, n ≈ 4 for spherical growth with constant nucleation rate.

The characteristic S-shaped (sigmoidal) curve of the Avrami equation captures three stages: (1) an incubation period with slow initial transformation, (2) rapid acceleration as growing nuclei impinge on untransformed volume, and (3) saturation as the matrix is consumed. The parameter k follows an Arrhenius relationship: k = k0·exp(−Q/RT), where Q is the activation energy for the transformation.

Python: Avrami Kinetics Simulation
import numpy as np
import matplotlib.pyplot as plt

# Avrami equation: f(t) = 1 - exp(-k * t^n)
# Simulate for different Avrami exponents
t = np.linspace(0, 10, 500)  # time (arbitrary units)
k = 0.01  # rate constant

avrami_exponents = [1, 2, 3, 4]
labels = [
    'n=1 (1D thickening)',
    'n=2 (2D growth, no nucleation)',
    'n=3 (3D growth, site-saturated)',
    'n=4 (3D growth, constant nucleation)'
]

plt.figure(figsize=(10, 6))
for n, label in zip(avrami_exponents, labels):
    f = 1 - np.exp(-k * t**n)
    plt.plot(t, f, linewidth=2, label=label)

plt.xlabel('Time (arbitrary units)', fontsize=12)
plt.ylabel('Fraction Transformed, f(t)', fontsize=12)
plt.title('Avrami Kinetics: Effect of Exponent n', fontsize=14)
plt.legend(fontsize=10)
plt.grid(True, alpha=0.3)
plt.ylim(0, 1.05)
plt.tight_layout()
plt.show()

# Determine time to 50% transformation for each n
for n, label in zip(avrami_exponents, labels):
    t_half = (np.log(2) / k) ** (1/n)
    print(f"{label}: t_50% = {t_half:.2f}")

Solidification & Diffusion

Solidification — the transformation from liquid to solid — is the starting point for most metallic components. Understanding solidification thermodynamics and kinetics is critical for controlling casting microstructures, avoiding defects, and achieving desired properties.

Solidification Fundamentals

Nucleation in solidification follows the same principles as solid-state nucleation: undercooling below the equilibrium melting point provides the thermodynamic driving force, while the solid-liquid interfacial energy creates the nucleation barrier. Heterogeneous nucleation on mold walls, inoculant particles, or oxide inclusions dominates in practice — typical undercoolings in industrial casting are only 1–10°C, versus hundreds of degrees for homogeneous nucleation.

Dendritic growth is the most common solidification morphology. As a solid nucleus grows into the undercooled liquid, it develops tree-like branching structures (dendrites) because perturbations at the solid-liquid interface grow faster than the flat interface — this is the Mullins-Sekerka instability. Primary arms grow along preferred crystallographic directions (⟨100⟩ in cubic crystals), with secondary and tertiary branches filling the space between.

Constitutional Supercooling: Even when the bulk liquid is above its freezing point, solute rejected at the advancing solid-liquid interface can create a thin layer of liquid that is compositionally below its liquidus temperature — this is "constitutionally supercooled." It governs the transition from planar → cellular → columnar dendritic → equiaxed dendritic growth morphologies. The criterion for constitutional supercooling is: GL/R < −mL·C0(1−k)/k·DL, where GL is the thermal gradient in the liquid, R is the growth rate, mL is the liquidus slope, C0 the alloy composition, k the partition coefficient, and DL the liquid diffusivity.

Diffusion & Fick's Laws

Diffusion — the thermally activated movement of atoms through a material — underlies virtually every kinetic process in materials science: phase transformations, homogenization, oxidation, creep, and sintering.

Fick's First Law (steady-state): J = −D·(dC/dx), where J is the flux (atoms/m²·s), D is the diffusivity (m²/s), and dC/dx is the concentration gradient. The negative sign indicates atoms move from high to low concentration — downhill on the chemical potential landscape.

Fick's Second Law (non-steady-state): ∂C/∂t = D·(∂²C/∂x²). This partial differential equation describes how concentration profiles evolve over time and is the workhorse equation for most diffusion problems in materials processing.

The diffusion coefficient follows an Arrhenius relationship: D = D0·exp(−Qd/RT), where D0 is the pre-exponential factor and Qd is the activation energy. Typical values for carbon in FCC iron (austenite): D0 ≈ 2.3×10⁻⁵ m²/s, Qd ≈ 148 kJ/mol — giving D ≈ 10⁻¹¹ m²/s at 1000°C.

The Kirkendall Effect: When two metals (e.g., Cu and Zn) are diffusion-bonded, the faster-diffusing species (Zn) moves more rapidly than the slower one (Cu). This unequal flux creates a net flow of atoms in one direction, causing the interface (marked by inert markers like Mo wires) to shift and voids (Kirkendall porosity) to form on the side of the faster diffuser. This proved that diffusion occurs by a vacancy mechanism, not by direct atomic exchange — one of the landmark experiments of 20th-century metallurgy.

Carburizing & Diffusion Simulation

Case Study: Carburizing Treatment Optimization

Surface Hardening Automotive Gears

Problem: An automotive gear made of 8620 steel (0.20%C, 0.55%Mn, 0.50%Ni, 0.50%Cr, 0.20%Mo) requires a case depth of 1.0 mm with surface carbon of 0.80%C after gas carburizing at 925°C.

Solution using Fick's Second Law:

  • Boundary conditions: Cs = 0.80%C (surface), C0 = 0.20%C (initial bulk)
  • Solution: C(x,t) = Cs − (Cs − C0)·erf(x / 2√(Dt))
  • At 925°C: DC in γ ≈ 1.28 × 10⁻¹¹ m²/s
  • Case depth defined at C = 0.40%C: erf(x/2√(Dt)) = (0.80−0.40)/(0.80−0.20) = 0.667
  • From erf tables: x/2√(Dt) ≈ 0.685
  • For x = 1.0mm = 0.001m: t = (0.001)² / (4 × 0.685² × 1.28×10⁻¹¹) ≈ 41,650 s ≈ 11.6 hours

Industrial practice: Carburize for 12 hours at 925°C, followed by direct quench to form a hard martensitic case (~60 HRC) over a tough, low-carbon core (~30 HRC).

8620 Steel Error Function Case Hardening
Python: Diffusion Profile — Fick's Second Law with Error Function
import numpy as np
import matplotlib.pyplot as plt
from scipy.special import erf

# Carburizing simulation: Fick's second law solution
# C(x,t) = Cs - (Cs - C0) * erf(x / (2*sqrt(D*t)))
Cs = 0.80   # surface carbon concentration (wt%)
C0 = 0.20   # initial carbon concentration (wt%)
D = 1.28e-11  # diffusivity of C in austenite at 925°C (m²/s)

# Distance from surface
x = np.linspace(0, 3e-3, 500)  # 0 to 3 mm in meters

# Different carburizing times
times_hours = [2, 4, 8, 12, 16]  # hours

plt.figure(figsize=(10, 6))
for t_hr in times_hours:
    t = t_hr * 3600  # convert to seconds
    C = Cs - (Cs - C0) * erf(x / (2 * np.sqrt(D * t)))
    plt.plot(x * 1000, C, linewidth=2, label=f't = {t_hr} hrs')

# Mark the 0.40%C case depth threshold
plt.axhline(y=0.40, color='red', linestyle='--', alpha=0.7, label='Case depth threshold (0.40%C)')

plt.xlabel('Distance from Surface (mm)', fontsize=12)
plt.ylabel('Carbon Concentration (wt%)', fontsize=12)
plt.title('Carburizing Diffusion Profiles at 925°C', fontsize=14)
plt.legend(fontsize=10)
plt.grid(True, alpha=0.3)
plt.ylim(0.15, 0.85)
plt.tight_layout()
plt.show()

# Calculate case depth (x at C=0.40) for each time
print("Case depths at C = 0.40 wt%C:")
for t_hr in times_hours:
    t = t_hr * 3600
    # erf(z) = (Cs - 0.40) / (Cs - C0) = 0.667, z ≈ 0.685
    z = 0.685
    case_depth_mm = 2 * z * np.sqrt(D * t) * 1000
    print(f"  t = {t_hr:2d} hrs → case depth = {case_depth_mm:.2f} mm")

Practice Exercises

Exercises: Thermodynamics & Kinetics

Self-Assessment Problem Solving
  1. Gibbs Energy: Calculate ΔGmix for an ideal binary solution at xB = 0.3 and T = 800 K. Is mixing spontaneous? What composition gives the minimum ΔGmix?
  2. Lever Rule: An Al-33wt%Cu alloy (eutectic composition = 33%, max solid solubility of Cu in Al = 5.65%) is cooled just below the eutectic temperature (548°C). Calculate the weight fractions of α and θ(Al2Cu) phases.
  3. Phase Rule: How many degrees of freedom exist when ice, water, and steam coexist for a single-component system? What does this imply physically?
  4. Avrami Kinetics: An isothermal transformation has k = 5×10⁻⁴ s⁻³ and n = 3. Calculate the time for 50% and 90% transformation. How would doubling k affect these times?
  5. Critical Radius: For homogeneous nucleation of solid copper from liquid with ΔGv = −2.3×10⁸ J/m³ and γSL = 0.177 J/m², calculate the critical nucleus radius and the number of atoms in the critical nucleus (copper atomic radius = 0.128 nm, FCC).
  6. Diffusion: Carbon is diffused into a steel gear at 950°C (D = 1.6×10⁻¹¹ m²/s) with Cs = 1.0%C and C0 = 0.15%C. How long does it take to achieve 0.5%C at a depth of 0.8 mm? Use the error function solution.
  7. Ellingham Analysis: Explain why aluminum can reduce Cr2O3 (the thermite reaction) but cannot reduce MgO at any temperature below 2000°C. What does this tell us about the relative stability of Al2O3 vs. MgO?
  8. CALPHAD Application: A ternary alloy system has three solution phases (FCC, BCC, Liquid) and two intermetallic compounds. Applying the Phase Rule at fixed pressure, what is the maximum number of phases that can coexist in equilibrium? At the point of maximum phases, how many degrees of freedom remain?

Conclusion & Next Steps

Thermodynamics and kinetics form the quantitative backbone of materials science and engineering. With Gibbs free energy and chemical potential, we predict which phases are stable. With CALPHAD, we computationally explore vast composition spaces that would take lifetimes to map experimentally. With nucleation theory and the Avrami equation, we understand how and how fast transformations proceed. With Fick's laws and TTT/CCT diagrams, we design heat treatments and processing schedules that deliver precisely controlled microstructures.

The interplay between thermodynamic driving forces and kinetic barriers is what makes materials processing both an art and a science — the same alloy can become soft or hard, brittle or tough, simply by controlling the thermal pathway. Mastering these concepts empowers you to not only understand existing materials but to design new ones for the challenges ahead.

Next in the Series

In Part 11: Electronic, Magnetic & Optical Materials, we'll explore semiconductor physics, photovoltaics, dielectric materials, ferromagnetism, superconductors, and photonic crystals.