Ewoms::MultiPhaseBaseExtensiveQuantities< TypeTag > Class Template Reference

This class calculates the pressure potential gradients and the filter velocities for multi-phase flow in porous media. More...

#include <multiphasebaseextensivequantities.hh>

Inheritance diagram for Ewoms::MultiPhaseBaseExtensiveQuantities< TypeTag >:
Inheritance graph

Public Member Functions

void update (const ElementContext &elemCtx, int scvfIdx, int timeIdx)
 Update the extensive quantities for a given sub-control-volume-face. More...
 
template<class Context , class FluidState >
void updateBoundary (const Context &context, int bfIdx, int timeIdx, const FluidState &fluidState, typename FluidSystem::ParameterCache &paramCache)
 Update the extensive quantities for a given boundary face. More...
 
short upstreamIndex (int phaseIdx) const
 Return the local index of the upstream control volume for a given phase as a function of the normal flux. More...
 
short downstreamIndex (int phaseIdx) const
 Return the local index of the downstream control volume for a given phase as a function of the normal flux. More...
 
Scalar upstreamWeight (int phaseIdx) const
 Return the weight of the upstream control volume for a given phase as a function of the normal flux. More...
 
Scalar downstreamWeight (int phaseIdx) const
 Return the weight of the downstream control volume for a given phase as a function of the normal flux. More...
 

Static Public Member Functions

static void registerParameters ()
 Register all run-time parameters for the extensive quantities. More...
 

Detailed Description

template<class TypeTag>
class Ewoms::MultiPhaseBaseExtensiveQuantities< TypeTag >

This class calculates the pressure potential gradients and the filter velocities for multi-phase flow in porous media.

Member Function Documentation

template<class TypeTag >
short Ewoms::MultiPhaseBaseExtensiveQuantities< TypeTag >::downstreamIndex ( int  phaseIdx) const
inline

Return the local index of the downstream control volume for a given phase as a function of the normal flux.

Parameters
phaseIdxThe index of the fluid phase for which the downstream direction is requested.
template<class TypeTag >
Scalar Ewoms::MultiPhaseBaseExtensiveQuantities< TypeTag >::downstreamWeight ( int  phaseIdx) const
inline

Return the weight of the downstream control volume for a given phase as a function of the normal flux.

Parameters
phaseIdxThe index of the fluid phase

References Ewoms::MultiPhaseBaseExtensiveQuantities< TypeTag >::upstreamWeight().

template<class TypeTag >
static void Ewoms::MultiPhaseBaseExtensiveQuantities< TypeTag >::registerParameters ( )
inlinestatic

Register all run-time parameters for the extensive quantities.

Referenced by Ewoms::ImmiscibleExtensiveQuantities< TypeTag >::registerParameters().

template<class TypeTag >
void Ewoms::MultiPhaseBaseExtensiveQuantities< TypeTag >::update ( const ElementContext &  elemCtx,
int  scvfIdx,
int  timeIdx 
)
inline

Update the extensive quantities for a given sub-control-volume-face.

Parameters
elemCtxReference to the current element context.
scvfIdxThe local index of the sub-control-volume face for which the extensive quantities should be calculated.
timeIdxThe index used by the time discretization.

Referenced by Ewoms::NcpExtensiveQuantities< TypeTag >::update(), Ewoms::PvsExtensiveQuantities< TypeTag >::update(), Ewoms::FlashExtensiveQuantities< TypeTag >::update(), and Ewoms::ImmiscibleExtensiveQuantities< TypeTag >::update().

template<class TypeTag >
template<class Context , class FluidState >
void Ewoms::MultiPhaseBaseExtensiveQuantities< TypeTag >::updateBoundary ( const Context &  context,
int  bfIdx,
int  timeIdx,
const FluidState &  fluidState,
typename FluidSystem::ParameterCache &  paramCache 
)
inline

Update the extensive quantities for a given boundary face.

Parameters
contextReference to the current execution context.
bfIdxThe local index of the boundary face for which the extensive quantities should be calculated.
timeIdxThe index used by the time discretization.
fluidStateThe FluidState on the domain boundary.
paramCacheThe FluidSystem's parameter cache.

Referenced by Ewoms::NcpExtensiveQuantities< TypeTag >::updateBoundary(), Ewoms::PvsExtensiveQuantities< TypeTag >::updateBoundary(), Ewoms::FlashExtensiveQuantities< TypeTag >::updateBoundary(), and Ewoms::ImmiscibleExtensiveQuantities< TypeTag >::updateBoundary().

template<class TypeTag >
short Ewoms::MultiPhaseBaseExtensiveQuantities< TypeTag >::upstreamIndex ( int  phaseIdx) const
inline

Return the local index of the upstream control volume for a given phase as a function of the normal flux.

Parameters
phaseIdxThe index of the fluid phase for which the upstream direction is requested.
template<class TypeTag >
Scalar Ewoms::MultiPhaseBaseExtensiveQuantities< TypeTag >::upstreamWeight ( int  phaseIdx) const
inline

Return the weight of the upstream control volume for a given phase as a function of the normal flux.

Parameters
phaseIdxThe index of the fluid phase

Referenced by Ewoms::MultiPhaseBaseExtensiveQuantities< TypeTag >::downstreamWeight().


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