Multiphase flow in Porous media