Numerical Simulation of Multiphase Porous Media Flows with applications to Oil Recovery