using condensation or evaporation of a fluid