| he presence of foam can greatly lower the mobility of gas in porous media, and foam is often used in enhanced oil recovery (EOR) and matrix acidization projects. Under some conditions foam may cause a large reduction in mobility (a "strong" foam), while under different conditions the foam may be "weak.";Since ;Previous modeling of foam diversion in matrix acidization required using parameter values extrapolated from scant data. New experiments provide relevant data while confirming the basic form of the previous model. An unexpected weakening of foam was discovered at later times, attributable to gas dissolution into the injected liquid. A model was formulated which estimates local phase mobilities and saturations during foam corefloods using a plausible relative-permeability function and sectional ;New modeling efforts using fractional-flow theory reveal that a SAG (Surfactant-Alternating-Gas) injection strategy can combine high injectivity with low mobility at the front of the foam bank to help stabilize the displacement. Water is quickly displaced from the near-wellbore region, weakening the foam there. Since near-wellbore behavior weighs heavily in ultimate injectivity, high injectivity is promoted. It is also demonstrated that in some cases a weak foam (as defined by conventional steady-state corefloods) can produce a larger, longer-lived increase in injection pressure in a SAG process than a stronger foam.;SAG effectiveness depends on foam behavior at low values of... |