Heat transfer and flow controller