version 3.9-dev
Dumux::FluidSystems::H2OHeavyOil< Scalar, H2OType > Class Template Reference

A compositional fluid system with water and heavy oil components in both the liquid and the gas phase.

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

Inheritance diagram for Dumux::FluidSystems::H2OHeavyOil< Scalar, H2OType >:

Public Types

using HeavyOil = Dumux::Components::HeavyOil< Scalar >
 
using H2O = H2OType
 
using Scalar = Scalar
 export the scalar type More...
 
using ParameterCache = NullParameterCache
 The type of parameter cache objects. More...
 

Static Public Member Functions

static void init ()
 Initialize the fluid system's static parameters generically. 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...
 
static constexpr int getMainComponent (int phaseIdx)
 Get the main component of a given 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 bool isIdealGas (int phaseIdx)
 Returns true if and only if a fluid phase is assumed to be an ideal gas. More...
 
static 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 std::string phaseName (int phaseIdx)
 Return the human readable name of a phase (used in indices) More...
 
static std::string componentName (int compIdx)
 Return the human readable name of a component (used in indices) More...
 
static Scalar molarMass (int compIdx)
 Return the molar mass of a component in [kg/mol]. 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)
 Calculate the molar density \(\mathrm{[mol/m^3]}\) of a fluid phase. More...
 
template<class FluidState >
static Scalar viscosity (const FluidState &fluidState, int phaseIdx)
 Calculate the dynamic viscosity of a fluid phase \(\mathrm{[Pa*s]}\). 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 diffusionCoefficient (const FluidState &fluidState, int phaseIdx)
 Calculate the molecular diffusion coefficient for a component in a fluid phase \(\mathrm{[mol^2 * s / (kg*m^3)]}\). More...
 
template<class FluidState >
static Scalar henryCoefficient (const FluidState &fluidState, int phaseIdx, int compIdx)
 Henry coefficients \([N/m^2]\) of a component in a phase. More...
 
template<class FluidState >
static Scalar partialPressureGas (const FluidState &fluidState, int phaseIdx, int compIdx)
 Partial pressures in the gas phase, taken from saturation vapor pressures. More...
 
template<class FluidState >
static Scalar inverseVaporPressureCurve (const FluidState &fluidState, int phaseIdx, int compIdx)
 Inverse vapor pressures, taken from inverse saturation vapor pressures. More...
 
template<class FluidState >
static Scalar enthalpy (const FluidState &fluidState, int phaseIdx)
 Given all mole fractions in a phase, return the specific phase enthalpy \(\mathrm{[J/kg]}\). More...
 
template<class FluidState >
static Scalar componentEnthalpy (const FluidState &fluidState, int phaseIdx, int componentIdx)
 Returns the specific enthalpy \(\mathrm{[J/kg]}\) of a component in a specific phase. More...
 
template<class FluidState >
static Scalar heatCapacity (const FluidState &fluidState, int phaseIdx)
 Specific isobaric heat capacity \(c_{p,\alpha}\) of a fluid phase \(\mathrm{[J/(kg*K)]}\). More...
 
template<class FluidState >
static Scalar thermalConductivity (const FluidState &fluidState, int phaseIdx)
 Thermal conductivity of a fluid phase \(\mathrm{[W/(m K)]}\). More...
 
static constexpr bool isTracerFluidSystem ()
 Some properties of the fluid system. 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, int phaseIdx, int compIdx)
 Calculate the fugacity coefficient \(\mathrm{[Pa]}\) of an individual component in 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, 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 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 const int numPhases = 3
 
static const int numComponents = 2
 
static const int wPhaseIdx = 0
 
static const int nPhaseIdx = 1
 
static const int gPhaseIdx = 2
 
static const int H2OIdx = 0
 
static const int NAPLIdx = 1
 
static const int wCompIdx = H2OIdx
 
static const int nCompIdx = NAPLIdx
 

Member Typedef Documentation

◆ H2O

template<class Scalar , class H2OType = Dumux::Components::TabulatedComponent<Dumux::Components::H2O<Scalar> >>
using Dumux::FluidSystems::H2OHeavyOil< Scalar, H2OType >::H2O = H2OType

