12#ifndef DUMUX_H2O_N2_FLUID_SYSTEM_KINETIC_HH
13#define DUMUX_H2O_N2_FLUID_SYSTEM_KINETIC_HH
33template <
class Scalar,
class Policy = H2ON2DefaultPolicy<>>
51 template <
class Flu
idState>
56 const Scalar T = fluidState.temperature(phaseIdx);
57 const Scalar p = fluidState.pressure(phaseIdx);
63 return ParentType::H2O::liquidEnthalpy(T, p);
65 return ParentType::N2::gasEnthalpy(T, p);
67 DUNE_THROW(Dune::NotImplemented,
"wrong index");
72 return ParentType::H2O::gasEnthalpy(T, p);
74 return ParentType::N2::gasEnthalpy(T, p);
76 DUNE_THROW(Dune::NotImplemented,
"wrong index");
79 DUNE_THROW(Dune::NotImplemented,
"wrong index");
98 return ParentType::H2O::vaporPressure(temperature);
static Scalar henry(Scalar temperature)
Henry coefficient for molecular nitrogen in liquid water.
Definition h2o_n2.hh:35
Scalar Scalar
Definition fluidsystems/base.hh:35
A two-phase fluid system with two components water Nitrogen for non-equilibrium models.
Definition h2on2.hh:56
static constexpr int liquidPhaseIdx
Definition h2on2.hh:71
static constexpr int N2Idx
Definition h2on2.hh:77
static constexpr int gasPhaseIdx
Definition h2on2.hh:72
static constexpr int H2OIdx
Definition h2on2.hh:76
A two-phase fluid system with two components water Nitrogen for non-equilibrium models....
Definition h2on2kinetic.hh:36
NullParameterCache ParameterCache
The type of parameter cache objects.
Definition h2on2kinetic.hh:43
static Scalar vaporPressure(Scalar temperature)
Return the vapor pressure of a component above one phase. .
Definition h2on2kinetic.hh:96
static Scalar henry(Scalar temperature)
Return the Henry constant for a component in a phase. .
Definition h2on2kinetic.hh:87
static Scalar componentEnthalpy(FluidState &fluidState, const int phaseIdx, const int compIdx)
Return the enthalpy of a component in a phase.
Definition h2on2kinetic.hh:52
Relations valid for an ideal gas.
Definition idealgas.hh:25
The a parameter cache which does nothing.
Definition nullparametercache.hh:22
Material properties of pure water .
Binary coefficients for water and nitrogen.
A two-phase fluid system with two components water Nitrogen for non-equilibrium models.
Relations valid for an ideal gas.
Properties of pure molecular nitrogen .
A simple implementation of pure water.
Tabulates all thermodynamic properties of a given untabulated chemical species.