Opm::DiffusionExtensiveQuantities< TypeTag, true > Class Template Reference

Provides the quantities required to calculate diffusive mass fluxes. More...

#include <diffusionmodule.hh>

Public Member Functions

const Evaluation & moleFractionGradientNormal (unsigned phaseIdx, unsigned compIdx) const
 The the gradient of the mole fraction times the face normal. More...
 
const Evaluation & effectiveDiffusionCoefficient (unsigned phaseIdx, unsigned compIdx) const
 The effective diffusion coeffcient of a component in a fluid phase at the face's integration point. More...
 

Protected Member Functions

void update_ (const ElementContext &elemCtx, unsigned faceIdx, unsigned timeIdx)
 Update the quantities required to calculate the diffusive mass fluxes. More...
 
template<class Context , class FluidState >
void updateBoundary_ (const Context &context, unsigned bfIdx, unsigned timeIdx, const FluidState &fluidState)
 

Detailed Description

template<class TypeTag>
class Opm::DiffusionExtensiveQuantities< TypeTag, true >

Provides the quantities required to calculate diffusive mass fluxes.

Member Function Documentation

◆ effectiveDiffusionCoefficient()

template<class TypeTag >
const Evaluation & Opm::DiffusionExtensiveQuantities< TypeTag, true >::effectiveDiffusionCoefficient ( unsigned  phaseIdx,
unsigned  compIdx 
) const
inline

The effective diffusion coeffcient of a component in a fluid phase at the face's integration point.

Parameters
phaseIdxThe index of the fluid phase of interest.
compIdxThe index of the (pseudo-)component of interest.

◆ moleFractionGradientNormal()

template<class TypeTag >
const Evaluation & Opm::DiffusionExtensiveQuantities< TypeTag, true >::moleFractionGradientNormal ( unsigned  phaseIdx,
unsigned  compIdx 
) const
inline

The the gradient of the mole fraction times the face normal.

Parameters
phaseIdxThe index of the fluid phase of interest.
compIdxThe index of the (pseudo-)component of interest.

◆ update_()

template<class TypeTag >
void Opm::DiffusionExtensiveQuantities< TypeTag, true >::update_ ( const ElementContext &  elemCtx,
unsigned  faceIdx,
unsigned  timeIdx 
)
inlineprotected

Update the quantities required to calculate the diffusive mass fluxes.

References Opm::MoleFractionCallback< TypeTag >::setComponentIndex(), and Opm::MoleFractionCallback< TypeTag >::setPhaseIndex().

◆ updateBoundary_()

template<class TypeTag >
template<class Context , class FluidState >
void Opm::DiffusionExtensiveQuantities< TypeTag, true >::updateBoundary_ ( const Context &  context,
unsigned  bfIdx,
unsigned  timeIdx,
const FluidState &  fluidState 
)
inlineprotected

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