3.2-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Loading...
Searching...
No Matches
Dumux::FluidSystems::H2ON2Kinetic< Scalar, Policy > Class Template Reference

A two-phase fluid system with two components water \((\mathrm{H_2O})\) Nitrogen \((\mathrm{N_2})\) for non-equilibrium models. TODO: Is this fluid system necessary?? More...

#include <dumux/material/fluidsystems/h2on2kinetic.hh>

Inheritance diagram for Dumux::FluidSystems::H2ON2Kinetic< Scalar, Policy >:
Inheritance graph

Description

template<class Scalar, class Policy = H2ON2DefaultPolicy<>>
class Dumux::FluidSystems::H2ON2Kinetic< Scalar, Policy >

A two-phase fluid system with two components water \((\mathrm{H_2O})\) Nitrogen \((\mathrm{N_2})\) for non-equilibrium models. TODO: Is this fluid system necessary??

Public Types

using ParameterCache = NullParameterCache
 The type of parameter cache objects.
using H2O
 The components for pure water.
using N2
 The components for pure nitrogen.
using Scalar
 export the scalar type

Static Public Member Functions

template<class FluidState>
static Scalar componentEnthalpy (FluidState &fluidState, const int phaseIdx, const int compIdx)
 Return the enthalpy of a component in a phase.
static Scalar henry (Scalar temperature)
 Return the Henry constant for a component in a phase. \(\mathrm{[Pa]}\).
static Scalar vaporPressure (Scalar temperature)
 Return the vapor pressure of a component above one phase. \(\mathrm{[Pa]}\).
static Scalar density (const FluidState &fluidState, const ParameterCache &paramCache, int phaseIdx)
 Calculate the density \(\mathrm{[kg/m^3]}\) of a fluid phase.
static Scalar density (const FluidState &fluidState, int phaseIdx)
 Calculate the density \(\mathrm{[kg/m^3]}\) of a fluid phase.
static Scalar molarDensity (const FluidState &fluidState, const ParameterCache &paramCache, int phaseIdx)
 Calculate the molar density \(\mathrm{[mol/m^3]}\) of a fluid phase.
static Scalar molarDensity (const FluidState &fluidState, int phaseIdx)
 Calculate the molar density \(\mathrm{[mol/m^3]}\) of a fluid phase.
static Scalar viscosity (const FluidState &fluidState, const ParameterCache &paramCache, int phaseIdx)
 Calculate the dynamic viscosity of a fluid phase \(\mathrm{[Pa*s]}\).
static Scalar viscosity (const FluidState &fluidState, int phaseIdx)
 Calculate the dynamic viscosity of a fluid phase \(\mathrm{[Pa*s]}\).
static Scalar fugacityCoefficient (const FluidState &fluidState, const ParameterCache &paramCache, int phaseIdx, int compIdx)
 Calculate the fugacity coefficient \(\mathrm{[Pa]}\) of an individual component in a fluid phase.
static Scalar fugacityCoefficient (const FluidState &fluidState, int phaseIdx, int compIdx)
 Calculate the fugacity coefficient \(\mathrm{[Pa]}\) of an individual component in a fluid phase.
static Scalar diffusionCoefficient (const FluidState &fluidState, const ParameterCache &paramCache, int phaseIdx, int compIdx)
 Calculate the binary molecular diffusion coefficient for a component in a fluid phase \(\mathrm{[mol^2 * s / (kg*m^3)]}\).
static Scalar diffusionCoefficient (const FluidState &fluidState, int phaseIdx, int compIdx)
 Calculate the binary molecular diffusion coefficient for a component in a fluid phase \(\mathrm{[mol^2 * s / (kg*m^3)]}\).
static Scalar binaryDiffusionCoefficient (const FluidState &fluidState, const ParameterCache &paramCache, int phaseIdx, int compIIdx, int compJIdx)
 Given a phase's composition, temperature and pressure, return the binary diffusion coefficient \(\mathrm{[m^2/s]}\) for components \(\mathrm{i}\) and \(\mathrm{j}\) in this phase.
static Scalar binaryDiffusionCoefficient (const FluidState &fluidState, int phaseIdx, int compIIdx, int compJIdx)
 Given a phase's composition, temperature and pressure, return the binary diffusion coefficient \(\mathrm{[m^2/s]}\) for components \(\mathrm{i}\) and \(\mathrm{j}\) in this phase.
