Numerical prediction of multiphase flows of immiscible fluids