24#ifndef DUMUX_COMPONENTS_CONSTANT_HH
25#define DUMUX_COMPONENTS_CONSTANT_HH
52template<
int id,
class Scalar>
94 static const std::string&
name()
143 return kinematicViscosity *
liquidDensity(temperature, pressure);
181 return kinematicViscosity *
gasDensity(temperature, pressure);
The infrastructure to retrieve run-time parameters from Dune::ParameterTrees.
Interface for components that have a gas state.
Interface for components that have a liquid state.
Interface for components that have a solid state.
T getParamFromGroup(Args &&... args)
A free function to get a parameter from the parameter tree singleton with a model group.
Definition parameters.hh:375
Base class for all components Components provide the thermodynamic relations for the liquid,...
Definition components/base.hh:59
Scalar Scalar
Definition components/base.hh:63
A component which returns run time specified values for all fluid properties.
Definition constant.hh:58
static Scalar solidDensity(Scalar temperature)
The density in of the component at a given pressure in and temperature in .
Definition constant.hh:190
static const std::string & name()
A human readable name for the component.
Definition constant.hh:94
static Scalar solidThermalConductivity(Scalar temperature)
Thermal conductivity of the component as a solid.
Definition constant.hh:200
static Scalar liquidMolarDensity(Scalar temperature, Scalar pressure)
The molar density in at a given pressure and temperature.
Definition constant.hh:128
static constexpr bool gasIsCompressible()
Returns true if the gas phase is assumed to be compressible.
Definition constant.hh:64
static Scalar gasMolarDensity(Scalar temperature, Scalar pressure)
The molar density in at a given pressure and temperature.
Definition constant.hh:165
static Scalar solidHeatCapacity(Scalar temperature)
Specific isobaric heat capacity of the component as a solid.
Definition constant.hh:210
static constexpr bool gasViscosityIsConstant()
Returns true if the gas phase viscosity is constant.
Definition constant.hh:70
static Scalar gasDensity(Scalar temperature, Scalar pressure)
Sets the gas density in .
Definition constant.hh:152
static constexpr bool liquidViscosityIsConstant()
Returns true if the liquid phase viscosity is constant.
Definition constant.hh:88
static constexpr bool gasIsIdeal()
Returns true if the gas phase is assumed to be ideal.
Definition constant.hh:76
static Scalar liquidDensity(Scalar temperature, Scalar pressure)
Sets the liquid density in .
Definition constant.hh:115
static Scalar molarMass()
The mass in of one mole of the component.
Definition constant.hh:103
static constexpr bool liquidIsCompressible()
Returns true if the liquid phase is assumed to be compressible.
Definition constant.hh:82
static Scalar liquidViscosity(Scalar temperature, Scalar pressure)
Sets the liquid dynamic viscosity in .
Definition constant.hh:140
static Scalar gasViscosity(Scalar temperature, Scalar pressure)
Sets the gas dynamic viscosity in .
Definition constant.hh:178
Interface for components that have a gas state.
Definition gas.hh:41
Interface for components that have a liquid state.
Definition liquid.hh:41
Interface for components that have a solid state.
Definition solid.hh:41
Base class for all components Components provide the thermodynamic relations for the liquid,...