CapillaryPressureData

petrophys.interpretation.saturation.height.CapillaryPressureData

class CapillaryPressureData(table, system='air_mercury', ift=480.0, theta=140.0)[source]

Plug capillary-pressure curves: a row per measured point.

table has SAMPLE, PC (psi), SW (wetting-phase saturation, v/v), POROSITY (v/v), PERMEABILITY (mD) and, where known, DEPTH. system names the fluids the Pc was measured with ("air_mercury", "air_brine", "oil_brine", "gas_brine"), and ift (dyne/cm) and theta (degrees) their interfacial tension and contact angle.

Attributes

ift

n_samples

The number of plugs.

samples

porosity, permeability (and depth) and its number of points.

system

theta

table

Methods

entry_pressure

Each plug's entry (displacement) pressure, psi, in this data's fluid system: the Thomeer Pd.

leverett_j

The Leverett J-function of every point (Pc, permeability, porosity, sigma cos theta).

plot

The curves, Pc (log) against Sw, coloured by permeability.

thomeer

A Thomeer hyperbola fitted to each plug: Pd (entry pressure, psi, in this data's fluid system), G, BV_INF (% of bulk) and R2, with the plug's porosity and permeability.

to_reservoir

The curves at reservoir conditions: Pc scaled by the ratio of |sigma cos(theta)| of the reservoir fluids (fluids, or ift and theta given) to that of the laboratory fluids.

Parameters:
table: pd.DataFrame
system: str = 'air_mercury'
ift: float = 480.0
theta: float = 140.0
property n_samples: int

The number of plugs.

property samples: pd.DataFrame

porosity, permeability (and depth) and its number of points.

Type:

A row per plug

to_reservoir(fluids='oil_brine', ift=None, theta=None)[source]

The curves at reservoir conditions: Pc scaled by the ratio of |sigma cos(theta)| of the reservoir fluids (fluids, or ift and theta given) to that of the laboratory fluids.

Parameters:
Return type:

CapillaryPressureData

leverett_j()[source]

The Leverett J-function of every point (Pc, permeability, porosity, sigma cos theta).

Return type:

ndarray

thomeer()[source]

A Thomeer hyperbola fitted to each plug: Pd (entry pressure, psi, in this data’s fluid system), G, BV_INF (% of bulk) and R2, with the plug’s porosity and permeability. Plugs that cannot be fitted are left out, and a warning names them.

Return type:

pd.DataFrame

entry_pressure()[source]

Each plug’s entry (displacement) pressure, psi, in this data’s fluid system: the Thomeer Pd.

Return type:

pd.Series

plot(ax=None)[source]

The curves, Pc (log) against Sw, coloured by permeability.

Drawn on ax when given, else on a figure of its own; returns a Plot.

Parameters:

ax (Any)

Return type:

Any