Systems exchanging heat with fluids in pipes