Ewoms::BlackOilLocalResidual< TypeTag > Class Template Reference

Calculates the local residual of the black oil model. More...

#include <blackoillocalresidual.hh>

Inheritance diagram for Ewoms::BlackOilLocalResidual< TypeTag >:

Public Member Functions

template<class LhsEval >
void computeStorage (Dune::FieldVector< LhsEval, numEq > &storage, const ElementContext &elemCtx, unsigned dofIdx, unsigned timeIdx) const
 Evaluate the amount all conservation quantities (e.g. More...
 
void computeFlux (RateVector &flux, const ElementContext &elemCtx, unsigned scvfIdx, unsigned timeIdx) const
 Evaluates the total mass flux of all conservation quantities over a face of a sub-control volume. More...
 
void computeSource (RateVector &source, const ElementContext &elemCtx, unsigned dofIdx, unsigned timeIdx) const
 Calculate the source term of the equation. More...
 

Protected Member Functions

template<class UpEval >
void evalPhaseFluxes_ (RateVector &flux, unsigned phaseIdx, const ExtensiveQuantities &extQuants, const IntensiveQuantities &up) const
 

Detailed Description

template<class TypeTag>
class Ewoms::BlackOilLocalResidual< TypeTag >

Calculates the local residual of the black oil model.

Member Function Documentation

◆ computeFlux()

template<class TypeTag >
void Ewoms::BlackOilLocalResidual< TypeTag >::computeFlux ( RateVector &  flux,
const ElementContext &  elemCtx,
unsigned  scvfIdx,
unsigned  timeIdx 
) const
inline

Evaluates the total mass flux of all conservation quantities over a face of a sub-control volume.

Parameters
fluxArea-specific flux over the phase.

◆ computeSource()

template<class TypeTag >
void Ewoms::BlackOilLocalResidual< TypeTag >::computeSource ( RateVector &  source,
const ElementContext &  elemCtx,
unsigned  dofIdx,
unsigned  timeIdx 
) const
inline

Calculate the source term of the equation.

Parameters
sourceThe values of the source term.

◆ computeStorage()

template<class TypeTag >
template<class LhsEval >
void Ewoms::BlackOilLocalResidual< TypeTag >::computeStorage ( Dune::FieldVector< LhsEval, numEq > &  storage,
const ElementContext &  elemCtx,
unsigned  dofIdx,
unsigned  timeIdx 
) const
inline

Evaluate the amount all conservation quantities (e.g.

phase mass) within a finite sub-control volume.

Parameters
storageStores the total amount of each conserved quantity inside the domain.

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