Ewoms::BlackOilExtensiveQuantities< TypeTag > Class Template Reference

This template class contains the data which is required to calculate the fluxes of the fluid phases over a face of a finite volume for the black-oil model. More...

#include <blackoilextensivequantities.hh>

Inheritance diagram for Ewoms::BlackOilExtensiveQuantities< TypeTag >:
Ewoms::MultiPhaseBaseExtensiveQuantities< TypeTag > Ewoms::BlackOilSolventExtensiveQuantities< TypeTag > Ewoms::BlackOilPolymerExtensiveQuantities< TypeTag >

Public Member Functions

void update (const ElementContext &elemCtx, unsigned scvfIdx, unsigned timeIdx)
 Update the extensive quantities for a given sub-control-volume-face. More...
 
- Public Member Functions inherited from Ewoms::MultiPhaseBaseExtensiveQuantities< TypeTag >
void update (const ElementContext &elemCtx, unsigned scvfIdx, unsigned timeIdx)
 Update the extensive quantities for a given sub-control-volume-face. More...
 
template<class Context , class FluidState >
void updateBoundary (const Context &context, unsigned bfIdx, unsigned timeIdx, const FluidState &fluidState, typename FluidSystem::template ParameterCache< typename FluidState::Scalar > &paramCache)
 Update the extensive quantities for a given boundary face. More...
 
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. More...
 
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. More...
 
Scalar upstreamWeight (unsigned phaseIdx OPM_UNUSED) const
 Return the weight of the upstream control volume for a given phase as a function of the normal flux. More...
 
Scalar downstreamWeight (unsigned phaseIdx) const
 Return the weight of the downstream control volume for a given phase as a function of the normal flux. More...
 
- Public Member Functions inherited from Ewoms::BlackOilSolventExtensiveQuantities< TypeTag >
void updateVolumeFluxPerm (const ElementContext &elemCtx, unsigned scvfIdx, unsigned timeIdx)
 Method which calculates the volume flux of the polymer "phase" using the pressure potential gradient of the gas phase and the intrinsic permeability.
 
void updateVolumeFluxTrans (const ElementContext &elemCtx, unsigned scvfIdx, unsigned timeIdx)
 Method which calculates the volume flux of the polymer "phase" using the gas pressure potential difference between cells and transmissibilities.
 
unsigned solventUpstreamIndex () const
 
unsigned solventDownstreamIndex () const
 
const Evaluation & solventVolumeFlux () const
 
- Public Member Functions inherited from Ewoms::BlackOilPolymerExtensiveQuantities< TypeTag >
void updateShearMultipliersPerm (const ElementContext &elemCtx OPM_UNUSED, unsigned scvfIdx OPM_UNUSED, unsigned timeIdx OPM_UNUSED)
 Method which calculates the shear factor based on flow velocity. More...
 
void updateShearMultipliers (const ElementContext &elemCtx, unsigned scvfIdx, unsigned timeIdx)
 Method which calculates the shear factor based on flow velocity. More...
 
const Evaluation & polymerShearFactor () const
 
const Evaluation & waterShearFactor () const
 

Protected Member Functions

Implementation & asImp_ ()
 
const Implementation & asImp_ () const
 

Additional Inherited Members

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

Detailed Description

template<class TypeTag>
class Ewoms::BlackOilExtensiveQuantities< TypeTag >

This template class contains the data which is required to calculate the fluxes of the fluid phases over a face of a finite volume for the black-oil model.

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

Member Function Documentation

◆ update()

template<class TypeTag >
void Ewoms::BlackOilExtensiveQuantities< 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.

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