3.1-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
Dumux::Properties::TracerFluidSystem< TypeTag > Class Template Reference

A simple fluid system with one tracer component. More...

#include <test/porousmediumflow/tracer/1ptracer/problem_tracer.hh>

Inheritance diagram for Dumux::Properties::TracerFluidSystem< TypeTag >:
Inheritance graph

Description

template<class TypeTag>
class Dumux::Properties::TracerFluidSystem< TypeTag >

A simple fluid system with one tracer component.

Public Types

using ParameterCache = NullParameterCache
 The type of parameter cache objects. More...
 

Static Public Member Functions

static constexpr bool isTracerFluidSystem ()
 If the fluid system only contains tracer components. More...
 
static constexpr int getMainComponent (int phaseIdx)
 No component is the main component. More...
 
static std::string componentName (int compIdx)
 Human readable component name (index compIdx) (for vtk output) More...
 
static std::string phaseName (int phaseIdx=0)
 Human readable phase name (index phaseIdx) (for velocity vtk output) More...
 
static Scalar molarMass (unsigned int compIdx)
 Molar mass in kg/mol of the component with index compIdx. More...
 
static Scalar binaryDiffusionCoefficient (unsigned int compIdx, const Problem &problem, const Element &element, const SubControlVolume &scv)
 
static constexpr bool isTracerFluidSystem ()
 If the fluid system only contains tracer components. More...
 
static constexpr int getMainComponent (int phaseIdx)
 No component is the main component. More...
 
static std::string componentName (int compIdx)
 Human readable component name (index compIdx) (for vtk output) More...
 
static Scalar molarMass (unsigned int compIdx)
 Molar mass in kg/mol of the component with index compIdx. More...
 
static Scalar binaryDiffusionCoefficient (unsigned int compIdx, const Problem &problem, const Element &element, const SubControlVolume &scv)
 
static constexpr bool isTracerFluidSystem ()
 
static constexpr int getMainComponent (int phaseIdx)
 None of the components are the main component of the phase. More...
 
static std::string componentName (int compIdx)
 Human readable component name (index compIdx) (for vtk output) More...
 
static std::string phaseName (int phaseIdx=0)
 Human readable phase name (index phaseIdx) (for velocity vtk output) More...
 
static Scalar molarMass (unsigned int compIdx)
 Molar mass in kg/mol of the component with index compIdx. More...
 
static Scalar binaryDiffusionCoefficient (unsigned int compIdx, const Problem &problem, const Element &element, const SubControlVolume &scv)
 
static constexpr bool isCompressible (int phaseIdx)
 Returns true if and only if a fluid phase is assumed to be compressible. 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 constexpr bool isMiscible ()
 Returns whether the fluids are miscible. More...
 
