13#ifndef DUMUX_COMPONENT_SOLID_HH
14#define DUMUX_COMPONENT_SOLID_HH
16#include <dune/common/exceptions.hh>
27template<
class Scalar,
class Component>
34 template<
class C = Component>
47 template<
class C = Component>
51 DUNE_THROW(Dune::NotImplemented,
"solidDensity(t)");
58 template<
class C = Component>
61 static_assert(
AlwaysFalse<C>::value,
"Mandatory function not implemented: solidThermalConductivity(t)");
62 DUNE_THROW(Dune::NotImplemented,
"solidThermalConductivity(t)");
69 template<
class C = Component>
73 DUNE_THROW(Dune::NotImplemented,
"solidHeatCapacity(t)");
Interface for components that have a solid state.
Definition: solid.hh:29
static Scalar solidDensity(Scalar temperature)
The density in of the component at a given pressure in and temperature in .
Definition: solid.hh:48
static Scalar solidHeatCapacity(Scalar temperature)
Specific isobaric heat capacity of the component as a solid.
Definition: solid.hh:70
static Scalar solidThermalConductivity(Scalar temperature)
Thermal conductivity of the component as a solid.
Definition: solid.hh:59
static constexpr bool solidIsCompressible()
Returns true if the solid phase is assumed to be compressible.
Definition: solid.hh:35
std::string temperature() noexcept
I/O name of temperature for equilibrium models.
Definition: name.hh:39
Template which always yields a false value.
Definition: common/typetraits/typetraits.hh:24