26#pragma GCC diagnostic push
27#pragma GCC diagnostic ignored "-Woverloaded-virtual"
29 virtual std::string
fluidName()
const override;
32 using SinglePhaseFluidProperties::rho_from_p_T;
35 rho_from_p_T(Real
p, Real
T, Real &
rho, Real & drho_dp, Real & drho_dT)
const override;
37 using SinglePhaseFluidProperties::mu_from_p_T;
39 virtual void mu_from_p_T(Real
p, Real
T, Real &
mu, Real & dmu_dp, Real & dmu_dT)
const override;
41 using SinglePhaseFluidProperties::e_from_p_T;
43 virtual void e_from_p_T(Real
p, Real
T, Real & e, Real & de_dp, Real & de_dT)
const override;
45 using SinglePhaseFluidProperties::h_from_p_T;
47 virtual void h_from_p_T(Real
p, Real
T, Real &
h, Real & dh_dp, Real & dh_dT)
const override;
49#pragma GCC diagnostic pop
65 const std::vector<Real>
_p;
const InputParameters & parameters() const
Common class for single phase fluid properties.
e e e e s T T T T T rho T
e e e e s T T T T T rho v v T e h
Fluid properties from a table of pressure, formation volume factor and viscosity (PVDO/PVDG style)
OOBBehavior
Property evaluation behavior outside the tabulated pressure range (as in TabulatedFluidProperties).
static InputParameters validParams()
virtual std::string fluidName() const override
Fluid name.
LinearInterpolation _inv_B_mu_table
Interpolation of the reciprocal of the product of formation volume factor and viscosity,...
virtual Real e_from_p_T(Real p, Real T) const override
const Real _density_sc
Density at standard (surface) conditions (kg/m^3)
const OOBBehavior _OOBBehavior
virtual Real rho_from_p_T(Real p, Real T) const override
virtual Real molarMass() const override
Molar mass [kg/mol].
LinearInterpolation _inv_B_table
Interpolation of the reciprocal of the formation volume factor, 1/B, in pressure.
const Real _cv
Constant specific heat capacity at constant volume (J/kg/K)
virtual Real h_from_p_T(Real p, Real T) const override
const std::vector< Real > _p
Tabulated pressures (Pa), strictly increasing.
void interpolate(Real p, const LinearInterpolation &table, Real &value, Real &dvalue_dp) const
Interpolate a tabulated quantity in pressure, applying the out-of-bounds behavior.
virtual Real mu_from_p_T(Real p, Real T) const override