version 3.10-dev
Dumux::FluidSystems::OnePGas< Scalar, ComponentT > Class Template Reference

A gaseous phase consisting of a single component.

#include <dumux/material/fluidsystems/1pgas.hh>

Inheritance diagram for Dumux::FluidSystems::OnePGas< Scalar, ComponentT >:

Public Types

using Component = ComponentT
 
using ParameterCache = NullParameterCache
 
using Scalar = Scalar
 export the scalar type More...
 

Static Public Member Functions

static void init ()
 Initialize the fluid system's static parameters generically. More...
 
static std::string phaseName (int phaseIdx=0)
 Return the human readable name of a fluid phase. More...
 
static std::string componentName (int compIdx=0)
 A human readable name for the component. More...
 
static std::string name ()
 A human readable name for the component. More...
 
static constexpr bool isMiscible ()
 There is only one phase, so not mass transfer between phases can occur. More...
 
static constexpr bool isGas (int phaseIdx=0)
 Returns whether the fluid is gaseous. More...
 
static constexpr bool isIdealMixture (int phaseIdx=0)
 Returns true if and only if a fluid phase is assumed to be an ideal mixture. More...
 
static constexpr bool isCompressible (int phaseIdx=0)
 Returns true if the fluid is assumed to be compressible. More...
 
static constexpr bool isIdealGas (int phaseIdx=0)
 Returns true if the fluid is assumed to be an ideal gas. More...
 
static constexpr bool viscosityIsConstant (int phaseIdx)
 Returns true if and only if a fluid phase is assumed to have a constant viscosity. More...
 
static Scalar molarMass (int compIdx=0)
 The mass in \(\mathrm{[kg]}\) of one mole of the component. More...
 
static Scalar criticalTemperature (int compIdx=0)
 Returns the critical temperature in \(\mathrm{[K]}\) of the component. More...
 
static Scalar criticalPressure (int compIdx=0)
 Returns the critical pressure in \(\mathrm{[Pa]}\) of the component. More...
 
static Scalar tripleTemperature (int compIdx=0)
 Returns the temperature in \(\mathrm{[K]}\) at the component's triple point. More...
 
static Scalar triplePressure (int compIdx=0)
 Returns the pressure in \(\mathrm{[Pa]}\) at the component's triple point. More...
 
static Scalar vaporPressure (Scalar T)
 The vapor pressure in \(\mathrm{[Pa]}\) of the component at a given temperature. More...
 
static Scalar density (Scalar temperature, Scalar pressure)
 The density \(\mathrm{[kg/m^3]}\) of the component at a given pressure and temperature. More...
 
template<class FluidState >
static Scalar density (const FluidState &fluidState, const int phaseIdx)
 Calculate the density \(\mathrm{[kg/m^3]}\) of a fluid phase. More...
 
static Scalar molarDensity (Scalar temperature, Scalar pressure)
 The molar density \(\rho_{mol,\alpha}\) of a fluid phase \(\alpha\) in \(\mathrm{[mol/m^3]}\). More...
 
template<class FluidState >
static Scalar molarDensity (const FluidState &fluidState, const int phaseIdx)
 Calculate the molar density \(\mathrm{[mol/m^3]}\) of a fluid phase. More...
 
static Scalar pressure (Scalar temperature, Scalar density)
 The pressure \(\mathrm{[Pa]}\) of the component at a given density and temperature. More...
 
static const Scalar enthalpy (Scalar temperature, Scalar pressure)
 Specific enthalpy \(\mathrm{[J/kg]}\) of the pure component as a gas. More...
 
template<class FluidState >
static Scalar enthalpy (const FluidState &fluidState, const int phaseIdx)
 Given a phase's composition, temperature, pressure and density, calculate its specific enthalpy \(\mathrm{[J/kg]}\). More...
 
static const Scalar internalEnergy (Scalar temperature, Scalar pressure)
 Specific internal energy \(\mathrm{[J/kg]}\) of the pure component as a gas. More...
 
