Learn R Programming

Rrelperm (version 0.1.0)

kr2p_gl: Generate a matrix of two-phase relative permeability data for the gas-liquid system using the modified Brooks-Corey model

Description

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.

Usage

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

Brooks1964Rrelperm

Examples

Run this code
# NOT RUN {
rel_perm_gl <- kr2p_gl(0.15, 0.1, 0.1, 0.05, 0.05, 0.3, 1, 4, 2.25, 101)

# }

Run the code above in your browser using DataLab