waxman_smits

petrophys.interpretation.saturation.waxman_smits

waxman_smits(
phi_t,
rt,
rw,
cec,
rho_ma,
b_coeff=None,
m_star=2.0,
n=2.0,
max_iter=10,
tol=1e-6,
)[source]

Waxman-Smits water saturation for shaly sands with CEC data.

Full conductivity form (iterative solution):

Ct = (Sw^n / F*) * (Cw + B * Qv / Sw)

where:

Ct = 1/Rt Cw = 1/Rw F* = phi_t^(-m*) (intrinsic formation factor) Qv = CEC * rho_ma * (1 - phi_t) / phi_t

Solved iteratively:

Sw_{k+1} = [F* * Ct / (Cw + B * Qv / Sw_k)]^(1/n)

starting from the first-order seed Sw_0 = [F* * Ct / (Cw + B*Qv)]^(1/n). Iteration stops when Sw changes by less than tol, or after max_iter iterations.

Note: the first-order approximation (setting Sw=1 in the clay term) under-estimates the clay conductivity (B*Qv instead of B*Qv/Sw), so it leaves too much of Ct to the water term and gives a pessimistically high Sw in hydrocarbon-bearing intervals; the iterative form corrects this.

The equation is that of Waxman and Smits (1968), “Electrical conductivities in oil-bearing shaly sands”, SPE Journal 8(2). Sw is the total-porosity saturation Swt; Swe = 1 - (phi_t / phi_e) * (1 - Swt) puts it on an effective-porosity basis.

Parameters:
  • phi_t (float or np.ndarray) – Total porosity (fraction)

  • rt (float or np.ndarray) – True formation resistivity (ohm.m)

  • rw (float) – Formation water resistivity (ohm.m)

  • cec (float) – Cation exchange capacity (meq/g). Note this is meq per gram, not the meq/100g lab-reporting convention; divide a meq/100g value by 100.

  • rho_ma (float) – Matrix density (g/cc)

  • b_coeff (float, optional) – Equivalent conductance of clay counter-ions B, (S/m)/(meq/cm3), i.e. with Rw in ohm.m and Qv in meq/cm3 of pore volume. Default (None): B = 4.6 * [1 - 0.6 * exp(-0.77 / Rw)] (Waxman and Smits, 1968), the 25 degC relation, about 1.8 in fresh water rising to 4.6 in brine; B increases with temperature (Waxman and Thomas, 1974), so pass a measured or temperature-corrected value when you have one.

  • m_star (float) – Intrinsic cementation exponent from SCAL (default: 2.0)

  • n (float or np.ndarray) – Saturation exponent (default: 2.0); one value, or one per sample

  • max_iter (int) – Maximum iterations (default: 10)

  • tol (float) – Convergence tolerance on Sw (default: 1e-6)

Returns:

Water saturation Sw (fraction, clipped 0-1); NaN where Rt or an Rw array is at or below zero.

Return type:

float or np.ndarray

Raises:

ValueError – If a scalar rw is at or below zero.