Numerical Methods in Heat Conduction
Real problems rarely have simple geometries or boundary conditions. Numerical methods replace the governing differential equation with a set of algebraic equations solved at discrete points.
This chapter develops the finite-difference and energy-balance approaches, formulates interior and boundary nodes for one- and two-dimensional steady conduction, and extends the method to transient problems — introducing the explicit and implicit schemes and the stability criterion that constrains the time step.
Learning objectives
- Translate conduction physics into conservative nodal energy balances.
- Select mesh spacing, boundary-node control volumes, and a suitable steady or transient scheme.
- Assemble and solve one- and two-dimensional nodal equations.
- Apply the explicit stability limit and distinguish stability from accuracy.
- Verify numerical results using conservation, bounds, symmetry, and mesh refinement.
Why Numerical Methods
Analytical solutions exist only for simple shapes, constant properties, and idealized boundaries. Most practical cases — irregular geometry, temperature-dependent properties, mixed boundary conditions — demand a numerical approach.
Analytical vs. Numerical
Analytical methods solve the differential equation for a continuous temperature function valid everywhere. Numerical methods instead compute temperatures at a finite set of nodes, trading exactness for the ability to handle nearly any geometry or condition.
Discretization
The medium is divided into a grid of nodal points spaced \(\Delta x\) (and \(\Delta y\)) apart. Each node represents the small volume around it, and the conservation law is written for that element, producing one equation per node.
Physical meaning
A node represents an average over a control volume, not an isolated point. Refining the mesh improves geometric and gradient resolution but increases equation count. Numerical output is credible only after the discrete model, property data, and boundary conditions are audited.
Problem-solving strategy
- Recognize steady or transient behavior, dimensionality, generation, and each boundary type.
- Sketch control volumes and assign material properties at stated representative temperatures.
- Write conservation equations before simplifying coefficients; half and quarter cells matter at boundaries and corners.
- Solve the smallest closed system, monitor residuals, and preserve units.
- Check global energy balance, maximum-principle bounds, stability, and mesh/time-step independence.
Finite Difference Formulation
Derivatives are approximated by differences of nodal temperatures using a Taylor-series expansion. The second derivative central to conduction takes a particularly simple three-point form.
Energy-Balance Method
Rather than approximating derivatives, write a steady-state energy balance on the control volume around each node: heat conducted in from all neighbors, plus generation, sums to zero. It gives the same equations as finite differences but with clearer physical meaning and easy handling of boundaries.
Central differences are second-order accurate on a uniform mesh when the temperature field is smooth. Interfaces require conductances based on the series resistance between nodes (often a harmonic-mean conductivity), not a casual arithmetic average. Nonlinear \(k(T)\), radiation, or convection correlations require iteration.
One-Dimensional Steady Heat Conduction
Writing the nodal equation at every interior node, plus special equations at the boundaries, yields a linear system solved simultaneously for all nodal temperatures.
Strategy
This is steady one-dimensional conduction on a uniform mesh, so each interior balance sets the node equal to the average of its two neighbors.
Givens
- \(T_0=120^\circ\text{C}\), \(T_3=30^\circ\text{C}\); unknown \(T_1,T_2\).
- No generation; equal conductances between adjacent nodes.
Physical/model interpretation
Positive heat flows left to right. Constant area and conductivity make the conductance cancel from each energy balance.
Unit/sign/limit checks
Units: Every nodal equation is a temperature equation after division by \(kA/\Delta x\).
Signs: Temperatures decrease monotonically in the chosen positive heat-flow direction.
Limits: Both nodes lie between fixed boundary values and the zero residual confirms algebraic closure.
Engineering insight
The exact linear profile is a useful code-verification case: a conduction solver that cannot reproduce it has a mesh, indexing, or boundary-condition defect.
Two-Dimensional Steady Heat Conduction
On a square grid (\(\Delta x = \Delta y\)) with no generation, the steady energy balance gives an especially clean result: each interior node's temperature is the average of its four neighbors.
Solving the System
The resulting set of equations is solved directly (matrix inversion / Gaussian elimination) for small grids, or iteratively (Gauss–Seidel) for large ones, sweeping the grid repeatedly until temperatures stop changing.
The "average of the four neighbors" rule is one of the most useful things to memorize. For a quick hand check of any 2-D steady problem with no generation, sweep the grid by hand using it a few times (Gauss–Seidel) — the numbers converge surprisingly fast.
Strategy
An interior two-dimensional node with uniform spacing uses the four-neighbor balance plus the generation source.
Givens
- Four neighbor temperatures; \(\dot g=6.0\times10^6\ \text{W/m}^3\).
- \(k=24\ \text{W/mK}\), \(\Delta x=\Delta y=0.0040\ \text{m}\).
Physical/model interpretation
A unit-depth control volume conducts through four faces. Positive generation raises the node above the no-generation neighbor average.
Unit/sign/limit checks
Units: \((\text{W/m}^3)\text{m}^2/(\text{W/mK})=\text{K}\).
Signs: Positive generation produces a positive correction.
Limits: As \(\dot g\to0\), the answer returns to the four-neighbor average.
Engineering insight
The source correction scales with \(\Delta^2\), illustrating why coarse meshes can hide peak temperatures near concentrated electronic heat sources.
Transient Heat Conduction
For transient problems the time derivative is also discretized. Evaluating the spatial terms at the old time level gives the explicit method; at the new level, the implicit method.
Stability Criterion (Explicit Method)
The explicit scheme is only stable when the coefficient of a node's own previous temperature stays non-negative. This caps the time step: in one dimension the mesh Fourier number must satisfy \(\tau \le \tfrac{1}{2}\) (and \(\tau \le \tfrac{1}{4}\) in two dimensions). Violating it produces physically impossible oscillating temperatures.
\[ \tau = \frac{\alpha\,\Delta t}{\Delta x^2} \le \frac{1}{2}\ \text{(1-D interior node)} \]
Explicit vs. Implicit
The explicit method computes each new nodal temperature directly but is limited by the stability criterion. The implicit method requires solving a system every step but is unconditionally stable, allowing larger time steps — the usual trade of cost per step against number of steps.
“Unconditionally stable” does not mean accurate: an implicit solution with an excessive time step may smear the transient. Explicit boundary nodes can impose a stricter criterion when convection or generation is present, so derive coefficients for the actual boundary equation.
Strategy
The requested direct time update identifies the explicit scheme; stability fixes the allowable mesh Fourier number before temperature is advanced.
Givens
- \(\Delta x=0.0030\ \text{m}\), \(\alpha=5.5\times10^{-7}\ \text{m}^2/\text{s}\).
- \(T_{m-1}^i=110^\circ\text{C}\), \(T_m^i=80^\circ\text{C}\), \(T_{m+1}^i=50^\circ\text{C}\).
Physical/model interpretation
Constant-property diffusion with no generation is modeled at an interior node. The symmetric neighbor temperatures imply zero discrete curvature.
Unit/sign/limit checks
Units: \(\Delta x^2/\alpha=\text{s}\); all update coefficients are dimensionless.
Signs: Coefficients \(0.4,0.2,0.4\) are nonnegative and sum to one.
Limits: The neighbor average equals \(80^\circ\text{C}\), so zero curvature correctly gives no local change.
Engineering insight
Halving mesh spacing cuts the explicit stable step by four. Production models should demonstrate both spatial and temporal convergence rather than merely satisfying stability.
Chapter recap
- Conservative control-volume balances expose the physics and handle boundaries cleanly.
- Steady equations require residual and global-energy audits; transient equations additionally require stability and time-step checks.
- Mesh refinement and credible properties are part of the solution, not optional presentation details.
Before moving on
- Can you write interior, boundary, and source-node balances?
- Can you distinguish stability, convergence, and accuracy?