static Scalar viscosity (Scalar temperature, Scalar pressure)
 The dynamic viscosity \(\mathrm{[Pa s]}\) of the pure component at a given pressure and temperature. More...
 
template<class FluidState >
static Scalar viscosity (const FluidState &fluidState, const int phaseIdx)
 Calculate the dynamic viscosity of a fluid phase \(\mathrm{[Pa*s]}\). More...
 
template<class FluidState >
static Scalar fugacityCoefficient (const FluidState &fluidState, int phaseIdx, int compIdx)
 Calculate the fugacity coefficient \(\mathrm{[Pa]}\) of an individual component in a fluid phase. More...
 
template<class FluidState >
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)]}\). More...
 
template<class FluidState >
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. More...
 
static Scalar thermalConductivity (Scalar temperature, Scalar pressure)
 Thermal conductivity of the fluid \(\mathrm{[W/(m K)]}\). More...
 
template<class FluidState >
static Scalar thermalConductivity (const FluidState &fluidState, const int phaseIdx)
 Thermal conductivity \(\lambda_\alpha \) of a fluid phase \(\mathrm{[W/(m K)]}\). More...
 
static Scalar heatCapacity (Scalar temperature, Scalar pressure)
 Specific isobaric heat capacity of the fluid \(\mathrm{[J/(kg K)]}\). More...
 
template<class FluidState >
static Scalar heatCapacity (const FluidState &fluidState, const int phaseIdx)
 Specific isobaric heat capacity \(c_{p,\alpha}\) of a fluid phase \(\mathrm{[J/(kg*K)]}\). More...
 
static constexpr bool isTracerFluidSystem ()
 Some properties of the fluid system. More...
 
static constexpr int getMainComponent (int phaseIdx)
 Get the main component of a given phase if possible. More...
 
static Scalar density (const FluidState &fluidState, const ParameterCache &paramCache, int phaseIdx)
 Calculate the density \(\mathrm{[kg/m^3]}\) of a fluid phase. More...
 
static Scalar molarDensity (const FluidState &fluidState, const ParameterCache &paramCache, int phaseIdx)
 Calculate the molar density \(\mathrm{[mol/m^3]}\) of a fluid phase. More...
 
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. More...
 
static Scalar viscosity (const FluidState &fluidState, const ParameterCache &paramCache, int phaseIdx)
 Calculate the dynamic viscosity of a fluid phase \(\mathrm{[Pa*s]}\). More...
 
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)]}\). More...
 
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. More...
 
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]}\). More...
 
static Scalar thermalConductivity (const FluidState &fluidState, const ParameterCache &paramCache, int phaseIdx)
 Thermal conductivity \(\lambda_\alpha \) of a fluid phase \(\mathrm{[W/(m K)]}\). More...
 
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)]}\). More...
 

Static Public Attributes

static constexpr int numPhases = 1
 Number of phases in the fluid system. More...
 
static constexpr int numComponents = 1
 Number of components in the fluid system. More...
 
static constexpr int phase0Idx = 0
 index of the only phase More...
 
static constexpr int comp0Idx = 0
 index of the only component More...
 

Member Typedef Documentation

◆ Component

template<class Scalar , class ComponentT >
using Dumux::FluidSystems::OnePGas< Scalar, ComponentT >::Component = ComponentT

◆ ParameterCache

template<class Scalar , class ComponentT >
using Dumux::FluidSystems::OnePGas< Scalar, ComponentT >::ParameterCache = NullParameterCache

◆ Scalar

using Dumux::FluidSystems::Base< Scalar , OnePGas< Scalar, ComponentT > >::Scalar = Scalar
inherited

Member Function Documentation

◆ binaryDiffusionCoefficient() [1/2]

