Structure of the temperature field in a flow over heated waves