static Scalar enthalpy (const FluidState &fluidState, const ParameterCache &paramCache, int phaseIdx)
 Given a phase's composition, temperature, pressure and density, calculate its specific enthalpy \(\mathrm{[J/kg]}\).
static Scalar enthalpy (const FluidState &fluidState, int phaseIdx)
 Given a phase's composition, temperature, pressure and density, calculate its specific enthalpy \(\mathrm{[J/kg]}\).
static Scalar thermalConductivity (const FluidState &fluidState, const ParameterCache &paramCache, int phaseIdx)
 Thermal conductivity \(\lambda_\alpha \) of a fluid phase \(\mathrm{[W/(m K)]}\).
static Scalar thermalConductivity (const FluidState &fluidState, int phaseIdx)
 Thermal conductivity \(\lambda_\alpha \) of a fluid phase \(\mathrm{[W/(m K)]}\).
static Scalar heatCapacity (const FluidState &fluidState, const ParameterCache &paramCache, int phaseIdx)
 Specific isobaric heat capacity \(c_{p,\alpha}\) of a fluid phase \(\mathrm{[J/(kg*K)]}\).
static Scalar heatCapacity (const FluidState &fluidState, int phaseIdx)
 Specific isobaric heat capacity \(c_{p,\alpha}\) of a fluid phase \(\mathrm{[J/(kg*K)]}\).
static std::string phaseName (int phaseIdx)
 Return the human readable name of a fluid phase.
static constexpr bool isMiscible ()
 Returns whether the fluids are miscible.
static constexpr bool isGas (int phaseIdx)
 Return whether a phase is gaseous.
static bool isIdealMixture (int phaseIdx)
 Returns true if and only if a fluid phase is assumed to be an ideal mixture.
static constexpr bool isCompressible (int phaseIdx)
 Returns true if and only if a fluid phase is assumed to be compressible.
static bool isIdealGas (int phaseIdx)
 Returns true if and only if a fluid phase is assumed to be an ideal gas.
static std::string componentName (int compIdx)
 Return the human readable name of a component.
static Scalar molarMass (int compIdx)
 Return the molar mass of a component in \(\mathrm{[kg/mol]}\).
static Scalar criticalTemperature (int compIdx)
 Critical temperature of a component \(\mathrm{[K]}\).
static Scalar criticalPressure (int compIdx)
 Critical pressure of a component \(\mathrm{[Pa]}\).
static Scalar kelvinVaporPressure (const FluidState &fluidState, const int phaseIdx, const int compIdx)
 Vapor pressure including the Kelvin equation in \(\mathrm{[Pa]}\).
static Scalar criticalMolarVolume (int compIdx)
 Molar volume of a component at the critical point \(\mathrm{[m^3/mol]}\).
static Scalar acentricFactor (int compIdx)
 The acentric factor of a component \(\mathrm{[-]}\).
static void init ()
 Initialize the fluid system's static parameters generically.
static Scalar componentEnthalpy (const FluidState &fluidState, int phaseIdx, int componentIdx)
 Returns the specific enthalpy \(\mathrm{[J/kg]}\) of a component in the specified phase.
static constexpr bool isTracerFluidSystem ()
 Some properties of the fluid system.
static constexpr int getMainComponent (int phaseIdx)
 Get the main component of a given phase if possible.
static constexpr bool viscosityIsConstant (int phaseIdx)
 Returns true if and only if a fluid phase is assumed to have a constant viscosity.

Static Public Attributes

static constexpr int numPhases
 Number of phases in the fluid system.
static constexpr int numComponents
 Number of components in the fluid system.
static constexpr int liquidPhaseIdx
 index of the liquid phase
static constexpr int gasPhaseIdx
 index of the gas phase
static constexpr int phase0Idx
 index of the first phase
static constexpr int phase1Idx
 index of the second phase
static constexpr int H2OIdx
static constexpr int N2Idx
static constexpr int comp0Idx
 index of the first component
static constexpr int comp1Idx
 index of the second component
static constexpr int liquidCompIdx
 index of the liquid component
static constexpr int gasCompIdx
 index of the gas component

Member Typedef Documentation

◆ H2O

The components for pure water.

◆ N2

The components for pure nitrogen.

◆ ParameterCache

template<class Scalar, class Policy = H2ON2DefaultPolicy<>>
using Dumux::FluidSystems::H2ON2Kinetic< Scalar, Policy >::ParameterCache = NullParameterCache

