"Joule expected that the motion of the paddle wheel would cause the water molecules to rub against each other.
This friction produced heat energy which, in turn, caused the temperature of the water to rise."