Understanding how fluids heat or cool surfaces