Numerical Simulation of Multiphase Flows