the foaming characteristics of a foamant to be used in the recovery of oil from a subterranean oil - bearing formation by carbon dioxide foam flooding , are determined by passing carbon dioxide through a sample of the foamant in a test cell containing a porous medium under pressure conditions simulating reservoir conditions and measuring the quantity of foam formed . the pressure drop along the cell is also monitored in order to indicate the resistance to gas flow imposed by the foam .