The numerical computation of multi-phase flows