The type of parameter cache objects.

◆ Scalar

using Dumux::FluidSystems::Base< Scalar, H2ON2< Scalar, H2ON2DefaultPolicy<> > >::Scalar
inherited

export the scalar type

Member Function Documentation

◆ acentricFactor()

Scalar Dumux::FluidSystems::H2ON2< Scalar, H2ON2DefaultPolicy<> >::acentricFactor ( int compIdx)
inlinestaticinherited

The acentric factor of a component \(\mathrm{[-]}\).

Parameters
compIdxThe index of the component to consider

◆ binaryDiffusionCoefficient() [1/2]

Scalar Dumux::FluidSystems::Base< Scalar, H2ON2< Scalar, H2ON2DefaultPolicy<> > >::binaryDiffusionCoefficient ( const FluidState & fluidState,
int phaseIdx,
int compIIdx,
int compJIdx )
inlinestaticinherited

Given a phase's composition, temperature and pressure, return the binary diffusion coefficient \(\mathrm{[m^2/s]}\) for components \(\mathrm{i}\) and \(\mathrm{j}\) in this phase.

Parameters
fluidStateThe fluid state
phaseIdxIndex of the fluid phase
compIIdxIndex of the component i
compJIdxIndex of the component j

◆ binaryDiffusionCoefficient() [2/2]

( const FluidState & fluidState,
const ParameterCache & paramCache,
int phaseIdx,
int compIIdx,
int compJIdx )
staticinherited

Given a phase's composition, temperature and pressure, return the binary diffusion coefficient \(\mathrm{[m^2/s]}\) for components \(\mathrm{i}\) and \(\mathrm{j}\) in this phase.

Parameters
fluidStateThe fluid state
paramCachemutable parameters
phaseIdxIndex of the fluid phase
compIIdxIndex of the component i
compJIdxIndex of the component j

◆ componentEnthalpy() [1/2]

Scalar Dumux::FluidSystems::H2ON2< Scalar, H2ON2DefaultPolicy<> >::componentEnthalpy ( const FluidState & fluidState,
int phaseIdx,
int componentIdx )
inlinestaticinherited

Returns the specific enthalpy \(\mathrm{[J/kg]}\) of a component in the specified phase.

Parameters
fluidStateThe fluid state
phaseIdxThe index of the phase
componentIdxThe index of the component

◆ componentEnthalpy() [2/2]

template<class Scalar, class Policy = H2ON2DefaultPolicy<>>
template<class FluidState>
Scalar Dumux::FluidSystems::H2ON2Kinetic< Scalar, Policy >::componentEnthalpy ( FluidState & fluidState,
const int phaseIdx,
const int compIdx )
inlinestatic

Return the enthalpy of a component in a phase.

Parameters
fluidStateA container with the current (physical) state of the fluid
phaseIdxThe index of the phase to consider
compIdxThe index of the component to consider

◆ componentName()

std::string Dumux::FluidSystems::H2ON2< Scalar, H2ON2DefaultPolicy<> >::componentName ( int compIdx)
inlinestaticinherited

Return the human readable name of a component.

Parameters
compIdxThe index of the component to consider

◆ criticalMolarVolume()

Scalar Dumux::FluidSystems::H2ON2< Scalar, H2ON2DefaultPolicy<> >::criticalMolarVolume ( int compIdx)
inlinestaticinherited

Molar volume of a component at the critical point \(\mathrm{[m^3/mol]}\).

Parameters
compIdxThe index of the component to consider

◆ criticalPressure()

Scalar Dumux::FluidSystems::H2ON2< Scalar, H2ON2DefaultPolicy<> >::criticalPressure ( int compIdx)
inlinestaticinherited

Critical pressure of a component \(\mathrm{[Pa]}\).

Parameters
compIdxThe index of the component to consider

◆ criticalTemperature()

Scalar Dumux::FluidSystems::H2ON2< Scalar, H2ON2DefaultPolicy<> >::criticalTemperature ( int compIdx)
inlinestaticinherited

Critical temperature of a component \(\mathrm{[K]}\).

Parameters
compIdxThe index of the component to consider

◆ density() [1/2]

Scalar Dumux::FluidSystems::Base< Scalar, H2ON2< Scalar, H2ON2DefaultPolicy<> > >::density ( const FluidState & fluidState,
int phaseIdx )
inlinestaticinherited

Calculate the density \(\mathrm{[kg/m^3]}\) of a fluid phase.

