27#ifndef OPM_LIQUID_PHASE_HPP
28#define OPM_LIQUID_PHASE_HPP
38template <
class Scalar,
class ComponentT>
46 static std::string_view
name()
82 template <
class Evaluation>
87 template <
class Evaluation>
88 static Evaluation
density(
const Evaluation& temperature,
const Evaluation&
pressure)
92 template <
class Evaluation>
93 static Evaluation
pressure(
const Evaluation& temperature,
const Evaluation&
density)
94 {
return Component::liquidPressure(temperature,
density); }
97 template <
class Evaluation>
98 static const Evaluation
enthalpy(
const Evaluation& temperature,
const Evaluation&
pressure)
102 template <
class Evaluation>
107 template <
class Evaluation>
112 template <
class Evaluation>
117 template <
class Evaluation>
static std::string_view name()
A human readable name for the component.
Definition Component.hpp:87
static Scalar tripleTemperature()
Returns the temperature in at the component's triple point.
Definition Component.hpp:124
static Scalar molarMass()
The molar mass in of the component.
Definition Component.hpp:93
static Scalar criticalPressure()
Returns the critical pressure in of the component.
Definition Component.hpp:105
static Evaluation liquidHeatCapacity(const Evaluation &, const Evaluation &)
Specific isobaric heat capacity of the component [J/kg] as a liquid.
Definition Component.hpp:249
static Evaluation liquidThermalConductivity(const Evaluation &, const Evaluation &)
Thermal conductivity of the component [W/(m^2 K/m)] as a liquid.
Definition Component.hpp:235
static Scalar criticalTemperature()
Returns the critical temperature in of the component.
Definition Component.hpp:99
static Evaluation liquidViscosity(const Evaluation &, const Evaluation &)
The dynamic liquid viscosity of the pure component.
Definition Component.hpp:221
static Evaluation vaporPressure(const Evaluation &)
The vapor pressure in of the component at a given temperature in .
Definition Component.hpp:140
static bool liquidIsCompressible()
Returns true iff the liquid phase is assumed to be compressible.
Definition Component.hpp:81
static Evaluation liquidDensity(const Evaluation &, const Evaluation &)
The density of the liquid component at a given pressure in and temperature in .
Definition Component.hpp:160
static Scalar triplePressure()
Returns the pressure in at the component's triple point.
Definition Component.hpp:130
static Evaluation liquidEnthalpy(const Evaluation &, const Evaluation &)
Specific enthalpy of the pure component in liquid.
Definition Component.hpp:180
static Evaluation liquidInternalEnergy(const Evaluation &, const Evaluation &)
Specific internal energy of pure the pure component in liquid.
Definition Component.hpp:200
Represents the liquid phase of a single (pseudo-) component.
Definition LiquidPhase.hpp:40
static Scalar criticalTemperature()
Returns the critical temperature of the component.
Definition LiquidPhase.hpp:66
static Evaluation vaporPressure(const Evaluation &temperature)
The vapor pressure in [N/m^2] of the component at a given temperature.
Definition LiquidPhase.hpp:83
static const Evaluation internalEnergy(const Evaluation &temperature, const Evaluation &pressure)
Specific internal energy [J/kg] the pure component as a gas.
Definition LiquidPhase.hpp:103
static Evaluation viscosity(const Evaluation &temperature, const Evaluation &pressure)
The dynamic viscosity [Pa s] of the pure component at a given pressure and temperature.
Definition LiquidPhase.hpp:108
static Scalar criticalPressure()
Returns the critical pressure of the component.
Definition LiquidPhase.hpp:70
static Scalar tripleTemperature()
Returns the temperature at the component's triple point.
Definition LiquidPhase.hpp:74
ComponentT Component
The type of the phase's underlying (pseudo-) component.
Definition LiquidPhase.hpp:43
static std::string_view name()
A human readable name for the component.
Definition LiquidPhase.hpp:46
static Scalar molarMass()
The mass in [kg] of one mole of the component.
Definition LiquidPhase.hpp:62
static Evaluation density(const Evaluation &temperature, const Evaluation &pressure)
The density [kg/m^3] of the component at a given pressure and temperature.
Definition LiquidPhase.hpp:88
static Scalar triplePressure()
Returns the pressure at the component's triple point.
Definition LiquidPhase.hpp:78
static const Evaluation enthalpy(const Evaluation &temperature, const Evaluation &pressure)
Specific enthalpy [J/kg] the pure component as a gas.
Definition LiquidPhase.hpp:98
static bool isIdealGas()
Returns true iff the fluid is assumed to be an ideal gas.
Definition LiquidPhase.hpp:58
static Evaluation thermalConductivity(const Evaluation &temperature, const Evaluation &pressure)
Thermal conductivity of the fluid [W/(m^2 K/m)].
Definition LiquidPhase.hpp:113
static Evaluation heatCapacity(const Evaluation &temperature, const Evaluation &pressure)
Specific isobaric heat capacity of the fluid [J/kg].
Definition LiquidPhase.hpp:118
static bool isLiquid()
Returs whether the fluid is a liquid.
Definition LiquidPhase.hpp:50
static Evaluation pressure(const Evaluation &temperature, const Evaluation &density)
The pressure [Pa] of the component at a given density and temperature.
Definition LiquidPhase.hpp:93
static bool isCompressible()
Returns true iff the fluid is assumed to be compressible.
Definition LiquidPhase.hpp:54
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition Exceptions.hpp:30