◆ HeavyOil

template<class Scalar , class H2OType = Dumux::Components::TabulatedComponent<Dumux::Components::H2O<Scalar> >>
using Dumux::FluidSystems::H2OHeavyOil< Scalar, H2OType >::HeavyOil = Dumux::Components::HeavyOil<Scalar>

◆ ParameterCache

◆ Scalar

Member Function Documentation

◆ binaryDiffusionCoefficient() [1/2]

static Scalar Dumux::FluidSystems::Base< Scalar , H2OHeavyOil< Scalar, Dumux::Components::TabulatedComponent< Dumux::Components::H2O< Scalar > > > >::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 H2OType = Dumux::Components::TabulatedComponent<Dumux::Components::H2O<Scalar> >>
template<class FluidState >
static Scalar Dumux::FluidSystems::H2OHeavyOil< Scalar, H2OType >::binaryDiffusionCoefficient ( const FluidState &  fluidState,
int  phaseIdx,
int  compIIdx,
int  compJIdx 
)
inlinestatic

Be aware that in this case there are only two components in three phases. Therefore, we assume the diffusion to simply be the binary diffusion coefficients. This was previously implemented in diffusionCoefficient(), but is now moved.

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

◆ componentEnthalpy()

template<class Scalar , class H2OType = Dumux::Components::TabulatedComponent<Dumux::Components::H2O<Scalar> >>
template<class FluidState >
static Scalar Dumux::FluidSystems::H2OHeavyOil< Scalar, H2OType >::componentEnthalpy ( const FluidState &  fluidState,
int  phaseIdx,
int  componentIdx 
)
inlinestatic
Parameters
fluidStateThe fluid state
phaseIdxThe index of the phase
componentIdxThe index of the component

◆ componentName()

template<class Scalar , class H2OType = Dumux::Components::TabulatedComponent<Dumux::Components::H2O<Scalar> >>
static std::string Dumux::FluidSystems::H2OHeavyOil< Scalar, H2OType >::componentName ( int  compIdx)
inlinestatic

◆ density() [1/2]

static Scalar Dumux::FluidSystems::Base< Scalar , H2OHeavyOil< Scalar, Dumux::Components::TabulatedComponent< Dumux::Components::H2O< Scalar > > > >::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 H2OType = Dumux::Components::TabulatedComponent<Dumux::Components::H2O<Scalar> >>
template<class FluidState >
static Scalar Dumux::FluidSystems::H2OHeavyOil< Scalar, H2OType >::density ( const FluidState &  fluidState,
int  phaseIdx 
)
inlinestatic
Parameters
fluidStateThe fluid state
phaseIdxIndex of the fluid phase

◆ diffusionCoefficient() [1/3]

static Scalar Dumux::FluidSystems::Base< Scalar , H2OHeavyOil< Scalar, Dumux::Components::TabulatedComponent< Dumux::Components::H2O< Scalar > > > >::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/3]

template<class Scalar , class H2OType = Dumux::Components::TabulatedComponent<Dumux::Components::H2O<Scalar> >>
template<class FluidState >
static Scalar Dumux::FluidSystems::H2OHeavyOil< Scalar, H2OType >::diffusionCoefficient ( const FluidState &  fluidState,
int  phaseIdx 
)
inlinestatic
Parameters
fluidStateThe fluid state
phaseIdxIndex of the fluid phase

◆ diffusionCoefficient() [3/3]

