My Project
Loading...
Searching...
No Matches
Opm::ImmiscibleExtensiveQuantities< TypeTag > Class Template Reference

This class provides the data all quantities that are required to calculate the fluxes of the fluid phases over a face of a finite volume for the immiscible multi-phase model. More...

#include <immiscibleextensivequantities.hh>

Inheritance diagram for Opm::ImmiscibleExtensiveQuantities< TypeTag >:
Opm::MultiPhaseBaseExtensiveQuantities< TypeTag > Opm::EnergyExtensiveQuantities< TypeTag, getPropValue< TypeTag, Properties::EnableEnergy >()> Opm::DiscreteFractureExtensiveQuantities< TypeTag >

Public Member Functions

void update (const ElementContext &elemCtx, unsigned scvfIdx, unsigned timeIdx)
 Update the extensive quantities for a given sub-control-volume-face.
 
template<class Context , class FluidState >
void updateBoundary (const Context &context, unsigned bfIdx, unsigned timeIdx, const FluidState &fluidState)
 Update the extensive quantities for a given boundary face.
 
- Public Member Functions inherited from Opm::MultiPhaseBaseExtensiveQuantities< TypeTag >
void update (const ElementContext &elemCtx, unsigned scvfIdx, unsigned timeIdx)
 Update the extensive quantities for a given sub-control-volume-face.
 
template<class Context , class FluidState >
void updateBoundary (const Context &context, unsigned bfIdx, unsigned timeIdx, const FluidState &fluidState)
 Update the extensive quantities for a given boundary face.
 
short upstreamIndex (unsigned phaseIdx) const
 Return the local index of the upstream control volume for a given phase as a function of the normal flux.
 
short downstreamIndex (unsigned phaseIdx) const
 Return the local index of the downstream control volume for a given phase as a function of the normal flux.
 
Scalar upstreamWeight (unsigned) const
 Return the weight of the upstream control volume for a given phase as a function of the normal flux.
 
Scalar downstreamWeight (unsigned phaseIdx) const
 Return the weight of the downstream control volume for a given phase as a function of the normal flux.
 

Static Public Member Functions

static void registerParameters ()
 Register all run-time parameters for the extensive quantities.
 
- Static Public Member Functions inherited from Opm::MultiPhaseBaseExtensiveQuantities< TypeTag >
static void registerParameters ()
 Register all run-time parameters for the extensive quantities.
 

Detailed Description

template<class TypeTag>
class Opm::ImmiscibleExtensiveQuantities< TypeTag >

This class provides the data all quantities that are required to calculate the fluxes of the fluid phases over a face of a finite volume for the immiscible multi-phase model.

This means pressure and concentration gradients, phase densities at the intergration point, etc.

Member Function Documentation

◆ registerParameters()

template<class TypeTag >
static void Opm::ImmiscibleExtensiveQuantities< TypeTag >::registerParameters ( )
inlinestatic

Register all run-time parameters for the extensive quantities.

◆ update()

template<class TypeTag >
void Opm::ImmiscibleExtensiveQuantities< TypeTag >::update ( const ElementContext & elemCtx,
unsigned scvfIdx,
unsigned 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.

◆ updateBoundary()

template<class TypeTag >
template<class Context , class FluidState >
void Opm::ImmiscibleExtensiveQuantities< TypeTag >::updateBoundary ( const Context & context,
unsigned bfIdx,
unsigned timeIdx,
const FluidState & fluidState )
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.

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