static Scalar Dumux::FluidSystems::Base< Scalar , OnePGas< Scalar, ComponentT > >::binaryDiffusionCoefficient ( const FluidState &  fluidState,
const ParameterCache paramCache,
int  phaseIdx,
int  compIIdx,
int  compJIdx 
)
inlinestaticinherited
Parameters
fluidStateThe fluid state
paramCachemutable parameters
phaseIdxIndex of the fluid phase
compIIdxIndex of the component i
compJIdxIndex of the component j

◆ binaryDiffusionCoefficient() [2/2]

template<class Scalar , class ComponentT >
template<class FluidState >
static Scalar Dumux::FluidSystems::OnePGas< Scalar, ComponentT >::binaryDiffusionCoefficient ( const FluidState &  fluidState,
int  phaseIdx,
int  compIIdx,
int  compJIdx 
)
inlinestatic
Parameters
fluidStateThe fluid state
phaseIdxIndex of the fluid phase
compIIdxIndex of the component i
compJIdxIndex of the component j

◆ componentName()

template<class Scalar , class ComponentT >
static std::string Dumux::FluidSystems::OnePGas< Scalar, ComponentT >::componentName ( int  compIdx = 0)
inlinestatic
Parameters
compIdxThe index of the component to consider

◆ criticalPressure()

template<class Scalar , class ComponentT >
static Scalar Dumux::FluidSystems::OnePGas< Scalar, ComponentT >::criticalPressure ( int  compIdx = 0)
inlinestatic

◆ criticalTemperature()

template<class Scalar , class ComponentT >
static Scalar Dumux::FluidSystems::OnePGas< Scalar, ComponentT >::criticalTemperature ( int  compIdx = 0)
inlinestatic

◆ density() [1/3]

template<class Scalar , class ComponentT >
template<class FluidState >
static Scalar Dumux::FluidSystems::OnePGas< Scalar, ComponentT >::density ( const FluidState &  fluidState,
const int  phaseIdx 
)
inlinestatic
Parameters
fluidStateThe fluid state
phaseIdxIndex of the fluid phase

◆ density() [2/3]

static Scalar Dumux::FluidSystems::Base< Scalar , OnePGas< Scalar, ComponentT > >::density ( const FluidState &  fluidState,
const ParameterCache paramCache,
int  phaseIdx 
)
inlinestaticinherited
Parameters
fluidStateThe fluid state
paramCachemutable parameters
phaseIdxIndex of the fluid phase

◆ density() [3/3]

template<class Scalar , class ComponentT >
static Scalar Dumux::FluidSystems::OnePGas< Scalar, ComponentT >::density ( Scalar  temperature,
Scalar  pressure 
)
inlinestatic
Parameters
temperatureThe given temperature \(\mathrm{[K]}\)
pressureThe given pressure \(\mathrm{[Pa]}\)

◆ diffusionCoefficient() [1/2]

static Scalar Dumux::FluidSystems::Base< Scalar , OnePGas< Scalar, ComponentT > >::diffusionCoefficient ( const FluidState &  fluidState,
const ParameterCache paramCache,
int  phaseIdx,
int  compIdx 
)
inlinestaticinherited

Molecular diffusion of a component \(\mathrm{\kappa}\) is caused by a gradient of the chemical potential and follows the law

