porepy.params.fluid module

Hard coded typical parameters that may be of use in simulations.

Contains standard values (e.g. found in Wikipedia) for density, thermal properties etc.

Note that thermal expansion coefficients are linear (m/mK) for rocks, but volumetric (m^3/m^3K) for fluids.

class UnitFluid(theta_ref=None)[source]

Bases: object

Mother of all fluids, with properties equal 1.

Parameters

theta_ref (Optional[float]) –

COMPRESSIBILITY

fluid compressibility

BULK

bulk modulus

density(theta=None)[source]

Returns fluid density with unit: kg / m^3.

Parameters

theta (float) – temperature in Celsius.

Returns

density

Return type

float

dynamic_viscosity(theta=None)[source]

Returns dynamic viscosity with unit: Pa s.

Parameters

theta (float, optional) – temperature in Celsius

Returns

dynamic viscosity

Return type

float

hydrostatic_pressure(depth, theta=None)[source]

Returns hydrostatic pressure in Pa.

Parameters
  • depth (float) – depth in meters

  • theta (float) – temperature in Celsius

Returns

hydrostatic pressure

Return type

float

specific_heat_capacity(theta=None)[source]

Returns specific heat capacity with units: J / kg K.

Parameters

theta (float, optional) – temperature in Celsius

Returns

specific heat capacity

Return type

float

thermal_conductivity(theta=None)[source]

Returns thermal conductivity with unit : W / m K.

Parameters

theta (float, optional) – temperature in Celsius

Returns

thermal conductivity

Return type

float

thermal_expansion(delta_theta)[source]

Returns thermal expansion with unit m^3 / m^3 K, i.e. volumetric.

Parameters

delta_theta (float) – temperature increment in Celsius.

Returns

thermal expansion

Return type

float

class Water(theta_ref=None)[source]

Bases: UnitFluid

density(theta=None)[source]

Returns fluid density with unit: kg / m^3.

Parameters

theta (float) – temperature in Celsius.

Returns

density

Return type

float

dynamic_viscosity(theta=None)[source]

Returns dynamic viscosity with unit: Pa s.

Parameters

theta (float, optional) – temperature in Celsius

Returns

dynamic viscosity

Return type

float

hydrostatic_pressure(depth, theta=None)[source]

Returns hydrostatic pressure in Pa.

Parameters
  • depth (float) – depth in meters

  • theta (float) – temperature in Celsius

Returns

hydrostatic pressure

Return type

float

specific_heat_capacity(theta=None)[source]

Returns specific heat capacity with units: J / kg K.

Parameters

theta (float, optional) – temperature in Celsius

Returns

specific heat capacity

Return type

float

thermal_conductivity(theta=None)[source]

Returns thermal conductivity with unit : W / m K.

Parameters

theta (float, optional) – temperature in Celsius

Returns

thermal conductivity

Return type

float

thermal_expansion(delta_theta)[source]

Returns thermal expansion with unit m^3 / m^3 K, i.e. volumetric.

Parameters

delta_theta (float) – temperature increment in Celsius.

Returns

thermal expansion

Return type

float