static Scalar Dumux::FluidSystems::Base< Scalar , H2OHeavyOil< Scalar, Dumux::Components::TabulatedComponent< Dumux::Components::H2O< Scalar > > > >::diffusionCoefficient ( const FluidState &  fluidState,
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
phaseIdxIndex of the fluid phase
compIdxIndex of the component

◆ enthalpy() [1/2]

static Scalar Dumux::FluidSystems::Base< Scalar , H2OHeavyOil< Scalar, Dumux::Components::TabulatedComponent< Dumux::Components::H2O< Scalar > > > >::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 H2OType = Dumux::Components::TabulatedComponent<Dumux::Components::H2O<Scalar> >>
template<class FluidState >
static Scalar Dumux::FluidSystems::H2OHeavyOil< Scalar, H2OType >::enthalpy ( const FluidState &  fluidState,
int  phaseIdx 
)
inlinestatic
Parameters
fluidStateAn arbitrary fluid state
phaseIdxThe index of the phase to consider

◆ fugacityCoefficient() [1/2]

static Scalar Dumux::FluidSystems::Base< Scalar , H2OHeavyOil< Scalar, Dumux::Components::TabulatedComponent< Dumux::Components::H2O< Scalar > > > >::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]

static Scalar Dumux::FluidSystems::Base< Scalar , H2OHeavyOil< Scalar, Dumux::Components::TabulatedComponent< Dumux::Components::H2O< Scalar > > > >::fugacityCoefficient ( const FluidState &  fluidState,
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
phaseIdxIndex of the fluid phase
compIdxIndex of the component

◆ getMainComponent()

template<class Scalar , class H2OType = Dumux::Components::TabulatedComponent<Dumux::Components::H2O<Scalar> >>
static constexpr int Dumux::FluidSystems::H2OHeavyOil< Scalar, H2OType >::getMainComponent ( int  phaseIdx)
inlinestaticconstexpr
Parameters
phaseIdxThe index of the fluid phase to consider

◆ heatCapacity() [1/2]

static Scalar Dumux::FluidSystems::Base< Scalar , H2OHeavyOil< Scalar, Dumux::Components::TabulatedComponent< Dumux::Components::H2O< Scalar > > > >::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 H2OType = Dumux::Components::TabulatedComponent<Dumux::Components::H2O<Scalar> >>
template<class FluidState >
static Scalar Dumux::FluidSystems::H2OHeavyOil< Scalar, H2OType >::heatCapacity ( const FluidState &  fluidState,
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} \)

◆ henryCoefficient()

template<class Scalar , class H2OType = Dumux::Components::TabulatedComponent<Dumux::Components::H2O<Scalar> >>
template<class FluidState >
static Scalar Dumux::FluidSystems::H2OHeavyOil< Scalar, H2OType >::henryCoefficient ( const FluidState &  fluidState,
int  phaseIdx,
int  compIdx 
)
inlinestatic
Parameters
fluidStateAn arbitrary fluid state
phaseIdxThe index of the phase to consider
compIdxThe index of the component to consider

◆ init() [1/2]

template<class Scalar , class H2OType = Dumux::Components::TabulatedComponent<Dumux::Components::H2O<Scalar> >>
static void Dumux::FluidSystems::H2OHeavyOil< Scalar, H2OType >::init ( )
inlinestatic

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

◆ init() [2/2]

template<class Scalar , class H2OType = Dumux::Components::TabulatedComponent<Dumux::Components::H2O<Scalar> >>
static void Dumux::FluidSystems::H2OHeavyOil< Scalar, H2OType >::init ( Scalar  tempMin,
Scalar  tempMax,
unsigned  nTemp,
Scalar  pressMin,
Scalar  pressMax,
unsigned  nPress 
)
inlinestatic
Parameters
tempMinThe minimum temperature used for tabulation of water [K]
tempMaxThe maximum temperature used for tabulation of water [K]
nTempThe number of ticks on the temperature axis of the table of water
pressMinThe minimum pressure used for tabulation of water [Pa]
pressMaxThe maximum pressure used for tabulation of water [Pa]
nPressThe number of ticks on the pressure axis of the table of water

◆ inverseVaporPressureCurve()

template<class Scalar , class H2OType = Dumux::Components::TabulatedComponent<Dumux::Components::H2O<Scalar> >>
template<class FluidState >
static Scalar Dumux::FluidSystems::H2OHeavyOil< Scalar, H2OType >::inverseVaporPressureCurve ( const FluidState &  fluidState,
int  phaseIdx,
int  compIdx 
)
inlinestatic
Parameters
fluidStateAn arbitrary fluid state
phaseIdxThe index of the phase to consider
compIdxThe index of the component to consider