\[ J = - D \nabla \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.

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

◆ diffusionCoefficient() [2/2]

template<class Scalar , class ComponentT >
template<class FluidState >
static Scalar Dumux::FluidSystems::OnePGas< Scalar, ComponentT >::diffusionCoefficient ( const FluidState &  fluidState,
int  phaseIdx,
int  compIdx 
)
inlinestatic

Molecular diffusion of a component \(\mathrm{\kappa}\) is caused by a gradient of the chemical potential and follows the law

\[ J = - D \nabla \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.

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

◆ enthalpy() [1/3]

template<class Scalar , class ComponentT >
template<class FluidState >
static Scalar Dumux::FluidSystems::OnePGas< Scalar, ComponentT >::enthalpy ( const FluidState &  fluidState,
const int  phaseIdx 
)
inlinestatic
Parameters
fluidStateThe fluid state
phaseIdxIndex of the fluid phase

◆ enthalpy() [2/3]

static Scalar Dumux::FluidSystems::Base< Scalar , OnePGas< Scalar, ComponentT > >::enthalpy ( const FluidState &  fluidState,
const ParameterCache paramCache,
int  phaseIdx 
)
inlinestaticinherited
Parameters
fluidStateThe fluid state
paramCachemutable parameters
phaseIdxIndex of the fluid phase

◆ enthalpy() [3/3]

template<class Scalar , class ComponentT >
static const Scalar Dumux::FluidSystems::OnePGas< Scalar, ComponentT >::enthalpy ( Scalar  temperature,
Scalar  pressure 
)
inlinestatic
Parameters
temperatureThe given temperature \(\mathrm{[K]}\)
pressureThe given pressure \(\mathrm{[Pa]}\)

◆ fugacityCoefficient() [1/2]

static Scalar Dumux::FluidSystems::Base< Scalar , OnePGas< Scalar, ComponentT > >::fugacityCoefficient ( const FluidState &  fluidState,
const ParameterCache paramCache,
int  phaseIdx,
int  compIdx 
)
inlinestaticinherited

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

◆ fugacityCoefficient() [2/2]

template<class Scalar , class ComponentT >
template<class FluidState >
static Scalar Dumux::FluidSystems::OnePGas< Scalar, ComponentT >::fugacityCoefficient ( const FluidState &  fluidState,
int  phaseIdx,
int  compIdx 
)
inlinestatic

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

◆ getMainComponent()

static constexpr int Dumux::FluidSystems::Base< Scalar , OnePGas< Scalar, ComponentT > >::getMainComponent ( int  phaseIdx)
inlinestaticconstexprinherited
Parameters
phaseIdxThe index of the fluid phase to consider
Note
This only makes sense if this is not a tracer fluid system (then the bulk component is not balanced)

◆ heatCapacity() [1/3]

template<class Scalar , class ComponentT >
template<class FluidState >
static Scalar Dumux::FluidSystems::OnePGas< Scalar, ComponentT >::heatCapacity ( const FluidState &  fluidState,
const int  phaseIdx 
)
inlinestatic
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/3]

static Scalar Dumux::FluidSystems::Base< Scalar , OnePGas< Scalar, ComponentT > >::heatCapacity ( const FluidState &  fluidState,
const ParameterCache paramCache,
int  phaseIdx 
)
inlinestaticinherited

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} \)

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

◆ heatCapacity() [3/3]

template<class Scalar , class ComponentT >
static Scalar Dumux::FluidSystems::OnePGas< Scalar, ComponentT >::heatCapacity ( Scalar  temperature,
Scalar  pressure 
)
inlinestatic
Parameters
temperatureThe given temperature \(\mathrm{[K]}\)
pressureThe given pressure \(\mathrm{[Pa]}\)

◆ init()

template<class Scalar , class ComponentT >
static void Dumux::FluidSystems::OnePGas< Scalar, ComponentT >::init ( )
inlinestatic

◆ internalEnergy()

template<class Scalar , class ComponentT >
static const Scalar Dumux::FluidSystems::OnePGas< Scalar, ComponentT >::internalEnergy ( Scalar  temperature,
Scalar  pressure 
)
inlinestatic
Parameters
temperatureThe given temperature \(\mathrm{[K]}\)
pressureThe given pressure \(\mathrm{[Pa]}\)

◆ isCompressible()

template<class Scalar , class ComponentT >
static constexpr bool Dumux::FluidSystems::OnePGas< Scalar, ComponentT >::isCompressible ( int  phaseIdx = 0)
inlinestaticconstexpr

◆ isGas()

template<class Scalar , class ComponentT >
static constexpr bool Dumux::FluidSystems::OnePGas< Scalar, ComponentT >::isGas ( int  phaseIdx = 0)
inlinestaticconstexpr

