27#ifndef OPM_GAS_PHASE_HPP
28#define OPM_GAS_PHASE_HPP
38template <
class Scalar,
class ComponentT>
50 static std::string_view
name()
107 template <
class Evaluation>
116 template <
class Evaluation>
126 template <
class Evaluation>
128 {
return Component::gasPressure(temperature,
density); }
135 template <
class Evaluation>
144 template <
class Evaluation>
153 template <
class Evaluation>
162 template <
class Evaluation>
171 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 bool gasIsCompressible()
Returns true iff the gas phase is assumed to be compressible.
Definition Component.hpp:69
static Evaluation gasThermalConductivity(const Evaluation &, const Evaluation &)
Thermal conductivity of the component [W/(m^2 K/m)] as a gas.
Definition Component.hpp:228
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 Scalar criticalTemperature()
Returns the critical temperature in of the component.
Definition Component.hpp:99
static Evaluation gasHeatCapacity(const Evaluation &, const Evaluation &)
Specific isobaric heat capacity of the component [J/kg] as a gas.
Definition Component.hpp:242
static Evaluation gasInternalEnergy(const Evaluation &, const Evaluation &)
Specific internal energy of the pure component in gas.
Definition Component.hpp:190
static Evaluation gasEnthalpy(const Evaluation &, const Evaluation &)
Specific enthalpy of the pure component in gas.
Definition Component.hpp:170
static Evaluation vaporPressure(const Evaluation &)
The vapor pressure in of the component at a given temperature in .
Definition Component.hpp:140
static Scalar triplePressure()
Returns the pressure in at the component's triple point.
Definition Component.hpp:130
static bool gasIsIdeal()
Returns true iff the gas phase is assumed to be ideal.
Definition Component.hpp:75
static Evaluation gasViscosity(const Evaluation &, const Evaluation &)
The dynamic viscosity of the pure component at a given pressure in and temperature in .
Definition Component.hpp:211
static Evaluation gasDensity(const Evaluation &, const Evaluation &)
The density in of the component at a given pressure in and temperature in .
Definition Component.hpp:150
Represents the gas phase of a single (pseudo-) component.
Definition GasPhase.hpp:40
static bool isIdealGas()
Returns true iff the fluid is assumed to be an ideal gas.
Definition GasPhase.hpp:68
static Evaluation heatCapacity(const Evaluation &temperature, const Evaluation &pressure)
Specific isobaric heat capacity of the fluid [J/kg].
Definition GasPhase.hpp:172
static Scalar triplePressure()
Returns the pressure at the component's triple point.
Definition GasPhase.hpp:98
static Evaluation thermalConductivity(const Evaluation &temperature, const Evaluation &pressure)
Thermal conductivity of the fluid [W/(m^2 K/m)].
Definition GasPhase.hpp:163
static Scalar criticalTemperature()
Returns the critical temperature of the component.
Definition GasPhase.hpp:80
static std::string_view name()
A human readable name for the component.
Definition GasPhase.hpp:50
static Evaluation pressure(const Evaluation &temperature, const Evaluation &density)
The pressure [Pa] of the component at a given density and temperature.
Definition GasPhase.hpp:127
static Evaluation internalEnergy(const Evaluation &temperature, const Evaluation &pressure)
Specific internal energy [J/kg] the pure component as a gas.
Definition GasPhase.hpp:145
static bool isLiquid()
Returs whether the fluid is a liquid.
Definition GasPhase.hpp:56
static Scalar molarMass()
The mass in [kg] of one mole of the component.
Definition GasPhase.hpp:74
static Scalar tripleTemperature()
Returns the temperature at the component's triple point.
Definition GasPhase.hpp:92
static Evaluation vaporPressure(const Evaluation &temperature)
The vapor pressure in [N/m^2] of the component at a given temperature.
Definition GasPhase.hpp:108
static bool isCompressible()
Returns true iff the fluid is assumed to be compressible.
Definition GasPhase.hpp:62
static Evaluation enthalpy(const Evaluation &temperature, const Evaluation &pressure)
Specific enthalpy [J/kg] the pure component as a gas.
Definition GasPhase.hpp:136
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 GasPhase.hpp:154
ComponentT Component
The type of the phase's underlying (pseudo-) component.
Definition GasPhase.hpp:45
static Scalar criticalPressure()
Returns the critical pressure of the component.
Definition GasPhase.hpp:86
static Evaluation density(const Evaluation &temperature, const Evaluation &pressure)
The density [kg/m^3] of the component at a given pressure and temperature.
Definition GasPhase.hpp:117
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition Exceptions.hpp:30