Numerical simulation of compressible multiphase flows