20 #ifndef OPM_BLACKOILCOMPONENT_HEADER_INCLUDED
21 #define OPM_BLACKOILCOMPONENT_HEADER_INCLUDED
24 #include <dune/common/stdstreams.hh>
38 template <
class Scalar>
47 return "BlackoilComponent";
54 { DUNE_THROW(Dune::NotImplemented,
"Component::molarMass()"); }
60 { DUNE_THROW(Dune::NotImplemented,
"Component::criticalTemperature()"); }
66 { DUNE_THROW(Dune::NotImplemented,
"Component::criticalPressure()"); }
72 { DUNE_THROW(Dune::NotImplemented,
"Component::tripleTemperature()"); }
78 { DUNE_THROW(Dune::NotImplemented,
"Component::triplePressure()"); }
87 { DUNE_THROW(Dune::NotImplemented,
"Component::vaporPressure()"); }
95 static Scalar
gasDensity(Scalar temperature, Scalar pressure)
96 { DUNE_THROW(Dune::NotImplemented,
"Component::density()"); }
105 { DUNE_THROW(Dune::NotImplemented,
"Component::density()"); }
113 static const Scalar
gasEnthalpy(Scalar temperature, Scalar pressure)
114 { DUNE_THROW(Dune::NotImplemented,
"Component::gasEnthalpy()"); }
123 { DUNE_THROW(Dune::NotImplemented,
"Component::liquidEnthalpy()"); }
132 { DUNE_THROW(Dune::NotImplemented,
"Component::gasInternalEnergy()"); }
141 { DUNE_THROW(Dune::NotImplemented,
"Component::liquidInternalEnergy()"); }
150 { DUNE_THROW(Dune::NotImplemented,
"Component::gasViscosity()"); }
159 { DUNE_THROW(Dune::NotImplemented,
"Component::liquidViscosity()"); }
165 #endif // OPM_BLACKOILCOMPONENT_HEADER_INCLUDED
static const Scalar liquidInternalEnergy(Scalar temperature, Scalar pressure)
Specific internal energy [J/kg] of pure the pure component in liquid.
Definition: BlackoilComponent.hpp:140
static Scalar vaporPressure(Scalar T)
The vapor pressure in [Pa] of the component at a given temperature in [K].
Definition: BlackoilComponent.hpp:86
static Scalar criticalTemperature()
Returns the critical temperature in [K] of the component.
Definition: BlackoilComponent.hpp:59
static Scalar liquidDensity(Scalar temperature, Scalar pressure)
The density [kg/m^3] of the liquid component at a given pressure in [Pa] and temperature in [K]...
Definition: BlackoilComponent.hpp:104
static const Scalar gasEnthalpy(Scalar temperature, Scalar pressure)
Specific enthalpy [J/kg] of the pure component in gas.
Definition: BlackoilComponent.hpp:113
static Scalar tripleTemperature()
Returns the temperature in [K] at the component's triple point.
Definition: BlackoilComponent.hpp:71
static const Scalar liquidEnthalpy(Scalar temperature, Scalar pressure)
Specific enthalpy [J/kg] of the pure component in liquid.
Definition: BlackoilComponent.hpp:122
static Scalar triplePressure()
Returns the pressure in [Pa] at the component's triple point.
Definition: BlackoilComponent.hpp:77
static Scalar criticalPressure()
Returns the critical pressure in [Pa] of the component.
Definition: BlackoilComponent.hpp:65
static const char * name()
A human readable name for the component.
Definition: BlackoilComponent.hpp:45
static Scalar liquidViscosity(Scalar temperature, Scalar pressure)
The dynamic liquid viscosity [Pa*s] of the pure component.
Definition: BlackoilComponent.hpp:158
static Scalar gasViscosity(Scalar temperature, Scalar pressure)
The dynamic viscosity [Pa*s] of the pure component at a given pressure in [Pa] and temperature in [K]...
Definition: BlackoilComponent.hpp:149
A component class for the black oil model, intended to be used for all three components.
Definition: BlackoilComponent.hpp:39
static const Scalar gasInternalEnergy(Scalar temperature, Scalar pressure)
Specific internal energy [J/kg] of the pure component in gas.
Definition: BlackoilComponent.hpp:131
static Scalar molarMass()
The molar mass in [kg] of the component.
Definition: BlackoilComponent.hpp:53
static Scalar gasDensity(Scalar temperature, Scalar pressure)
The density in [kg/m^3] of the component at a given pressure in [Pa] and temperature in [K]...
Definition: BlackoilComponent.hpp:95