Discontinuous Galerkin applied to a generic two-phase flow model in a porous medium