A pseudo-bubble point model and its simulation for foamy oil in porous media