Thermal capacity and heat transfer