Parameters
fluidStateThe fluid state
phaseIdxIndex of the fluid phase

◆ density() [2/2]

( const FluidState & fluidState,
const ParameterCache & paramCache,
int phaseIdx )
staticinherited

Calculate the density \(\mathrm{[kg/m^3]}\) of a fluid phase.

Parameters
fluidStateThe fluid state
paramCachemutable parameters
phaseIdxIndex of the fluid phase

◆ diffusionCoefficient() [1/2]

Scalar Dumux::FluidSystems::Base< Scalar, H2ON2< Scalar, H2ON2DefaultPolicy<> > >::diffusionCoefficient ( const FluidState & fluidState,
int phaseIdx,
int compIdx )
inlinestaticinherited

Calculate the binary molecular diffusion coefficient for a component in a fluid phase \(\mathrm{[mol^2 * s / (kg*m^3)]}\).

Parameters
fluidStateThe fluid state
phaseIdxIndex of the fluid phase
compIdxIndex of the component Molecular diffusion of a component \(\mathrm{\kappa}\) is caused by a gradient of the chemical potential and follows the law

\[ J = - D \mathbf{grad} \mu_\kappa \]

where \(\mathrm{\mu_\kappa}\) is the component's chemical potential, \(\mathrm{D}\) is the diffusion coefficient and \(\mathrm{J}\) is the diffusive flux. \(\mathrm{\mu_\kappa}\) is connected to the component's fugacity \(\mathrm{f_\kappa}\) by the relation

\[ \mu_\kappa = R T_\alpha \mathrm{ln} \frac{f_\kappa}{p_\alpha} \]

where \(\mathrm{p_\alpha}\) and \(\mathrm{T_\alpha}\) are the fluid phase' pressure and temperature.

◆ diffusionCoefficient() [2/2]

( const FluidState & fluidState,
const ParameterCache & paramCache,
int phaseIdx,
int compIdx )
staticinherited

Calculate the binary molecular diffusion coefficient for a component in a fluid phase \(\mathrm{[mol^2 * s / (kg*m^3)]}\).

Parameters
fluidStateThe fluid state
paramCachemutable parameters
phaseIdxIndex of the fluid phase
compIdxIndex of the component Molecular diffusion of a component \(\mathrm{\kappa}\) is caused by a gradient of the chemical potential and follows the law

\[ J = - D \mathbf{grad} \mu_\kappa \]

where \(\mathrm{\mu_\kappa}\) is the component's chemical potential, \(\mathrm{D}\) is the diffusion coefficient and \(\mathrm{J}\) is the diffusive flux. \(\mathrm{\mu_\kappa}\) is connected to the component's fugacity \(\mathrm{f_\kappa}\) by the relation

\[ \mu_\kappa = R T_\alpha \mathrm{ln} \frac{f_\kappa}{p_\alpha} \]

where \(\mathrm{p_\alpha}\) and \(\mathrm{T_\alpha}\) are the fluid phase' pressure and temperature.

◆ enthalpy() [1/2]

Scalar Dumux::FluidSystems::Base< Scalar, H2ON2< Scalar, H2ON2DefaultPolicy<> > >::enthalpy ( const FluidState & fluidState,
int phaseIdx )
inlinestaticinherited

Given a phase's composition, temperature, pressure and density, calculate its specific enthalpy \(\mathrm{[J/kg]}\).

Parameters
fluidStateThe fluid state
phaseIdxIndex of the fluid phase

◆ enthalpy() [2/2]

( const FluidState & fluidState,
const ParameterCache & paramCache,
int phaseIdx )
staticinherited

Given a phase's composition, temperature, pressure and density, calculate its specific enthalpy \(\mathrm{[J/kg]}\).

Parameters
fluidStateThe fluid state
paramCachemutable parameters
phaseIdxIndex of the fluid phase

◆ fugacityCoefficient() [1/2]

Scalar Dumux::FluidSystems::Base< Scalar, H2ON2< Scalar, H2ON2DefaultPolicy<> > >::fugacityCoefficient ( const FluidState & fluidState,
int phaseIdx,
int compIdx )
inlinestaticinherited

Calculate the fugacity coefficient \(\mathrm{[Pa]}\) of an individual component in a fluid phase.

The fugacity coefficient \(\mathrm{\phi^\kappa_\alpha}\) is connected to the fugacity \(\mathrm{f^\kappa_\alpha}\) and the component's mole fraction \(\mathrm{x^\kappa_\alpha}\) by means of the relation

