Arrangements of heating or cooling devices for liquids to be transferred