All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Ewoms::DiscreteFractureLocalResidual< TypeTag > Class Template Reference

Calculates the local residual of the discrete fracture immiscible multi-phase model. More...

#include <discretefracturelocalresidual.hh>

Inheritance diagram for Ewoms::DiscreteFractureLocalResidual< TypeTag >:
Ewoms::ImmiscibleLocalResidual< TypeTag >

Public Member Functions

void addPhaseStorage (EqVector &storage, const ElementContext &elemCtx, unsigned dofIdx, unsigned timeIdx, unsigned phaseIdx) const
 Adds 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...
 
- Public Member Functions inherited from Ewoms::ImmiscibleLocalResidual< TypeTag >
template<class LhsEval >
void addPhaseStorage (Dune::FieldVector< LhsEval, numEq > &storage, const ElementContext &elemCtx, unsigned dofIdx, unsigned timeIdx, unsigned phaseIdx) const
 Adds the amount all conservation quantities (e.g. More...
 
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 addAdvectiveFlux (RateVector &flux, const ElementContext &elemCtx, unsigned scvfIdx, unsigned timeIdx) const
 Add the advective mass flux at a given flux integration point. More...
 
void addDiffusiveFlux (RateVector &flux, const ElementContext &elemCtx, unsigned scvfIdx, unsigned timeIdx) const
 Adds the diffusive flux at a given flux integration point. More...
 
void computeSource (RateVector &source, const ElementContext &elemCtx, unsigned dofIdx, unsigned timeIdx) const
 Calculate the source term of the equation. More...
 

Detailed Description

template<class TypeTag>
class Ewoms::DiscreteFractureLocalResidual< TypeTag >

Calculates the local residual of the discrete fracture immiscible multi-phase model.

Member Function Documentation

template<class TypeTag >
void Ewoms::DiscreteFractureLocalResidual< TypeTag >::addPhaseStorage ( EqVector &  storage,
const ElementContext &  elemCtx,
unsigned  dofIdx,
unsigned  timeIdx,
unsigned  phaseIdx 
) const
inline

Adds the amount all conservation quantities (e.g.

phase mass) within a single fluid phase

Parameters
storageStores the total amount of each conserved quantity inside the domain.
phaseIdxThe index of the fluid phase of interest.
template<class TypeTag >
void Ewoms::DiscreteFractureLocalResidual< 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.

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