\[f^\kappa_\alpha = \phi^\kappa_\alpha\;x^\kappa_\alpha\;p_\alpha \]

Parameters
fluidStateThe fluid state
phaseIdxIndex of the fluid phase
compIdxIndex of the component

◆ fugacityCoefficient() [2/2]

( const FluidState & fluidState,
const ParameterCache & paramCache,
int phaseIdx,
int compIdx )
staticinherited

Calculate the fugacity coefficient \(\mathrm{[Pa]}\) of an individual component in a fluid phase.

The fugacity coefficient \(\mathrm{\phi^\kappa_\alpha}\) is connected to the fugacity \(\mathrm{f^\kappa_\alpha}\) and the component's mole fraction \(\mathrm{x^\kappa_\alpha}\) by means of the relation

\[f^\kappa_\alpha = \phi^\kappa_\alpha\;x^\kappa_\alpha\;p_\alpha \]

Parameters
fluidStateThe fluid state
paramCachemutable parameters
phaseIdxIndex of the fluid phase
compIdxIndex of the component

◆ getMainComponent()

constexpr int Dumux::FluidSystems::Base< Scalar, H2ON2< Scalar, H2ON2DefaultPolicy<> > >::getMainComponent ( int phaseIdx)
inlinestaticconstexprinherited

Get the main component of a given phase if possible.

Parameters
phaseIdxThe index of the fluid phase to consider
Todo
Unfortunately we currently still have the assumption in some volume variables (e.g. 1pnc, 2pnc) that the main component index of a phase is equal to the phase index of that phase. This means changing this only works if the volume variables are written accordingly.
Note
This only makes sense if this is not a tracer fluid system (then the bulk component is not balanced)

◆ heatCapacity() [1/2]

Scalar Dumux::FluidSystems::Base< Scalar, H2ON2< Scalar, H2ON2DefaultPolicy<> > >::heatCapacity ( const FluidState & fluidState,
int phaseIdx )
inlinestaticinherited

Specific isobaric heat capacity \(c_{p,\alpha}\) of a fluid phase \(\mathrm{[J/(kg*K)]}\).

Parameters
fluidStaterepresents all relevant thermodynamic quantities of a fluid system
phaseIdxIndex of the fluid phase

Given a fluid state, an up-to-date parameter cache and a phase index, this method computes the isobaric heat capacity \(c_{p,\alpha}\) of the fluid phase. The isobaric heat capacity is defined as the partial derivative of the specific enthalpy \(h_\alpha\) to the fluid pressure \(p_\alpha\):

\( c_{p,\alpha} = \frac{\partial h_\alpha}{\partial p_\alpha} \)

◆ heatCapacity() [2/2]

( const FluidState & fluidState,
const ParameterCache & paramCache,
int phaseIdx )
staticinherited

Specific isobaric heat capacity \(c_{p,\alpha}\) of a fluid phase \(\mathrm{[J/(kg*K)]}\).

Parameters
fluidStaterepresents all relevant thermodynamic quantities of a fluid system
paramCachemutable parameters
phaseIdxIndex of the fluid phase

Given a fluid state, an up-to-date parameter cache and a phase index, this method computes the isobaric heat capacity \(c_{p,\alpha}\) of the fluid phase. The isobaric heat capacity is defined as the partial derivative of the specific enthalpy \(h_\alpha\) to the fluid pressure \(p_\alpha\):

\( c_{p,\alpha} = \frac{\partial h_\alpha}{\partial p_\alpha} \)

◆ henry()

template<class Scalar, class Policy = H2ON2DefaultPolicy<>>
Scalar Dumux::FluidSystems::H2ON2Kinetic< Scalar, Policy >::henry ( Scalar temperature)
inlinestatic

Return the Henry constant for a component in a phase. \(\mathrm{[Pa]}\).

Parameters
temperatureThe given temperature

◆ init()

void Dumux::FluidSystems::H2ON2< Scalar, H2ON2DefaultPolicy<> >::init ( )
inlinestaticinherited

Initialize the fluid system's static parameters generically.

If a tabulated H2O component is used, we do our best to create tables that always work.

◆ isCompressible()

constexpr bool Dumux::FluidSystems::H2ON2< Scalar, H2ON2DefaultPolicy<> >::isCompressible ( int phaseIdx)
inlinestaticconstexprinherited

