12#ifndef DUMUX_BINARY_COEFF_H2O_CONSTANT_HH
13#define DUMUX_BINARY_COEFF_H2O_CONSTANT_HH
15#include <dune/common/exceptions.hh>
22namespace BinaryCoeff {
29template<
class Scalar,
class Component>
34 DUNE_THROW(Dune::NotImplemented,
"The binary coefficients for H2O and your "
35 <<
"component are not implemented! Please implement the needed specialization.");
43template<
class Scalar,
int id>
54 static const Scalar h = getParamFromGroup<Scalar>(std::to_string(
id),
"Component.HenryComponentInWater", 1.0);
65 static const Scalar h = getParamFromGroup<Scalar>(std::to_string(
id),
"Component.HenryWaterInComponent", 1.0);
77 static const Scalar D = getParamFromGroup<Scalar>(std::to_string(
id),
"Component.GasDiffusionCoefficient", 1.0);
88 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:86
static Scalar gasDiffCoeff(Scalar temperature, Scalar pressure)
Binary diffusion coefficient for molecular water and the constant component.
Definition: h2o_constant.hh:75
static Scalar henryWaterInComp(Scalar temperature)
Henry coefficient for water in the constant component.
Definition: h2o_constant.hh:63
static Scalar henryCompInWater(Scalar temperature)
Henry coefficient for the constant component in liquid water.
Definition: h2o_constant.hh:52
Binary coefficients for water and another component.
Definition: h2o_constant.hh:31
Setting constant fluid properties via the input file.
Material properties of pure water .
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.