5.1.2.2. gemini_model.fluid.pvt_sim
Tabulated PVT (PVTsim .tab) loader and interpolator.
Reads PVT tables exported from PVTsim (KEY format) and provides 2D interpolators over pressure and temperature for common properties.
Classes
|
PVT table model with interpolation over P and T. |
- class gemini_model.fluid.pvt_sim.PVT[source]
Bases:
objectPVT table model with interpolation over P and T.
Initialize PVT simulation model.
- get_pvt(P, T)[source]
Interpolate PVT properties at pressure P (Pa) and temperature T (K).
- Parameters:
P (float) – Pressure (Pa).
T (float) – Temperature (K).
- Returns:
rho_g (float) – Gas density (kg/m3).
rho_l (float) – Liquid density (kg/m3).
gmf (float) – Gas mass fraction (-).
eta_g (float) – Viscosity gas (Pa.s).
eta_l (float) – Viscosity liquid (Pa.s).
cp_g (float) – Heat capacity gas (J/Kg/K).
cp_l (float) – Heat capacity liquid (J/Kg/K).
K_g (float) – Thermal conductivity gas (W/m/K).
K_l (float) – Thermal conductivity liquid (W/m/K).
sigma (float) – Surface tension (N/m).