Returns true if and only if a fluid phase is assumed to be compressible.

Compressible means that the partial derivative of the density to the fluid pressure is always larger than zero.

Parameters
phaseIdxThe index of the fluid phase to consider

◆ isGas()

constexpr bool Dumux::FluidSystems::H2ON2< Scalar, H2ON2DefaultPolicy<> >::isGas ( int phaseIdx)
inlinestaticconstexprinherited

Return whether a phase is gaseous.

Parameters
phaseIdxThe index of the fluid phase to consider

◆ isIdealGas()

bool Dumux::FluidSystems::H2ON2< Scalar, H2ON2DefaultPolicy<> >::isIdealGas ( int phaseIdx)
inlinestaticinherited

Returns true if and only if a fluid phase is assumed to be an ideal gas.

Parameters
phaseIdxThe index of the fluid phase to consider

◆ isIdealMixture()

bool Dumux::FluidSystems::H2ON2< Scalar, H2ON2DefaultPolicy<> >::isIdealMixture ( int phaseIdx)
inlinestaticinherited

Returns true if and only if a fluid phase is assumed to be an ideal mixture.

We define an ideal mixture as a fluid phase where the fugacity coefficients of all components times the pressure of the phase are independent on the fluid composition. This assumption is true if Henry's law and Raoult's law apply. If you are unsure what this function should return, it is safe to return false. The only damage done will be (slightly) increased computation times in some cases.

Parameters
phaseIdxThe index of the fluid phase to consider

◆ isMiscible()

constexpr bool Dumux::FluidSystems::H2ON2< Scalar, H2ON2DefaultPolicy<> >::isMiscible ( )
inlinestaticconstexprinherited

Returns whether the fluids are miscible.

◆ isTracerFluidSystem()

constexpr bool Dumux::FluidSystems::Base< Scalar, H2ON2< Scalar, H2ON2DefaultPolicy<> > >::isTracerFluidSystem ( )
inlinestaticconstexprinherited

Some properties of the fluid system.

If the fluid system only contains tracer components

◆ kelvinVaporPressure()

Scalar Dumux::FluidSystems::H2ON2< Scalar, H2ON2DefaultPolicy<> >::kelvinVaporPressure ( const FluidState & fluidState,
const int phaseIdx,
const int compIdx )
inlinestaticinherited

Vapor pressure including the Kelvin equation in \(\mathrm{[Pa]}\).

Calculate the decreased vapor pressure due to capillarity

Parameters
fluidStateAn abitrary fluid state
phaseIdxThe index of the fluid phase to consider
compIdxThe index of the component to consider

◆ molarDensity() [1/2]

Scalar Dumux::FluidSystems::Base< Scalar, H2ON2< Scalar, H2ON2DefaultPolicy<> > >::molarDensity ( const FluidState & fluidState,
int phaseIdx )
inlinestaticinherited

Calculate the molar density \(\mathrm{[mol/m^3]}\) of a fluid phase.

Parameters
fluidStateThe fluid state
phaseIdxIndex of the fluid phase

◆ molarDensity() [2/2]

( const FluidState & fluidState,
const ParameterCache & paramCache,
int phaseIdx )
staticinherited

Calculate the molar density \(\mathrm{[mol/m^3]}\) of a fluid phase.

Parameters
fluidStateThe fluid state
paramCachemutable parameters
phaseIdxIndex of the fluid phase

◆ molarMass()

Scalar Dumux::FluidSystems::H2ON2< Scalar, H2ON2DefaultPolicy<> >::molarMass ( int compIdx)
inlinestaticinherited

Return the molar mass of a component in \(\mathrm{[kg/mol]}\).

Parameters
compIdxThe index of the component to consider

◆ phaseName()

std::string Dumux::FluidSystems::H2ON2< Scalar, H2ON2DefaultPolicy<> >::phaseName ( int phaseIdx)
inlinestaticinherited

Return the human readable name of a fluid phase.

Parameters
phaseIdxThe index of the fluid phase to consider

◆ thermalConductivity() [1/2]

Scalar Dumux::FluidSystems::Base< Scalar, H2ON2< Scalar, H2ON2DefaultPolicy<> > >::thermalConductivity ( const FluidState & fluidState,
int phaseIdx )
inlinestaticinherited

Thermal conductivity \(\lambda_\alpha \) of a fluid phase \(\mathrm{[W/(m K)]}\).

