Last updated: 2026-09-10 4 min read

Steady one-dimensional conduction is the basic patch test for a thermal solver. In a uniform material with no internal heat generation or time dependence, temperature must be exactly linear. Even small errors in matrix assembly or Dirichlet boundary handling are therefore easy to detect.

What this case verifies

  • The steady heat-conduction equation and Fourier's law
  • Fixed-temperature boundary conditions at both ends
  • Exact reproduction of a linear temperature field
  • Minimum, maximum, and average-temperature post-processing

Problem definition

1D Heat Conduction boundary conditions

The ends of a uniform bar of length LL are fixed at T1=400T_1=400 K and T2=300T_2=300 K. The lateral surfaces are adiabatic, thermal conductivity kk is constant, and there is no volumetric heat source.

Reference solution

Under steady, constant-property, source-free conditions, the one-dimensional equation is

ddx(kAdTdx)=0\frac{d}{dx}\left(kA\frac{dT}{dx}\right)=0

With constant kk and area AA , this becomes d2T/dx2=0d^2T/dx^2=0 and gives

T(x)=T1+T2T1LxT(x)=T_1+\frac{T_2-T_1}{L}x

Fourier's law gives a spatially constant heat-transfer rate:

Q˙=kAdTdx=kAT1T2L\dot Q=-kA\frac{dT}{dx}=kA\frac{T_1-T_2}{L}

The midpoint temperature at x=L/2x=L/2 is exactly 350 K, as is the volume average for this linear field.

Results

1D Heat Conduction temperature

QuantityTheoryFEMError
TminT_{min} / TmaxT_{max} / TavgT_{avg}300 / 400 / 350 K300 / 400 / 350 Kexact

The minimum, maximum, and average temperatures reproduce the exact values. Because the exact solution lies inside the interpolation space of linear elements, a correct implementation should reproduce this field independently of mesh size.

Engineering significance

This is the baseline for through-thickness heat flow in walls and plates and for later multi-layer thermal resistance problems. It is also a minimal diagnostic for checking units, conductivity, temperature constraints, and heat-flux sign conventions.

Reference

Back to the eight-case validation summary