13#ifndef DUMUX_COMPONENT_LIQUID_HH 
   14#define DUMUX_COMPONENT_LIQUID_HH 
   16#include <dune/common/exceptions.hh> 
   26template<
class Scalar, 
class Component>
 
   33    template<
class C = Component>
 
   43    template<
class C = Component>
 
   46        static_assert(
AlwaysFalse<C>::value, 
"Mandatory function not implemented: liquidViscosityIsConstant()");
 
 
   57    template<
class C = Component>
 
   61        DUNE_THROW(Dune::NotImplemented, 
"liquidDensity(t,p)");
 
 
   71    template<
class C = Component>
 
   75        DUNE_THROW(Dune::NotImplemented, 
"Component::liquidMolarDensity(t,p)");
 
 
   84    template<
class C = Component>
 
   88        DUNE_THROW(Dune::NotImplemented, 
"liquidViscosity(t,p)");
 
 
   97    template<
class C = Component>
 
  101        DUNE_THROW(Dune::NotImplemented, 
"liquidEnthalpy(t,p)");
 
 
  110    template<
class C = Component>
 
  113        static_assert(
AlwaysFalse<C>::value, 
"Mandatory function not implemented: liquidInternalEnergy(t,p)");
 
  114        DUNE_THROW(Dune::NotImplemented, 
"liquidInternalEnergy(t,p)");
 
 
  122    template<
class C = Component>
 
  125        static_assert(
AlwaysFalse<C>::value, 
"Mandatory function not implemented: liquidThermalConductivity(t,p)");
 
  126        DUNE_THROW(Dune::NotImplemented, 
"liquidThermalConductivity(t,p)");
 
 
  134    template<
class C = Component>
 
  138        DUNE_THROW(Dune::NotImplemented, 
"liquidHeatCapacity(t,p)");
 
 
 
Interface for components that have a liquid state.
Definition liquid.hh:28
static constexpr bool liquidViscosityIsConstant()
Returns true if the liquid phase viscostiy is constant.
Definition liquid.hh:44
static const Scalar liquidInternalEnergy(Scalar temperature, Scalar pressure)
Specific internal energy  of pure the pure component in liquid.
Definition liquid.hh:111
static constexpr bool liquidIsCompressible()
Returns true if the liquid phase is assumed to be compressible.
Definition liquid.hh:34
static Scalar liquidHeatCapacity(Scalar temperature, Scalar pressure)
Specific isobaric heat capacity of the component  as a liquid.
Definition liquid.hh:135
static Scalar liquidViscosity(Scalar temperature, Scalar pressure)
The dynamic liquid viscosity  of the pure component.
Definition liquid.hh:85
static const Scalar liquidEnthalpy(Scalar temperature, Scalar pressure)
Specific enthalpy  of the pure component in liquid.
Definition liquid.hh:98
static Scalar liquidDensity(Scalar temperature, Scalar pressure)
The density  of the liquid component at a given pressure in  and temperature in .
Definition liquid.hh:58
static Scalar liquidThermalConductivity(Scalar temperature, Scalar pressure)
Thermal conductivity of the component  as a liquid.
Definition liquid.hh:123
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:72
Template which always yields a false value.
Definition common/typetraits/typetraits.hh:24