Flow of Thermal Energy in Earth's Layers