The 'kr2p_gl()' creates a table of two-phase gas and liquid relative permeability data for gas and liquid saturation values between zero and one.

kr2p_gl(SWCON, SOIRG, SORG, SGCON, SGCRIT, KRGCL, KROGCG, NG, NOG, NP)

Arguments

SWCON

connate water saturation, fraction

SOIRG

irreducible oil saturation, fraction

SORG

residual oil saturation, fraction

SGCON

connate gas saturation, fraction

SGCRIT

critical gas saturation, fraction

KRGCL

gas relative permeability at connate liquid

KROGCG

oil relative permeability at connate gas

NG

exponent term for calculating krg

NOG

exponent term for calculating krog

NP

number of saturation points in the table, the maximum acceptable value is 501

Value

A matrix with gas saturation, liquid saturation, gas relative permeability, and oil relative permeability values, respectively

References

Brooks RH, Corey AT (1964). “Hydraulic Properties of Porous Media.” Hydrology Papers, 27. https://mountainscholar.org/bitstream/handle/10217/61288/HydrologyPapers_n3.pdf.

Examples

rel_perm_gl <- kr2p_gl(0.15, 0.1, 0.1, 0.05, 0.05, 0.3, 1, 4, 2.25, 101)