Numerical Simulation of Free Surface Flows With Heat and Mass Transfer