Lower the residual oil with a surfactant slug

The capillary number of a waterflood and of a Winsor III microemulsion slug, the slug's interfacial tension from its solubilization ratio by Huh, and the residual oil each leaves on the capillary desaturation curve.

Open in the workbench

Engineering use cases UC-CHEM-001 (Estimate Huh IFT vs solubilization ratio), UC-CHEM-002 (Compute Taber capillary number) and UC-CHEM-003 (Read Sor from the class CDC).

The capillary number is Taber's Nc = μ v / σ, viscous over capillary forces. Huh (1979) relates a microemulsion's interfacial tension to its solubilization ratio, σ = C / N², with C = 0.3 dyne/cm as UTCHEM and Sheng (2011) restate it. The capillary desaturation curve is the Stegemeier and Lake class curve: residual oil stays at its waterflood value up to Nc = 10⁻⁵ and falls log-linearly to the miscible value at 10⁻².

What an engineer learns from it: brine of 0.5 cP at 1 ft/d against a 30 dyne/cm oil gives Nc = 5.9 × 10⁻⁸, two decades below the onset, so the waterflood leaves its full Sorw of 0.30, however fast it is pushed. A surfactant slug that solubilises 10 volumes of oil per volume of surfactant drops the tension to 0.3 / 10² = 0.003 dyne/cm, ten thousand times lower, and Nc to 5.9 × 10⁻⁴; the residual falls to 0.30 × (1 − log10(59) / 3) = 0.123, so 0.18 of the pore volume becomes mobile. Velocity cannot do this: the capillary number has to rise by four decades, and only the tension can move that far.

Units: cP, ft/d (converted to m/s), dyne/cm; Nc is dimensionless when μ is in cP, v in m/s and σ in dyne/cm, the Core storage units. The class curve is for water-wet sandstone; fit it to a coreflood before design, and the slug has to keep its low tension against adsorption and dilution, which this entry does not model.

Source

using System;
using System.Linq;
using Team76.Engineering.Core.Measures;
using Team76.Engineering.EoR.Chemical;

public class S : ICalcScript
{
    public ScriptResult Run(ICalcContext ctx)
    {
        // Brine of 0.5 cP moving at 1 ft/d through a water-wet sandstone that a waterflood leaves at Sorw 0.30.
        var brine = Viscosity.FromCP(0.5);
        var velocity = Velocity.FromFtPerS(1.0 / 86400);
        double sorw = 0.30;

        // The waterflood: oil-brine IFT 30 dyne/cm.
        double ncWater = CapillaryNumber.FromDarcy(brine, velocity, InterfacialTension.FromDynesPerCm(30));

        // A Winsor III microemulsion with a solubilization ratio of 10: Huh's sigma = C / N^2.
        var ift = MicroemulsionIft.ByHuh1979(solubilizationRatio: 10);
        double ncSlug = CapillaryNumber.FromDarcy(brine, velocity, ift);

        // The capillary desaturation curve: Sor falls log-linearly from Nc 1e-5 to 1e-2.
        double sorWater = ResidualOilSaturation.ByStegemeier(ncWater, sorw);
        double sorSlug = ResidualOilSaturation.ByStegemeier(ncSlug, sorw);

        var exponents = Enumerable.Range(0, 37).Select(i => -8 + i * 0.2).ToArray();
        var nc = exponents.Select(e => Math.Pow(10, e)).ToArray();
        var cdc = new ScriptChart(
            [new ScriptSeries("Sor", nc, nc.Select(n => ResidualOilSaturation.ByStegemeier(n, sorw)).ToArray())],
            title: "Capillary desaturation curve", xLabel: "Capillary number", yLabel: "Residual oil (fraction)", xLog: true);

        var rows = new[] { 2.0, 5, 10, 15, 20 }
            .Select(n =>
            {
                var sigma = MicroemulsionIft.ByHuh1979(n);
                var c = CapillaryNumber.FromDarcy(brine, velocity, sigma);
                return new object[] { n, Math.Round(sigma.DynesPerCm, 5), c.ToString("0.0E+0", System.Globalization.CultureInfo.InvariantCulture), Math.Round(ResidualOilSaturation.ByStegemeier(c, sorw), 3) };
            })
            .ToList();

        return ctx.Result()
            .Set("Capillary desaturation", cdc)
            .Set("By solubilization ratio", new ScriptTable(["Solubilization ratio", "IFT (dyne/cm)", "Capillary number", "Sor"], rows))
            .Set("Waterflood capillary number", ncWater.ToString("0.00E+0", System.Globalization.CultureInfo.InvariantCulture))
            .Set("Microemulsion IFT (dyne/cm)", Math.Round(ift.DynesPerCm, 4))
            .Set("Slug capillary number", ncSlug.ToString("0.00E+0", System.Globalization.CultureInfo.InvariantCulture))
            .Set("Sor after the waterflood", Math.Round(sorWater, 3))
            .Set("Sor after the slug", Math.Round(sorSlug, 3))
            .Set("Oil mobilised (fraction of pore volume)", Math.Round(sorWater - sorSlug, 3));
    }
}