25#ifndef DUMUX_COMPONENT_LIQUID_HH
26#define DUMUX_COMPONENT_LIQUID_HH
28#include <dune/common/exceptions.hh>
39template<
class Scalar,
class Component>
46 template<
class C = Component>
56 template<
class C = Component>
59 static_assert(
AlwaysFalse<C>::value,
"Mandatory function not implemented: liquidViscosityIsConstant()");
70 template<
class C = Component>
74 DUNE_THROW(Dune::NotImplemented,
"liquidDensity(t,p)");
84 template<
class C = Component>
88 DUNE_THROW(Dune::NotImplemented,
"Component::liquidMolarDensity(t,p)");
97 template<
class C = Component>
101 DUNE_THROW(Dune::NotImplemented,
"liquidViscosity(t,p)");
110 template<
class C = Component>
114 DUNE_THROW(Dune::NotImplemented,
"liquidEnthalpy(t,p)");
123 template<
class C = Component>
126 static_assert(
AlwaysFalse<C>::value,
"Mandatory function not implemented: liquidInternalEnergy(t,p)");
127 DUNE_THROW(Dune::NotImplemented,
"liquidInternalEnergy(t,p)");
135 template<
class C = Component>
138 static_assert(
AlwaysFalse<C>::value,
"Mandatory function not implemented: liquidThermalConductivity(t,p)");
139 DUNE_THROW(Dune::NotImplemented,
"liquidThermalConductivity(t,p)");
147 template<
class C = Component>
151 DUNE_THROW(Dune::NotImplemented,
"liquidHeatCapacity(t,p)");
std::string temperature() noexcept
I/O name of temperature for equilibrium models.
Definition: name.hh:51
std::string pressure(int phaseIdx) noexcept
I/O name of pressure for multiphase systems.
Definition: name.hh:34
Template which always yields a false value.
Definition: typetraits.hh:37
Interface for components that have a liquid state.
Definition: liquid.hh:41
static constexpr bool liquidViscosityIsConstant()
Returns true if the liquid phase viscostiy is constant.
Definition: liquid.hh:57
static const Scalar liquidInternalEnergy(Scalar temperature, Scalar pressure)
Specific internal energy of pure the pure component in liquid.
Definition: liquid.hh:124
static constexpr bool liquidIsCompressible()
Returns true if the liquid phase is assumed to be compressible.
Definition: liquid.hh:47
static Scalar liquidHeatCapacity(Scalar temperature, Scalar pressure)
Specific isobaric heat capacity of the component as a liquid.
Definition: liquid.hh:148
static Scalar liquidViscosity(Scalar temperature, Scalar pressure)
The dynamic liquid viscosity of the pure component.
Definition: liquid.hh:98
static const Scalar liquidEnthalpy(Scalar temperature, Scalar pressure)
Specific enthalpy of the pure component in liquid.
Definition: liquid.hh:111
static Scalar liquidDensity(Scalar temperature, Scalar pressure)
The density of the liquid component at a given pressure in and temperature in .
Definition: liquid.hh:71
static Scalar liquidThermalConductivity(Scalar temperature, Scalar pressure)
Thermal conductivity of the component as a liquid.
Definition: liquid.hh:136
static Scalar liquidMolarDensity(Scalar temperature, Scalar pressure)
The molar density of the liquid component at a given pressure in and temperature in .
Definition: liquid.hh:85