◆ isIdealGas()

template<class Scalar , class ComponentT >
static constexpr bool Dumux::FluidSystems::OnePGas< Scalar, ComponentT >::isIdealGas ( int  phaseIdx = 0)
inlinestaticconstexpr

◆ isIdealMixture()

template<class Scalar , class ComponentT >
static constexpr bool Dumux::FluidSystems::OnePGas< Scalar, ComponentT >::isIdealMixture ( int  phaseIdx = 0)
inlinestaticconstexpr

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 only a single component is involved. 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()

template<class Scalar , class ComponentT >
static constexpr bool Dumux::FluidSystems::OnePGas< Scalar, ComponentT >::isMiscible ( )
inlinestaticconstexpr

◆ isTracerFluidSystem()

static constexpr bool Dumux::FluidSystems::Base< Scalar , OnePGas< Scalar, ComponentT > >::isTracerFluidSystem ( )
inlinestaticconstexprinherited

If the fluid system only contains tracer components

◆ molarDensity() [1/3]

template<class Scalar , class ComponentT >
template<class FluidState >
static Scalar Dumux::FluidSystems::OnePGas< Scalar, ComponentT >::molarDensity ( const FluidState &  fluidState,
const int  phaseIdx 
)
inlinestatic
Parameters
fluidStateThe fluid state
phaseIdxIndex of the fluid phase

◆ molarDensity() [2/3]

static Scalar Dumux::FluidSystems::Base< Scalar , OnePGas< Scalar, ComponentT > >::molarDensity ( const FluidState &  fluidState,
const ParameterCache paramCache,
int  phaseIdx 
)
inlinestaticinherited

The molar density is defined by the mass density \(\rho_\alpha\) and the component molar mass \(M_\alpha\) after

\[\rho_{mol,\alpha} = \frac{\rho_\alpha}{M_\alpha} \;.\]

Parameters
fluidStateThe fluid state
paramCachemutable parameters
phaseIdxIndex of the fluid phase

◆ molarDensity() [3/3]

template<class Scalar , class ComponentT >
static Scalar Dumux::FluidSystems::OnePGas< Scalar, ComponentT >::molarDensity ( Scalar  temperature,
Scalar  pressure 
)
inlinestatic

The molar density is defined by the mass density \(\rho_\alpha\) and the component molar mass \(M_\alpha\):

\[\rho_{mol,\alpha} = \frac{\rho_\alpha}{M_\alpha} \;.\]

Parameters
temperatureThe temperature at which to evaluate the molar density
pressureThe pressure at which to evaluate the molar density

◆ molarMass()

template<class Scalar , class ComponentT >
static Scalar Dumux::FluidSystems::OnePGas< Scalar, ComponentT >::molarMass ( int  compIdx = 0)
inlinestatic

◆ name()

template<class Scalar , class ComponentT >
static std::string Dumux::FluidSystems::OnePGas< Scalar, ComponentT >::name ( )
inlinestatic

◆ phaseName()

template<class Scalar , class ComponentT >
static std::string Dumux::FluidSystems::OnePGas< Scalar, ComponentT >::phaseName ( int  phaseIdx = 0)
inlinestatic
Parameters
phaseIdxThe index of the fluid phase to consider

◆ pressure()

template<class Scalar , class ComponentT >
static Scalar Dumux::FluidSystems::OnePGas< Scalar, ComponentT >::pressure ( Scalar  temperature,
Scalar  density 
)
inlinestatic
Parameters
temperatureThe given temperature \(\mathrm{[K]}\)
densityThe given density \(\mathrm{[kg/m^3]}\)

◆ thermalConductivity() [1/3]

template<class Scalar , class ComponentT >
template<class FluidState >
static Scalar Dumux::FluidSystems::OnePGas< Scalar, ComponentT >::thermalConductivity ( const FluidState &  fluidState,
const int  phaseIdx 
)
inlinestatic
Parameters
fluidStateThe fluid state
phaseIdxIndex of the fluid phase