◆ isCompressible()

template<class Scalar , class H2OType = Dumux::Components::TabulatedComponent<Dumux::Components::H2O<Scalar> >>
static constexpr bool Dumux::FluidSystems::H2OHeavyOil< Scalar, H2OType >::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 H2OType = Dumux::Components::TabulatedComponent<Dumux::Components::H2O<Scalar> >>
static constexpr bool Dumux::FluidSystems::H2OHeavyOil< Scalar, H2OType >::isGas ( int  phaseIdx)
inlinestaticconstexpr
Parameters
phaseIdxThe index of the fluid phase to consider

◆ isIdealGas()

template<class Scalar , class H2OType = Dumux::Components::TabulatedComponent<Dumux::Components::H2O<Scalar> >>
static bool Dumux::FluidSystems::H2OHeavyOil< Scalar, H2OType >::isIdealGas ( int  phaseIdx)
inlinestatic
Parameters
phaseIdxThe index of the fluid phase to consider

◆ isIdealMixture()

template<class Scalar , class H2OType = Dumux::Components::TabulatedComponent<Dumux::Components::H2O<Scalar> >>
static bool Dumux::FluidSystems::H2OHeavyOil< Scalar, H2OType >::isIdealMixture ( int  phaseIdx)
inlinestatic

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

template<class Scalar , class H2OType = Dumux::Components::TabulatedComponent<Dumux::Components::H2O<Scalar> >>
static constexpr bool Dumux::FluidSystems::H2OHeavyOil< Scalar, H2OType >::isMiscible ( )
inlinestaticconstexpr

◆ isTracerFluidSystem()

static constexpr bool Dumux::FluidSystems::Base< Scalar , H2OHeavyOil< Scalar, Dumux::Components::TabulatedComponent< Dumux::Components::H2O< Scalar > > > >::isTracerFluidSystem ( )
inlinestaticconstexprinherited

If the fluid system only contains tracer components

◆ molarDensity() [1/2]

static Scalar Dumux::FluidSystems::Base< Scalar , H2OHeavyOil< Scalar, Dumux::Components::TabulatedComponent< Dumux::Components::H2O< Scalar > > > >::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 H2OType = Dumux::Components::TabulatedComponent<Dumux::Components::H2O<Scalar> >>
template<class FluidState >
static Scalar Dumux::FluidSystems::H2OHeavyOil< Scalar, H2OType >::molarDensity ( const FluidState &  fluidState,
int  phaseIdx 
)
inlinestatic
Parameters
fluidStateThe fluid state
phaseIdxIndex of the fluid phase

◆ molarMass()

template<class Scalar , class H2OType = Dumux::Components::TabulatedComponent<Dumux::Components::H2O<Scalar> >>
static Scalar Dumux::FluidSystems::H2OHeavyOil< Scalar, H2OType >::molarMass ( int  compIdx)
inlinestatic

◆ partialPressureGas()

template<class Scalar , class H2OType = Dumux::Components::TabulatedComponent<Dumux::Components::H2O<Scalar> >>
template<class FluidState >
static Scalar Dumux::FluidSystems::H2OHeavyOil< Scalar, H2OType >::partialPressureGas ( const FluidState &  fluidState,
int  phaseIdx,
int  compIdx 
)
inlinestatic
Parameters
fluidStateAn arbitrary fluid state
phaseIdxThe index of the phase to consider
compIdxThe index of the component to consider

◆ phaseName()

template<class Scalar , class H2OType = Dumux::Components::TabulatedComponent<Dumux::Components::H2O<Scalar> >>
static std::string Dumux::FluidSystems::H2OHeavyOil< Scalar, H2OType >::phaseName ( int  phaseIdx)
inlinestatic

◆ thermalConductivity() [1/2]

