In this example, the setup is demonstrated for free surface evaporation of a hot liquid in a coffee mug into the air as well as potential recondensation onto the surface of the mug itself
The attached simulation file shows the setup of a VOF/Free surface case where a hot liquid evaporates into vapor, and that vapor is then allowed to recondense to form film on the solid surface container.