◆ thermalConductivity() [2/3]

static Scalar Dumux::FluidSystems::Base< Scalar , OnePGas< Scalar, ComponentT > >::thermalConductivity ( const FluidState &  fluidState,
const ParameterCache paramCache,
int  phaseIdx 
)
inlinestaticinherited
Parameters
fluidStateThe fluid state
paramCachemutable parameters
phaseIdxIndex of the fluid phase

◆ thermalConductivity() [3/3]

template<class Scalar , class ComponentT >
static Scalar Dumux::FluidSystems::OnePGas< Scalar, ComponentT >::thermalConductivity ( Scalar  temperature,
Scalar  pressure 
)
inlinestatic
Parameters
temperatureThe given temperature \(\mathrm{[K]}\)
pressureThe given pressure \(\mathrm{[Pa]}\)

◆ triplePressure()

template<class Scalar , class ComponentT >
static Scalar Dumux::FluidSystems::OnePGas< Scalar, ComponentT >::triplePressure ( int  compIdx = 0)
inlinestatic

◆ tripleTemperature()

template<class Scalar , class ComponentT >
static Scalar Dumux::FluidSystems::OnePGas< Scalar, ComponentT >::tripleTemperature ( int  compIdx = 0)
inlinestatic

◆ vaporPressure()

template<class Scalar , class ComponentT >
static Scalar Dumux::FluidSystems::OnePGas< Scalar, ComponentT >::vaporPressure ( Scalar  T)
inlinestatic
Parameters
Ttemperature \(\mathrm{[K]}\)

◆ viscosity() [1/3]

template<class Scalar , class ComponentT >
template<class FluidState >
static Scalar Dumux::FluidSystems::OnePGas< Scalar, ComponentT >::viscosity ( const FluidState &  fluidState,
const int  phaseIdx 
)
inlinestatic
Parameters
fluidStateThe fluid state
phaseIdxIndex of the fluid phase

◆ viscosity() [2/3]

static Scalar Dumux::FluidSystems::Base< Scalar , OnePGas< Scalar, ComponentT > >::viscosity ( const FluidState &  fluidState,
const ParameterCache paramCache,
int  phaseIdx 
)
inlinestaticinherited
Parameters
fluidStateThe fluid state
paramCachemutable parameters
phaseIdxIndex of the fluid phase

◆ viscosity() [3/3]

template<class Scalar , class ComponentT >
static Scalar Dumux::FluidSystems::OnePGas< Scalar, ComponentT >::viscosity ( Scalar  temperature,
Scalar  pressure 
)
inlinestatic
Parameters
temperatureThe given temperature \(\mathrm{[K]}\)
pressureThe given pressure \(\mathrm{[Pa]}\)

◆ viscosityIsConstant()

template<class Scalar , class ComponentT >
static constexpr bool Dumux::FluidSystems::OnePGas< Scalar, ComponentT >::viscosityIsConstant ( int  phaseIdx)
inlinestaticconstexpr
Parameters
phaseIdxThe index of the fluid phase to consider

Member Data Documentation

◆ comp0Idx

template<class Scalar , class ComponentT >
constexpr int Dumux::FluidSystems::OnePGas< Scalar, ComponentT >::comp0Idx = 0
staticconstexpr

◆ numComponents

template<class Scalar , class ComponentT >
constexpr int Dumux::FluidSystems::OnePGas< Scalar, ComponentT >::numComponents = 1
staticconstexpr

◆ numPhases

template<class Scalar , class ComponentT >
constexpr int Dumux::FluidSystems::OnePGas< Scalar, ComponentT >::numPhases = 1
staticconstexpr

◆ phase0Idx

template<class Scalar , class ComponentT >
constexpr int Dumux::FluidSystems::OnePGas< Scalar, ComponentT >::phase0Idx = 0
staticconstexpr

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