Parameters
fluidStateThe fluid state
phaseIdxIndex of the fluid phase

◆ thermalConductivity() [2/2]

( const FluidState & fluidState,
const ParameterCache & paramCache,
int phaseIdx )
staticinherited

Thermal conductivity \(\lambda_\alpha \) of a fluid phase \(\mathrm{[W/(m K)]}\).

Parameters
fluidStateThe fluid state
paramCachemutable parameters
phaseIdxIndex of the fluid phase

◆ vaporPressure()

template<class Scalar, class Policy = H2ON2DefaultPolicy<>>
Scalar Dumux::FluidSystems::H2ON2Kinetic< Scalar, Policy >::vaporPressure ( Scalar temperature)
inlinestatic

Return the vapor pressure of a component above one phase. \(\mathrm{[Pa]}\).

Parameters
temperatureThe given temperature

◆ viscosity() [1/2]

Scalar Dumux::FluidSystems::Base< Scalar, H2ON2< Scalar, H2ON2DefaultPolicy<> > >::viscosity ( const FluidState & fluidState,
int phaseIdx )
inlinestaticinherited

Calculate the dynamic viscosity of a fluid phase \(\mathrm{[Pa*s]}\).

Parameters
fluidStateThe fluid state
phaseIdxIndex of the fluid phase

◆ viscosity() [2/2]

( const FluidState & fluidState,
const ParameterCache & paramCache,
int phaseIdx )
staticinherited

Calculate the dynamic viscosity of a fluid phase \(\mathrm{[Pa*s]}\).

Parameters
fluidStateThe fluid state
paramCachemutable parameters
phaseIdxIndex of the fluid phase

◆ viscosityIsConstant()

constexpr bool Dumux::FluidSystems::Base< Scalar, H2ON2< Scalar, H2ON2DefaultPolicy<> > >::viscosityIsConstant ( int phaseIdx)
inlinestaticconstexprinherited

Returns true if and only if a fluid phase is assumed to have a constant viscosity.

Parameters
phaseIdxThe index of the fluid phase to consider

Member Data Documentation

◆ comp0Idx

int Dumux::FluidSystems::H2ON2< Scalar, H2ON2DefaultPolicy<> >::comp0Idx
staticconstexprinherited

index of the first component

◆ comp1Idx

int Dumux::FluidSystems::H2ON2< Scalar, H2ON2DefaultPolicy<> >::comp1Idx
staticconstexprinherited

index of the second component

◆ gasCompIdx

int Dumux::FluidSystems::H2ON2< Scalar, H2ON2DefaultPolicy<> >::gasCompIdx
staticconstexprinherited

index of the gas component

◆ gasPhaseIdx

int Dumux::FluidSystems::H2ON2< Scalar, H2ON2DefaultPolicy<> >::gasPhaseIdx
staticconstexprinherited

index of the gas phase

◆ H2OIdx

int Dumux::FluidSystems::H2ON2< Scalar, H2ON2DefaultPolicy<> >::H2OIdx
staticconstexprinherited

◆ liquidCompIdx

int Dumux::FluidSystems::H2ON2< Scalar, H2ON2DefaultPolicy<> >::liquidCompIdx
staticconstexprinherited

index of the liquid component

◆ liquidPhaseIdx

int Dumux::FluidSystems::H2ON2< Scalar, H2ON2DefaultPolicy<> >::liquidPhaseIdx
staticconstexprinherited

index of the liquid phase

◆ N2Idx

int Dumux::FluidSystems::H2ON2< Scalar, H2ON2DefaultPolicy<> >::N2Idx
staticconstexprinherited

◆ numComponents

int Dumux::FluidSystems::H2ON2< Scalar, H2ON2DefaultPolicy<> >::numComponents
staticconstexprinherited

Number of components in the fluid system.

◆ numPhases

int Dumux::FluidSystems::H2ON2< Scalar, H2ON2DefaultPolicy<> >::numPhases
staticconstexprinherited

Number of phases in the fluid system.

◆ phase0Idx

int Dumux::FluidSystems::H2ON2< Scalar, H2ON2DefaultPolicy<> >::phase0Idx
staticconstexprinherited

index of the first phase

◆ phase1Idx

int Dumux::FluidSystems::H2ON2< Scalar, H2ON2DefaultPolicy<> >::phase1Idx
staticconstexprinherited

index of the second phase


The documentation for this class was generated from the following file: