12#ifndef DUMUX_BINARY_COEFF_H2O_CONSTANT_HH
13#define DUMUX_BINARY_COEFF_H2O_CONSTANT_HH
15#include <dune/common/exceptions.hh>
28template<
class Scalar,
class Component>
33 DUNE_THROW(Dune::NotImplemented,
"The binary coefficients for H2O and your "
34 <<
"component are not implemented! Please implement the needed specialization.");
42template<
class Scalar,
int id>
53 static const Scalar h = getParamFromGroup<Scalar>(std::to_string(
id),
"Component.HenryComponentInWater", 1.0);
64 static const Scalar h = getParamFromGroup<Scalar>(std::to_string(
id),
"Component.HenryWaterInComponent", 1.0);
76 static const Scalar D = getParamFromGroup<Scalar>(std::to_string(
id),
"Component.GasDiffusionCoefficient", 1.0);
87 static const Scalar D = getParamFromGroup<Scalar>(std::to_string(
id),
"Component.LiquidDiffusionCoefficient", 1.0);
static Scalar liquidDiffCoeff(Scalar temperature, Scalar pressure)
Diffusion coefficient for the constant component in liquid water.
Definition: h2o_constant.hh:85
static Scalar gasDiffCoeff(Scalar temperature, Scalar pressure)
Binary diffusion coefficient for molecular water and the constant component.
Definition: h2o_constant.hh:74
static Scalar henryWaterInComp(Scalar temperature)
Henry coefficient for water in the constant component.
Definition: h2o_constant.hh:62
static Scalar henryCompInWater(Scalar temperature)
Henry coefficient for the constant component in liquid water.
Definition: h2o_constant.hh:51
Binary coefficients for water and another component.
Definition: h2o_constant.hh:30
Setting constant fluid properties via the input file.
Material properties of pure water .
Definition: air_mesitylene.hh:18
std::string temperature() noexcept
I/O name of temperature for equilibrium models.
Definition: name.hh:39
std::string pressure(int phaseIdx) noexcept
I/O name of pressure for multiphase systems.
Definition: name.hh:22
The infrastructure to retrieve run-time parameters from Dune::ParameterTrees.