P3 Thermal physics