24#ifndef DUMUX_BINARY_COEFF_H2O_CONSTANT_HH
25#define DUMUX_BINARY_COEFF_H2O_CONSTANT_HH
27#include <dune/common/exceptions.hh>
34namespace BinaryCoeff {
41template<
class Scalar,
class Component>
46 DUNE_THROW(Dune::NotImplemented,
"The binary coefficients for H2O and your "
47 <<
"component are not implemented! Please implement the needed specialization.");
55template<
class Scalar,
int id>
66 static const Scalar h = getParamFromGroup<Scalar>(std::to_string(
id),
"Component.HenryComponentInWater", 1.0);
77 static const Scalar h = getParamFromGroup<Scalar>(std::to_string(
id),
"Component.HenryWaterInComponent", 1.0);
89 static const Scalar D = getParamFromGroup<Scalar>(std::to_string(
id),
"Component.GasDiffusionCoefficient", 1.0);
100 static const Scalar D = getParamFromGroup<Scalar>(std::to_string(
id),
"Component.LiquidDiffusionCoefficient", 1.0);
The infrastructure to retrieve run-time parameters from Dune::ParameterTrees.
Setting constant fluid properties via the input file.
Material properties of pure water .
make the local view function available whenever we use the grid geometry
Definition: adapt.hh:29
std::string temperature() noexcept
I/O name of temperature for equilibrium models.
Definition: name.hh:51
std::string pressure(int phaseIdx) noexcept
I/O name of pressure for multiphase systems.
Definition: name.hh:34
Binary coefficients for water and another component.
Definition: h2o_constant.hh:43
static Scalar liquidDiffCoeff(Scalar temperature, Scalar pressure)
Diffusion coefficient for the constant component in liquid water.
Definition: h2o_constant.hh:98
static Scalar gasDiffCoeff(Scalar temperature, Scalar pressure)
Binary diffusion coefficient for molecular water and the constant component.
Definition: h2o_constant.hh:87
static Scalar henryWaterInComp(Scalar temperature)
Henry coefficient for water in the constant component.
Definition: h2o_constant.hh:75
static Scalar henryCompInWater(Scalar temperature)
Henry coefficient for the constant component in liquid water.
Definition: h2o_constant.hh:64