version 3.10-dev
Dumux::FluidSystems::ThreePImmiscible< Scalar, WettingFluid, NonwettingFluid, Gas > Class Template Reference

A fluid system for three-phase models assuming immiscibility and thermodynamic equilibrium. More...

#include <dumux/material/fluidsystems/3pimmiscible.hh>

Inheritance diagram for Dumux::FluidSystems::ThreePImmiscible< Scalar, WettingFluid, NonwettingFluid, Gas >:

Description

template<class Scalar, class WettingFluid, class NonwettingFluid, class Gas>
class Dumux::FluidSystems::ThreePImmiscible< Scalar, WettingFluid, NonwettingFluid, Gas >

The fluid phases are completely specified by means of their constituting components. The wetting and the nonwetting phase can be defined individually via FluidSystem::OnePLiquid<Scalar, Component>. The gas phase can be defined via FluidSystems::OnePGas<Scalar, Component> These phases consist of one pure component.

Template Parameters
Scalarthe scalar type
WettingFluidthe wetting phase fluid system (use FluidSystem::OnePLiquid<Scalar, Component>)
NonwettingFluidthe wetting phase fluid system (use FluidSystem::OnePLiquid<Scalar, Component>)
Gasthe gas phase fluid system (use FluidSystem::OnePGas<Scalar, Component>)

Public Types

using Scalar = Scalar
 export the scalar type More...
 
using ParameterCache = NullParameterCache
 The type of parameter cache objects. More...
 

Static Public Member Functions

static std::string phaseName (int phaseIdx)
 Return the human readable name of a fluid phase. More...
 
static constexpr bool isMiscible ()
 Returns whether the fluids are miscible. More...
 
static constexpr bool isGas (int phaseIdx)
 Return whether a phase is gaseous. More...
 
static constexpr bool isIdealMixture (int phaseIdx)
 Returns true if and only if a fluid phase is assumed to be an ideal mixture. More...
 
static constexpr bool isCompressible (int phaseIdx)
 Returns true if and only if a fluid phase is assumed to be compressible. More...
 
static constexpr bool isIdealGas (int phaseIdx)
 Returns true if and only if a fluid phase is assumed to be an ideal gas. More...
 
static std::string componentName (int compIdx)
 Return the human readable name of a component. More...
 
static Scalar molarMass (int compIdx)
 Return the molar mass of a component in \(\mathrm{[kg/mol]}\). More...
 
static Scalar criticalTemperature (int compIdx)
 Critical temperature of a component \(\mathrm{[K]}\). More...
 
static Scalar criticalPressure (int compIdx)
 Critical pressure of a component \(\mathrm{[Pa]}\). More...
 
static Scalar acentricFactor (int compIdx)
 The acentric factor of a component \(\mathrm{[-]}\). More...
 
static constexpr void init ()
 Initialize the fluid system's static parameters. More...
 
static void init (Scalar tempMin, Scalar tempMax, unsigned nTemp, Scalar pressMin, Scalar pressMax, unsigned nPress)
 Initialize the fluid system's static parameters using problem specific temperature and pressure ranges. More...
 
template<class FluidState >
static Scalar density (const FluidState &fluidState, int phaseIdx)
 Calculate the density \(\mathrm{[kg/m^3]}\) of a fluid phase. More...
 
template<class FluidState >
static Scalar molarDensity (const FluidState &fluidState, int phaseIdx)
 The molar density \(\rho_{mol,\alpha}\) of a fluid phase \(\alpha\) in \(\mathrm{[mol/m^3]}\). More...
 
template<class FluidState >
static Scalar viscosity (const FluidState &fluidState, int phaseIdx)
 Return the viscosity of a phase \(\mathrm{[Pa*s]}\). More...
 
template<class FluidState >
static Scalar fugacityCoefficient (const FluidState &fluidState, int phaseIdx, int compIdx)
 Calculate the fugacity coefficient \(\mathrm{[-]}\) 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...
 
template<class FluidState >
static Scalar enthalpy (const FluidState &fluidState, int phaseIdx)
 Return the specific enthalpy of a fluid phase \(\mathrm{[J/kg]}\). More...
 
template<class FluidState >
static Scalar thermalConductivity (const FluidState &fluidState, int phaseIdx)
 Thermal conductivity of a fluid phase \(\mathrm{[W/(m K)]}\). More...
 
