Heat Conduction

Compute heat spreading from hot to cold with the diffusion equation. Paint in heat sources. A free physics simulation in your browser (Diffusion equation, Conservation of heat).

How it works and what to look for

∂T/∂t = ∇·(k ∇T), heat flux q = −k ∇T (Fourier's law)

Heat flows from hot to cold, in proportion to the temperature difference (gradient). The plate is divided into small cells, and the heat flowing between neighbors is computed from their temperature difference.

With insulated edges and no heater, total heat stays the same (conservation of energy). Hot regions spread out over time until the whole plate reaches the same (average) temperature.

Heat passes quickly through metal (high conductivity) and hardly at all through insulator. Leave a gap in an insulating wall and you can watch heat flow around through the gap.

Today's question: As heat spreads, what happens to maximum temperature and total heat?

  1. Turn edge cooling and temperature holding off, then reset.
  2. Wait a while. Record maximum temperature, average temperature, and total heat.
  3. Turn only edge cooling on, reset, and compare after the same time.

Read the explanation and model assumptions

With insulated boundaries and no heat source, the maximum temperature falls as heat spreads, but total heat remains nearly constant. Cooling the edges lets heat escape, lowering both average temperature and total heat.

Holding a painted temperature supplies heat from outside. A more uniform color is not the same as losing heat. Temperatures and heat amounts use relative model units.

Everyday examples

Common misconceptions

Misconception: Cold flows in from outside.
In fact: Only heat flows, always from hotter to colder places. Things get cold because heat leaves them.
Misconception: Metal is colder than wood.
In fact: In the same room they are at the same temperature. They feel different because their thermal conductivities differ.

Related simulations