Numerical simulations of heat and mass transfer