Scale a core plug's capillary pressure and read the transition zone
A Brooks–Corey capillary pressure curve from a 100 mD core plug, carried to a 500 mD field rock by the Leverett J-function and turned into a saturation-height profile above the free water level, with the Big Butte table of Ahmed's Example 4-5 as a check.
- UC-SCAL-011
- UC-SCAL-012
- UC-SCAL-013
Engineering use cases UC-SCAL-011 (Generate Capillary Pressure Curves), UC-SCAL-012 (Scale Pc Between Reservoirs) and UC-SCAL-013 (Calculate Transition Zone Height).
Brooks–Corey is Pc = Pd Se^(−1/λ), with Se = (Sw − Swi) / (1 − Swi). The Leverett J-function, J = Pc √(k/φ) / (σ cos θ), is the same for rocks of one type, so a curve moves to other rock by Pc2 = Pc1 √((k1/φ1) / (k2/φ2)). The height above the free water level is h = 144 Pc / Δρ, in feet with Pc in psi and the densities in lb/ft³.
What an engineer learns from it: the first point of the plug's curve, Sw 0.21, is 5 / √0.0125 = 44.72 psi. The field rock has five times the permeability and a quarter more porosity, so its capillary pressure is half the plug's (√(500/2000)), and every height halves with it: the oil-water contact sits 35.0 ft above the free water level on the plug's curve and 17.5 ft on the field's, and Sw 0.30 is reached at 98.9 ft and 49.4 ft. The plug's curve used unscaled would make the transition zone twice as thick as it is. Ahmed's Big Butte table gives the contact at 144 × 1.5 / 20.6 = 10.5 ft and Sw 0.50 at 24.5 ft, as his Example 4-5 prints.
Units: psi, ft, lb/ft³, mD, fraction, dyne/cm. The contact is 144 Pd / Δρ above the free water level, not at it; a height read from the contact is short by that much, and nothing in the numbers shows it.
Source
using System;
using System.Linq;
using Team76.Engineering.Core.Measures;
using Team76.Engineering.SCAL.CapillaryPressure;
public class S : ICalcScript
{
public ScriptResult Run(ICalcContext ctx)
{
// A core plug: k 100 mD, porosity 0.20, a Brooks-Corey fit with Swi 0.20, entry pressure 5 psi and lambda 2.
// The field rock: k 500 mD, porosity 0.25. Brine 64.1 and oil 43.5 lb/ft3 at reservoir conditions.
var water = Density.FromLbPerFt3(64.1);
var oil = Density.FromLbPerFt3(43.5);
var plug = new BrooksCoreyCapPress(Swi: 0.20, Pd: 5.0, Lambda: 2.0);
// Leverett J carries the plug's curve to the field rock: Pc2 = Pc1 sqrt((k1/phi1) / (k2/phi2)).
var jPlug = new LeverettJFunction(K: 100, Phi: 0.20, Sigma: 30, CosTheta: 1.0);
var jField = new LeverettJFunction(K: 500, Phi: 0.25, Sigma: 30, CosTheta: 1.0);
double scale = jField.Pc(jPlug.J(1.0));
var field = new BrooksCoreyCapPress(Swi: 0.20, Pd: 5.0 * scale, Lambda: 2.0);
// Height above the free water level, h = 144 Pc / (rho_w - rho_o).
var plugProfile = new SaturationHeight(plug, water, oil);
var fieldProfile = new SaturationHeight(field, water, oil);
// Ahmed (2010), Example 4-5: the Big Butte table, its contact and its half-saturation height.
var bigButte = new SaturationHeight(new CapillaryPressureTable(sw: [1.0, 0.5, 0.2], pc: [1.5, 3.5, 6.0]), water, oil);
var sw = Enumerable.Range(0, 17).Select(i => 0.22 + i * 0.04875).ToArray();
var chart = new ScriptChart(
[
new ScriptSeries("Core plug, 100 mD", sw, sw.Select(s => plugProfile.Height(s) ?? double.NaN).ToArray()),
new ScriptSeries("Field rock, 500 mD", sw, sw.Select(s => fieldProfile.Height(s) ?? double.NaN).ToArray()),
],
title: "Saturation-height above the free water level", xLabel: "Sw (fraction)", yLabel: "Height above FWL (ft)");
var rows = new[] { 20.0, 30, 40, 60, 80, 120 }
.Select(h => new object[] { h, Math.Round(plugProfile.Saturation(h), 3), Math.Round(fieldProfile.Saturation(h), 3) })
.ToList();
return ctx.Result()
.Set("Saturation-height", chart)
.Set("Saturation by height", new ScriptTable(["Height above FWL (ft)", "Sw, core plug", "Sw, field rock"], rows))
.Set("Pc at Sw 0.21, core plug (psi)", Math.Round(plug.Pc(0.21), 2))
.Set("Pc scale, field over plug", Math.Round(scale, 3))
.Set("Contact above FWL, core plug (ft)", Math.Round(plugProfile.Height(1.0).Value, 1))
.Set("Contact above FWL, field rock (ft)", Math.Round(fieldProfile.Height(1.0).Value, 1))
.Set("Height of Sw 0.30, core plug (ft)", Math.Round(plugProfile.Height(0.30).Value, 1))
.Set("Height of Sw 0.30, field rock (ft)", Math.Round(fieldProfile.Height(0.30).Value, 1))
.Set("Big Butte contact above FWL (ft)", Math.Round(bigButte.Height(1.0).Value, 1))
.Set("Big Butte height of Sw 0.50 (ft)", Math.Round(bigButte.Height(0.5).Value, 1));
}
}