pywellgeo.well_data
pywellgeo.well_data.water_properties
WaterProperties
This module contains functions to calculate various properties of water, such as viscosity, heat capacity, and density, based on temperature, pressure, and salinity.
Functions
viscosity(T, S) Calculate water viscosity based on temperature and salinity.
viscosityKestin(P, T, S) Calculate water viscosity based on pressure, temperature, and salinity using Kestin's correlation.
heatcapacity(T, S) Calculate water heat capacity based on temperature and salinity.
density(P, T, S) Calculate water density based on pressure, temperature, and salinity.
getWellPres(depth, T, S) Calculate the bottom hole well pressure based on depth, temperature, and salinity.
viscosity
Calculate water viscosity.
Parameters
T : float Reservoir temperature in degrees Celsius. S : float Salinity in ppm * 1e-6.
Returns
float Viscosity in Pa s.
viscosityKestin
Calculate water viscosity using Kestin's correlation.
Parameters
P : float Pressure in Pascal. T : float Reservoir temperature in degrees Celsius. S : float Salinity in ppm * 1e-6.
Returns
float Viscosity in Pa s.
heatcapacity
Calculate water heat capacity.
Parameters
T : float Reservoir temperature in degrees Celsius. S : float Salinity in ppm * 1e-6.
Returns
float Heat capacity in J kg-1 K-1.
density
Calculate water density.
Parameters
P : float Reservoir pressure in Pascal. T : float Reservoir temperature in degrees Celsius. S : float Salinity in ppm * 1e-6.
Returns
float Density in kg m-3.