Kelvin-Joule effect