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

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

#include <diffusionmodule.hh>

Public Member Functions

Scalar moleFractionGradientNormal (int phaseIdx, int compIdx) const
 The the gradient of the mole fraction times the face normal. More...
 
Scalar effectiveDiffusionCoefficient (int phaseIdx, int 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, int faceIdx, int timeIdx)
 Update the quantities required to calculate the diffusive mass fluxes. More...
 
template<class Context , class FluidState >
void updateBoundary_ (const Context &context, int bfIdx, int timeIdx, const FluidState &fluidState)
 

Detailed Description

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

Provides the quantities required to calculate diffusive mass fluxes.

Member Function Documentation

template<class TypeTag >
Scalar Ewoms::DiffusionExtensiveQuantities< TypeTag, true >::effectiveDiffusionCoefficient ( int  phaseIdx,
int  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.
template<class TypeTag >
Scalar Ewoms::DiffusionExtensiveQuantities< TypeTag, true >::moleFractionGradientNormal ( int  phaseIdx,
int  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.
template<class TypeTag >
void Ewoms::DiffusionExtensiveQuantities< TypeTag, true >::update_ ( const ElementContext &  elemCtx,
int  faceIdx,
int  timeIdx 
)
inlineprotected

Update the quantities required to calculate the diffusive mass fluxes.

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

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

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