template<class FluidState >
static Scalar heatCapacity (const FluidState &fluidState, int phaseIdx)
 Thermal conductivity \(\lambda_\alpha \) of a fluid phase \(\mathrm{[W/(m 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 constexpr bool viscosityIsConstant (int phaseIdx)
 Returns true if and only if a fluid phase is assumed to have a constant viscosity. 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 = 3
 Number of phases in the fluid system. More...
 
static constexpr int wPhaseIdx = 0
 Index of the wetting phase. More...
 
static constexpr int nPhaseIdx = 1
 Index of the nonwetting phase. More...
 
static constexpr int gPhaseIdx = 2
 Index of the gas phase. More...
 
static constexpr int numComponents = 3
 Number of components in the fluid system. More...
 
static constexpr int wCompIdx = 0
 Index of the wetting phase's component. More...
 
static constexpr int nCompIdx = 1
 Index of the nonwetting phase's component. More...
 
static constexpr int gCompIdx = 2
 Index of the gas phase's component. More...
 

Member Typedef Documentation

◆ ParameterCache

using Dumux::FluidSystems::Base< Scalar , ThreePImmiscible< Scalar, WettingFluid, NonwettingFluid, Gas > >::ParameterCache = NullParameterCache
inherited

◆ Scalar

using Dumux::FluidSystems::Base< Scalar , ThreePImmiscible< Scalar, WettingFluid, NonwettingFluid, Gas > >::Scalar = Scalar
inherited

Member Function Documentation

◆ acentricFactor()

template<class Scalar , class WettingFluid , class NonwettingFluid , class Gas >
static Scalar Dumux::FluidSystems::ThreePImmiscible< Scalar, WettingFluid, NonwettingFluid, Gas >::acentricFactor ( int  compIdx)
inlinestatic
Parameters
compIdxindex of the component

◆ binaryDiffusionCoefficient() [1/2]

static Scalar Dumux::FluidSystems::Base< Scalar , ThreePImmiscible< Scalar, WettingFluid, NonwettingFluid, Gas > >::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 WettingFluid , class NonwettingFluid , class Gas >
template<class FluidState >
static Scalar Dumux::FluidSystems::ThreePImmiscible< Scalar, WettingFluid, NonwettingFluid, Gas >::binaryDiffusionCoefficient ( const FluidState &  fluidState,
int  phaseIdx,
int  compIIdx,
int  compJIdx 
)
inlinestatic
Parameters
fluidStateThe fluid state of the two-phase model
phaseIdxIndex of the fluid phase
compIIdxindex of the component i
compJIdxindex of the component j

◆ componentName()

template<class Scalar , class WettingFluid , class NonwettingFluid , class Gas >
static std::string Dumux::FluidSystems::ThreePImmiscible< Scalar, WettingFluid, NonwettingFluid, Gas >::componentName ( int  compIdx)
inlinestatic
Parameters
compIdxindex of the component

◆ criticalPressure()

template<class Scalar , class WettingFluid , class NonwettingFluid , class Gas >
static Scalar Dumux::FluidSystems::ThreePImmiscible< Scalar, WettingFluid, NonwettingFluid, Gas >::criticalPressure ( int  compIdx)
inlinestatic
Parameters
compIdxindex of the component

◆ criticalTemperature()

template<class Scalar , class WettingFluid , class NonwettingFluid , class Gas >
static Scalar Dumux::FluidSystems::ThreePImmiscible< Scalar, WettingFluid, NonwettingFluid, Gas >::criticalTemperature ( int  compIdx)
inlinestatic
Parameters
compIdxindex of the component

◆ density() [1/2]

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

◆ density() [2/2]

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

◆ diffusionCoefficient() [1/2]

static Scalar Dumux::FluidSystems::Base< Scalar , ThreePImmiscible< Scalar, WettingFluid, NonwettingFluid, Gas > >::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 WettingFluid , class NonwettingFluid , class Gas >
template<class FluidState >
static Scalar Dumux::FluidSystems::ThreePImmiscible< Scalar, WettingFluid, NonwettingFluid, Gas >::diffusionCoefficient ( const FluidState &  fluidState,
int  phaseIdx,
int  compIdx 
)
inlinestatic
Parameters
fluidStateThe fluid state of the two-phase model
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 \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.

◆ enthalpy() [1/2]

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

◆ enthalpy() [2/2]

template<class Scalar , class WettingFluid , class NonwettingFluid , class Gas >
template<class FluidState >
static Scalar Dumux::FluidSystems::ThreePImmiscible< Scalar, WettingFluid, NonwettingFluid, Gas >::enthalpy ( const FluidState &  fluidState,
int  phaseIdx 
)
inlinestatic
Parameters
fluidStateThe fluid state of the two-phase model
phaseIdxIndex of the fluid phase

◆ fugacityCoefficient() [1/2]

static Scalar Dumux::FluidSystems::Base< Scalar , ThreePImmiscible< Scalar, WettingFluid, NonwettingFluid, Gas > >::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 WettingFluid , class NonwettingFluid , class Gas >
template<class FluidState >
static Scalar Dumux::FluidSystems::ThreePImmiscible< Scalar, WettingFluid, NonwettingFluid, Gas >::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 of the two-phase model
phaseIdxIndex of the fluid phase
compIdxindex of the component

◆ getMainComponent()

static constexpr int Dumux::FluidSystems::Base< Scalar , ThreePImmiscible< Scalar, WettingFluid, NonwettingFluid, Gas > >::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/2]

static Scalar Dumux::FluidSystems::Base< Scalar , ThreePImmiscible< Scalar, WettingFluid, NonwettingFluid, Gas > >::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() [2/2]

template<class Scalar , class WettingFluid , class NonwettingFluid , class Gas >
template<class FluidState >
static Scalar Dumux::FluidSystems::ThreePImmiscible< Scalar, WettingFluid, NonwettingFluid, Gas >::heatCapacity ( const FluidState &  fluidState,
int  phaseIdx 
)
inlinestatic

Additional comments:

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

Parameters
fluidStateThe fluid state of the two-phase model
phaseIdxfor which phase to give back the heat capacity

◆ init() [1/2]

template<class Scalar , class WettingFluid , class NonwettingFluid , class Gas >
static constexpr void Dumux::FluidSystems::ThreePImmiscible< Scalar, WettingFluid, NonwettingFluid, Gas >::init ( )
inlinestaticconstexpr

◆ init() [2/2]

template<class Scalar , class WettingFluid , class NonwettingFluid , class Gas >
static void Dumux::FluidSystems::ThreePImmiscible< Scalar, WettingFluid, NonwettingFluid, Gas >::init ( Scalar  tempMin,
Scalar  tempMax,
unsigned  nTemp,
Scalar  pressMin,
Scalar  pressMax,
unsigned  nPress 
)
inlinestatic
Parameters
tempMinThe minimum temperature used for tabulation of water \(\mathrm{[K]}\)
tempMaxThe maximum temperature used for tabulation of water \(\mathrm{[K]}\)
nTempThe number of ticks on the temperature axis of the table of water
pressMinThe minimum pressure used for tabulation of water \(\mathrm{[Pa]}\)
pressMaxThe maximum pressure used for tabulation of water \(\mathrm{[Pa]}\)
nPressThe number of ticks on the pressure axis of the table of water

◆ isCompressible()

template<class Scalar , class WettingFluid , class NonwettingFluid , class Gas >
static constexpr bool Dumux::FluidSystems::ThreePImmiscible< Scalar, WettingFluid, NonwettingFluid, Gas >::isCompressible ( int  phaseIdx)
inlinestaticconstexpr

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()

template<class Scalar , class WettingFluid , class NonwettingFluid , class Gas >
static constexpr bool Dumux::FluidSystems::ThreePImmiscible< Scalar, WettingFluid, NonwettingFluid, Gas >::isGas ( int  phaseIdx)
inlinestaticconstexpr
Parameters
phaseIdxThe index of the fluid phase to consider

◆ isIdealGas()

template<class Scalar , class WettingFluid , class NonwettingFluid , class Gas >
static constexpr bool Dumux::FluidSystems::ThreePImmiscible< Scalar, WettingFluid, NonwettingFluid, Gas >::isIdealGas ( int  phaseIdx)
inlinestaticconstexpr
Parameters
phaseIdxThe index of the fluid phase to consider

◆ isIdealMixture()

template<class Scalar , class WettingFluid , class NonwettingFluid , class Gas >
static constexpr bool Dumux::FluidSystems::ThreePImmiscible< Scalar, WettingFluid, NonwettingFluid, Gas >::isIdealMixture ( int  phaseIdx)
inlinestaticconstexpr
Parameters
phaseIdxThe index of the fluid phase to consider

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 immiscibility is assumed. 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.

◆ isMiscible()

template<class Scalar , class WettingFluid , class NonwettingFluid , class Gas >
static constexpr bool Dumux::FluidSystems::ThreePImmiscible< Scalar, WettingFluid, NonwettingFluid, Gas >::isMiscible ( )
inlinestaticconstexpr

◆ isTracerFluidSystem()

static constexpr bool Dumux::FluidSystems::Base< Scalar , ThreePImmiscible< Scalar, WettingFluid, NonwettingFluid, Gas > >::isTracerFluidSystem ( )
inlinestaticconstexprinherited

If the fluid system only contains tracer components

◆ molarDensity() [1/2]

static Scalar Dumux::FluidSystems::Base< Scalar , ThreePImmiscible< Scalar, WettingFluid, NonwettingFluid, Gas > >::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() [2/2]

template<class Scalar , class WettingFluid , class NonwettingFluid , class Gas >
template<class FluidState >
static Scalar Dumux::FluidSystems::ThreePImmiscible< Scalar, WettingFluid, NonwettingFluid, Gas >::molarDensity ( const FluidState &  fluidState,
int  phaseIdx 
)
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} \;.\]

◆ molarMass()

template<class Scalar , class WettingFluid , class NonwettingFluid , class Gas >
static Scalar Dumux::FluidSystems::ThreePImmiscible< Scalar, WettingFluid, NonwettingFluid, Gas >::molarMass ( int  compIdx)
inlinestatic
Parameters
compIdxindex of the component

◆ phaseName()

template<class Scalar , class WettingFluid , class NonwettingFluid , class Gas >
static std::string Dumux::FluidSystems::ThreePImmiscible< Scalar, WettingFluid, NonwettingFluid, Gas >::phaseName ( int  phaseIdx)
inlinestatic
Parameters
phaseIdxThe index of the fluid phase to consider

◆ thermalConductivity() [1/2]

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

◆ thermalConductivity() [2/2]

template<class Scalar , class WettingFluid , class NonwettingFluid , class Gas >
template<class FluidState >
static Scalar Dumux::FluidSystems::ThreePImmiscible< Scalar, WettingFluid, NonwettingFluid, Gas >::thermalConductivity ( const FluidState &  fluidState,
int  phaseIdx 
)
inlinestatic
Parameters
fluidStateThe fluid state of the two-phase model
phaseIdxIndex of the fluid phase

◆ viscosity() [1/2]

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

◆ viscosity() [2/2]

template<class Scalar , class WettingFluid , class NonwettingFluid , class Gas >
template<class FluidState >
static Scalar Dumux::FluidSystems::ThreePImmiscible< Scalar, WettingFluid, NonwettingFluid, Gas >::viscosity ( const FluidState &  fluidState,
int  phaseIdx 
)
inlinestatic
Parameters
fluidStateThe fluid state of the two-phase model
phaseIdxIndex of the fluid phase

◆ viscosityIsConstant()

static constexpr bool Dumux::FluidSystems::Base< Scalar , ThreePImmiscible< Scalar, WettingFluid, NonwettingFluid, Gas > >::viscosityIsConstant ( int  phaseIdx)
inlinestaticconstexprinherited
Parameters
phaseIdxThe index of the fluid phase to consider

Member Data Documentation

◆ gCompIdx

template<class Scalar , class WettingFluid , class NonwettingFluid , class Gas >
constexpr int Dumux::FluidSystems::ThreePImmiscible< Scalar, WettingFluid, NonwettingFluid, Gas >::gCompIdx = 2
staticconstexpr

◆ gPhaseIdx

template<class Scalar , class WettingFluid , class NonwettingFluid , class Gas >
constexpr int Dumux::FluidSystems::ThreePImmiscible< Scalar, WettingFluid, NonwettingFluid, Gas >::gPhaseIdx = 2
staticconstexpr

◆ nCompIdx

template<class Scalar , class WettingFluid , class NonwettingFluid , class Gas >
constexpr int Dumux::FluidSystems::ThreePImmiscible< Scalar, WettingFluid, NonwettingFluid, Gas >::nCompIdx = 1
staticconstexpr

◆ nPhaseIdx

template<class Scalar , class WettingFluid , class NonwettingFluid , class Gas >
constexpr int Dumux::FluidSystems::ThreePImmiscible< Scalar, WettingFluid, NonwettingFluid, Gas >::nPhaseIdx = 1
staticconstexpr

◆ numComponents

template<class Scalar , class WettingFluid , class NonwettingFluid , class Gas >
constexpr int Dumux::FluidSystems::ThreePImmiscible< Scalar, WettingFluid, NonwettingFluid, Gas >::numComponents = 3
staticconstexpr

◆ numPhases

template<class Scalar , class WettingFluid , class NonwettingFluid , class Gas >
constexpr int Dumux::FluidSystems::ThreePImmiscible< Scalar, WettingFluid, NonwettingFluid, Gas >::numPhases = 3
staticconstexpr

◆ wCompIdx

template<class Scalar , class WettingFluid , class NonwettingFluid , class Gas >
constexpr int Dumux::FluidSystems::ThreePImmiscible< Scalar, WettingFluid, NonwettingFluid, Gas >::wCompIdx = 0
staticconstexpr

◆ wPhaseIdx

template<class Scalar , class WettingFluid , class NonwettingFluid , class Gas >
constexpr int Dumux::FluidSystems::ThreePImmiscible< Scalar, WettingFluid, NonwettingFluid, Gas >::wPhaseIdx = 0
staticconstexpr

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