A coupled formulation for three-phase capillary pressure and relative permeability for implicit compositional reservoir simulation is presented. The formulation incorporates primary, secondary, and tertiary saturation functions. Hysteresis and miscibility are applied simultaneously to both capillary pressure and relative permeability. Two alternative three-phase capillary pressure formulations are presented: the first as described by Hustad (2002) and the second that incorporates six representative two-phase capillary pressures in a saturation-weighting scheme. Consistency is ensured for all three two-phase boundary conditions through the application of two-phase data and normalized saturations.
Simulation examples of water-alternating-gas (WAG) injection are presented for water-wet and mixed-wet saturation functions. 1D homogeneous and 2D and 3D heterogeneous examples are employed to demonstrate some model features and performance.