The Riemann Solution for the Injection of Steam and Nitrogen in a Porous Medium