static Scalar Dumux::FluidSystems::Base< Scalar , H2OHeavyOil< Scalar, Dumux::Components::TabulatedComponent< Dumux::Components::H2O< Scalar > > > >::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 H2OType = Dumux::Components::TabulatedComponent<Dumux::Components::H2O<Scalar> >>
template<class FluidState >
static Scalar Dumux::FluidSystems::H2OHeavyOil< Scalar, H2OType >::thermalConductivity ( const FluidState &  fluidState,
int  phaseIdx 
)
inlinestatic

Use the conductivity of water (wPhase and gPhase) and oil (nPhase) as a first approximation.

Parameters
fluidStateAn arbitrary fluid state
phaseIdxThe index of the fluid phase to consider

◆ viscosity() [1/2]

static Scalar Dumux::FluidSystems::Base< Scalar , H2OHeavyOil< Scalar, Dumux::Components::TabulatedComponent< Dumux::Components::H2O< Scalar > > > >::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 H2OType = Dumux::Components::TabulatedComponent<Dumux::Components::H2O<Scalar> >>
template<class FluidState >
static Scalar Dumux::FluidSystems::H2OHeavyOil< Scalar, H2OType >::viscosity ( const FluidState &  fluidState,
int  phaseIdx 
)
inlinestatic
Parameters
fluidStateThe fluid state
phaseIdxIndex of the fluid phase

◆ viscosityIsConstant()

static constexpr bool Dumux::FluidSystems::Base< Scalar , H2OHeavyOil< Scalar, Dumux::Components::TabulatedComponent< Dumux::Components::H2O< Scalar > > > >::viscosityIsConstant ( int  phaseIdx)
inlinestaticconstexprinherited
Parameters
phaseIdxThe index of the fluid phase to consider

Member Data Documentation

◆ gPhaseIdx

template<class Scalar , class H2OType = Dumux::Components::TabulatedComponent<Dumux::Components::H2O<Scalar> >>
const int Dumux::FluidSystems::H2OHeavyOil< Scalar, H2OType >::gPhaseIdx = 2
static

◆ H2OIdx

template<class Scalar , class H2OType = Dumux::Components::TabulatedComponent<Dumux::Components::H2O<Scalar> >>
const int Dumux::FluidSystems::H2OHeavyOil< Scalar, H2OType >::H2OIdx = 0
static

◆ NAPLIdx

template<class Scalar , class H2OType = Dumux::Components::TabulatedComponent<Dumux::Components::H2O<Scalar> >>
const int Dumux::FluidSystems::H2OHeavyOil< Scalar, H2OType >::NAPLIdx = 1
static

◆ nCompIdx

template<class Scalar , class H2OType = Dumux::Components::TabulatedComponent<Dumux::Components::H2O<Scalar> >>
const int Dumux::FluidSystems::H2OHeavyOil< Scalar, H2OType >::nCompIdx = NAPLIdx
static

◆ nPhaseIdx

template<class Scalar , class H2OType = Dumux::Components::TabulatedComponent<Dumux::Components::H2O<Scalar> >>
const int Dumux::FluidSystems::H2OHeavyOil< Scalar, H2OType >::nPhaseIdx = 1
static

◆ numComponents

template<class Scalar , class H2OType = Dumux::Components::TabulatedComponent<Dumux::Components::H2O<Scalar> >>
const int Dumux::FluidSystems::H2OHeavyOil< Scalar, H2OType >::numComponents = 2
static

◆ numPhases

template<class Scalar , class H2OType = Dumux::Components::TabulatedComponent<Dumux::Components::H2O<Scalar> >>
const int Dumux::FluidSystems::H2OHeavyOil< Scalar, H2OType >::numPhases = 3
static

◆ wCompIdx

template<class Scalar , class H2OType = Dumux::Components::TabulatedComponent<Dumux::Components::H2O<Scalar> >>
const int Dumux::FluidSystems::H2OHeavyOil< Scalar, H2OType >::wCompIdx = H2OIdx
static

◆ wPhaseIdx

template<class Scalar , class H2OType = Dumux::Components::TabulatedComponent<Dumux::Components::H2O<Scalar> >>
const int Dumux::FluidSystems::H2OHeavyOil< Scalar, H2OType >::wPhaseIdx = 0
static

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