Transport phenomena in electron beam melting and evaporation