static Scalar density (const FluidState &fluidState, int phaseIdx)
 Calculate the density \(\mathrm{[kg/m^3]}\) of a fluid phase. 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, int phaseIdx)
 Calculate the molar density \(\mathrm{[mol/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, int phaseIdx)
 Calculate the dynamic viscosity of a fluid phase \(\mathrm{[Pa*s]}\). 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, 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 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, int phaseIdx)
 Given a phase's composition, temperature, pressure and density, calculate its specific enthalpy \(\mathrm{[J/kg]}\). 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, int phaseIdx)
 Thermal conductivity \(\lambda_\alpha \) of a fluid phase \(\mathrm{[W/(m K)]}\). 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, int phaseIdx)
 Specific isobaric heat capacity \(c_{p,\alpha}\) of a fluid phase \(\mathrm{[J/(kg*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 numComponents = 1
 The number of components. More...
 
static constexpr int numPhases = 1
 

Member Typedef Documentation

◆ ParameterCache

using Dumux::FluidSystems::Base< GetPropType< TypeTag, Properties::Scalar > , TracerFluidSystem< TypeTag > >::ParameterCache = NullParameterCache
inherited

The type of parameter cache objects.

Member Function Documentation

◆ binaryDiffusionCoefficient() [1/5]

static Scalar Dumux::FluidSystems::Base< GetPropType< TypeTag, Properties::Scalar > , TracerFluidSystem< TypeTag > >::binaryDiffusionCoefficient ( const FluidState &  fluidState,
const ParameterCache paramCache,
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
paramCachemutable parameters
phaseIdxIndex of the fluid phase
compIIdxIndex of the component i
compJIdxIndex of the component j

◆ binaryDiffusionCoefficient() [2/5]

static Scalar Dumux::FluidSystems::Base< GetPropType< TypeTag, Properties::Scalar > , TracerFluidSystem< TypeTag > >::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() [3/5]

template<class TypeTag >
static Scalar Dumux::Properties::TracerFluidSystem< TypeTag >::binaryDiffusionCoefficient ( unsigned int  compIdx,
const Problem &  problem,
const Element &  element,
const SubControlVolume &  scv 
)
inlinestatic

Binary diffusion coefficient (might depend on spatial parameters like pressure / temperature)

◆ binaryDiffusionCoefficient() [4/5]

template<class TypeTag >
static Scalar Dumux::Properties::TracerFluidSystem< TypeTag >::binaryDiffusionCoefficient ( unsigned int  compIdx,
const Problem &  problem,
const Element &  element,
const SubControlVolume &  scv 
)
inlinestatic

Binary diffusion coefficient (might depend on spatial parameters like pressure / temperature)

◆ binaryDiffusionCoefficient() [5/5]

template<class TypeTag >
static Scalar Dumux::Properties::TracerFluidSystem< TypeTag >::binaryDiffusionCoefficient ( unsigned int  compIdx,
const Problem &  problem,
const Element &  element,
const SubControlVolume &  scv 
)
inlinestatic

Binary diffusion coefficient (might depend on spatial parameters like pressure / temperature)

◆ componentName() [1/3]

template<class TypeTag >
static std::string Dumux::Properties::TracerFluidSystem< TypeTag >::componentName ( int  compIdx)
inlinestatic

Human readable component name (index compIdx) (for vtk output)

◆ componentName() [2/3]

template<class TypeTag >
static std::string Dumux::Properties::TracerFluidSystem< TypeTag >::componentName ( int  compIdx)
inlinestatic

Human readable component name (index compIdx) (for vtk output)

◆ componentName() [3/3]

template<class TypeTag >
static std::string Dumux::Properties::TracerFluidSystem< TypeTag >::componentName ( int  compIdx)
inlinestatic

Human readable component name (index compIdx) (for vtk output)

◆ density() [1/2]

static Scalar Dumux::FluidSystems::Base< GetPropType< TypeTag, Properties::Scalar > , TracerFluidSystem< TypeTag > >::density ( const FluidState &  fluidState,
const ParameterCache paramCache,
int  phaseIdx 
)
inlinestaticinherited

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

Parameters
fluidStateThe fluid state
paramCachemutable parameters
phaseIdxIndex of the fluid phase

◆ density() [2/2]

static Scalar Dumux::FluidSystems::Base< GetPropType< TypeTag, Properties::Scalar > , TracerFluidSystem< TypeTag > >::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

◆ diffusionCoefficient() [1/2]

static Scalar Dumux::FluidSystems::Base< GetPropType< TypeTag, Properties::Scalar > , TracerFluidSystem< TypeTag > >::diffusionCoefficient ( const FluidState &  fluidState,
const ParameterCache paramCache,
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
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.

◆ diffusionCoefficient() [2/2]

static Scalar Dumux::FluidSystems::Base< GetPropType< TypeTag, Properties::Scalar > , TracerFluidSystem< TypeTag > >::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.

◆ enthalpy() [1/2]

static Scalar Dumux::FluidSystems::Base< GetPropType< TypeTag, Properties::Scalar > , TracerFluidSystem< TypeTag > >::enthalpy ( const FluidState &  fluidState,
const ParameterCache paramCache,
int  phaseIdx 
)
inlinestaticinherited

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

◆ enthalpy() [2/2]

static Scalar Dumux::FluidSystems::Base< GetPropType< TypeTag, Properties::Scalar > , TracerFluidSystem< TypeTag > >::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

◆ fugacityCoefficient() [1/2]

static Scalar Dumux::FluidSystems::Base< GetPropType< TypeTag, Properties::Scalar > , TracerFluidSystem< TypeTag > >::fugacityCoefficient ( const FluidState &  fluidState,
const ParameterCache paramCache,
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
paramCachemutable parameters
phaseIdxIndex of the fluid phase
compIdxIndex of the component

◆ fugacityCoefficient() [2/2]

static Scalar Dumux::FluidSystems::Base< GetPropType< TypeTag, Properties::Scalar > , TracerFluidSystem< TypeTag > >::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

◆ getMainComponent() [1/3]

template<class TypeTag >
static constexpr int Dumux::Properties::TracerFluidSystem< TypeTag >::getMainComponent ( int  phaseIdx)
inlinestaticconstexpr

No component is the main component.

◆ getMainComponent() [2/3]

template<class TypeTag >
static constexpr int Dumux::Properties::TracerFluidSystem< TypeTag >::getMainComponent ( int  phaseIdx)
inlinestaticconstexpr

No component is the main component.

◆ getMainComponent() [3/3]

template<class TypeTag >
static constexpr int Dumux::Properties::TracerFluidSystem< TypeTag >::getMainComponent ( int  phaseIdx)
inlinestaticconstexpr

None of the components are the main component of the phase.

◆ heatCapacity() [1/2]

static Scalar Dumux::FluidSystems::Base< GetPropType< TypeTag, Properties::Scalar > , TracerFluidSystem< TypeTag > >::heatCapacity ( const FluidState &  fluidState,
const ParameterCache paramCache,
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
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} \)

◆ heatCapacity() [2/2]

static Scalar Dumux::FluidSystems::Base< GetPropType< TypeTag, Properties::Scalar > , TracerFluidSystem< TypeTag > >::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} \)

◆ isCompressible()

template<class TypeTag >
static constexpr bool Dumux::Properties::TracerFluidSystem< TypeTag >::isCompressible ( int  phaseIdx)
inlinestaticconstexpr

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

◆ isMiscible()

static constexpr bool Dumux::FluidSystems::Base< GetPropType< TypeTag, Properties::Scalar > , TracerFluidSystem< TypeTag > >::isMiscible ( )
inlinestaticconstexprinherited

Returns whether the fluids are miscible.

◆ isTracerFluidSystem() [1/3]

template<class TypeTag >
static constexpr bool Dumux::Properties::TracerFluidSystem< TypeTag >::isTracerFluidSystem ( )
inlinestaticconstexpr

If the fluid system only contains tracer components.

◆ isTracerFluidSystem() [2/3]

template<class TypeTag >
static constexpr bool Dumux::Properties::TracerFluidSystem< TypeTag >::isTracerFluidSystem ( )
inlinestaticconstexpr

If the fluid system only contains tracer components.

◆ isTracerFluidSystem() [3/3]

template<class TypeTag >
static constexpr bool Dumux::Properties::TracerFluidSystem< TypeTag >::isTracerFluidSystem ( )
inlinestaticconstexpr

◆ molarDensity() [1/2]

static Scalar Dumux::FluidSystems::Base< GetPropType< TypeTag, Properties::Scalar > , TracerFluidSystem< TypeTag > >::molarDensity ( const FluidState &  fluidState,
const ParameterCache paramCache,
int  phaseIdx 
)
inlinestaticinherited

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

Parameters
fluidStateThe fluid state
paramCachemutable parameters
phaseIdxIndex of the fluid phase

◆ molarDensity() [2/2]

static Scalar Dumux::FluidSystems::Base< GetPropType< TypeTag, Properties::Scalar > , TracerFluidSystem< TypeTag > >::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

◆ molarMass() [1/3]

template<class TypeTag >
static Scalar Dumux::Properties::TracerFluidSystem< TypeTag >::molarMass ( unsigned int  compIdx)
inlinestatic

Molar mass in kg/mol of the component with index compIdx.

◆ molarMass() [2/3]

template<class TypeTag >
static Scalar Dumux::Properties::TracerFluidSystem< TypeTag >::molarMass ( unsigned int  compIdx)
inlinestatic

Molar mass in kg/mol of the component with index compIdx.

◆ molarMass() [3/3]

template<class TypeTag >
static Scalar Dumux::Properties::TracerFluidSystem< TypeTag >::molarMass ( unsigned int  compIdx)
inlinestatic

Molar mass in kg/mol of the component with index compIdx.

◆ phaseName() [1/2]

template<class TypeTag >
static std::string Dumux::Properties::TracerFluidSystem< TypeTag >::phaseName ( int  phaseIdx = 0)
inlinestatic

Human readable phase name (index phaseIdx) (for velocity vtk output)

◆ phaseName() [2/2]

template<class TypeTag >
static std::string Dumux::Properties::TracerFluidSystem< TypeTag >::phaseName ( int  phaseIdx = 0)
inlinestatic

Human readable phase name (index phaseIdx) (for velocity vtk output)

◆ thermalConductivity() [1/2]

static Scalar Dumux::FluidSystems::Base< GetPropType< TypeTag, Properties::Scalar > , TracerFluidSystem< TypeTag > >::thermalConductivity ( const FluidState &  fluidState,
const ParameterCache paramCache,
int  phaseIdx 
)
inlinestaticinherited

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

Parameters
fluidStateThe fluid state
paramCachemutable parameters
phaseIdxIndex of the fluid phase

◆ thermalConductivity() [2/2]

static Scalar Dumux::FluidSystems::Base< GetPropType< TypeTag, Properties::Scalar > , TracerFluidSystem< TypeTag > >::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

◆ viscosity() [1/2]

static Scalar Dumux::FluidSystems::Base< GetPropType< TypeTag, Properties::Scalar > , TracerFluidSystem< TypeTag > >::viscosity ( const FluidState &  fluidState,
const ParameterCache paramCache,
int  phaseIdx 
)
inlinestaticinherited

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

Parameters
fluidStateThe fluid state
paramCachemutable parameters
phaseIdxIndex of the fluid phase

◆ viscosity() [2/2]

static Scalar Dumux::FluidSystems::Base< GetPropType< TypeTag, Properties::Scalar > , TracerFluidSystem< TypeTag > >::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

◆ viscosityIsConstant()

template<class TypeTag >
static constexpr bool Dumux::Properties::TracerFluidSystem< TypeTag >::viscosityIsConstant ( int  phaseIdx)
inlinestaticconstexpr

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

◆ numComponents

template<class TypeTag >
static constexpr int Dumux::Properties::TracerFluidSystem< TypeTag >::numComponents = 1
staticconstexpr

The number of components.

◆ numPhases

template<class TypeTag >
constexpr int Dumux::Properties::TracerFluidSystem< TypeTag >::numPhases = 1
staticconstexpr

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