12#ifndef DUMUX_H2O_N2_FLUID_SYSTEM_KINETIC_HH
13#define DUMUX_H2O_N2_FLUID_SYSTEM_KINETIC_HH
27namespace FluidSystems {
34template <
class Scalar,
class Policy = H2ON2DefaultPolicy<>>
52 template <
class Flu
idState>
57 const Scalar T = fluidState.temperature(phaseIdx);
58 const Scalar p = fluidState.pressure(phaseIdx);
64 return ParentType::H2O::liquidEnthalpy(T, p);
66 return ParentType::N2::gasEnthalpy(T, p);
68 DUNE_THROW(Dune::NotImplemented,
"wrong index");
73 return ParentType::H2O::gasEnthalpy(T, p);
75 return ParentType::N2::gasEnthalpy(T, p);
77 DUNE_THROW(Dune::NotImplemented,
"wrong index");
80 DUNE_THROW(Dune::NotImplemented,
"wrong index");
99 return ParentType::H2O::vaporPressure(temperature);
static Scalar henry(Scalar temperature)
Henry coefficient for molecular nitrogen in liquid water.
Definition h2o_n2.hh:36
ScalarType Scalar
export the scalar type
Definition fluidsystems/base.hh:36
A two-phase fluid system with two components water Nitrogen for non-equilibrium models.
Definition h2on2.hh:57
static constexpr int liquidPhaseIdx
index of the liquid phase
Definition h2on2.hh:72
static constexpr int N2Idx
Definition h2on2.hh:78
static constexpr int gasPhaseIdx
index of the gas phase
Definition h2on2.hh:73
static constexpr int H2OIdx
Definition h2on2.hh:77
A two-phase fluid system with two components water Nitrogen for non-equilibrium models....
Definition h2on2kinetic.hh:37
static Scalar vaporPressure(Scalar temperature)
Return the vapor pressure of a component above one phase. .
Definition h2on2kinetic.hh:97
static Scalar henry(Scalar temperature)
Return the Henry constant for a component in a phase. .
Definition h2on2kinetic.hh:88
static Scalar componentEnthalpy(FluidState &fluidState, const int phaseIdx, const int compIdx)
Return the enthalpy of a component in a phase.
Definition h2on2kinetic.hh:53
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.