Numerical issues concerning the simulation of foam EOR