Calculates the local residual of the discrete fracture immiscible multi-phase model.
More...
#include <discretefracturelocalresidual.hh>
|
void | addPhaseStorage (EqVector &storage, const ElementContext &elemCtx, unsigned dofIdx, unsigned timeIdx, unsigned phaseIdx) const |
| Adds the amount all conservation quantities (e.g. phase mass) within a single fluid phase. 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...
|
|
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. phase mass) within a single fluid phase. 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. phase mass) within a finite 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...
|
|
template<class TypeTag>
class Opm::DiscreteFractureLocalResidual< TypeTag > Calculates the local residual of the discrete fracture immiscible multi-phase model.
◆ addAdvectiveFlux()
template<class TypeTag >
void Opm::ImmiscibleLocalResidual< TypeTag >::addAdvectiveFlux |
( |
RateVector & |
flux, |
|
|
const ElementContext & |
elemCtx, |
|
|
unsigned |
scvfIdx, |
|
|
unsigned |
timeIdx |
|
) |
| const |
|
inlineinherited |
Add the advective mass flux at a given flux integration point.
- Parameters
-
flux | Area-specific flux over the phase. |
◆ addDiffusiveFlux()
template<class TypeTag >
void Opm::ImmiscibleLocalResidual< TypeTag >::addDiffusiveFlux |
( |
RateVector & |
flux, |
|
|
const ElementContext & |
elemCtx, |
|
|
unsigned |
scvfIdx, |
|
|
unsigned |
timeIdx |
|
) |
| const |
|
inlineinherited |
Adds the diffusive flux at a given flux integration point.
For the immiscible model, this is a no-op for mass fluxes. For energy it adds the contribution of thermal conduction to the enthalpy flux.
- Parameters
-
flux | Area-specific flux over the phase. |
◆ addPhaseStorage() [1/2]
template<class TypeTag >
template<class LhsEval >
void Opm::ImmiscibleLocalResidual< TypeTag >::addPhaseStorage |
( |
Dune::FieldVector< LhsEval, numEq > & |
storage, |
|
|
const ElementContext & |
elemCtx, |
|
|
unsigned |
dofIdx, |
|
|
unsigned |
timeIdx, |
|
|
unsigned |
phaseIdx |
|
) |
| const |
|
inlineinherited |
◆ addPhaseStorage() [2/2]
template<class TypeTag >
void Opm::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
-
storage | Stores the total amount of each conserved quantity inside the domain. |
phaseIdx | The index of the fluid phase of interest. |
References Opm::ImmiscibleLocalResidual< TypeTag >::addPhaseStorage().
◆ computeFlux()
◆ computeSource()
template<class TypeTag >
void Opm::ImmiscibleLocalResidual< TypeTag >::computeSource |
( |
RateVector & |
source, |
|
|
const ElementContext & |
elemCtx, |
|
|
unsigned |
dofIdx, |
|
|
unsigned |
timeIdx |
|
) |
| const |
|
inlineinherited |
Calculate the source term of the equation.
- Parameters
-
source | The values of the source term. |
By default, this method only asks the problem to specify a source term.
◆ computeStorage()
template<class TypeTag >
template<class LhsEval >
void Opm::ImmiscibleLocalResidual< TypeTag >::computeStorage |
( |
Dune::FieldVector< LhsEval, numEq > & |
storage, |
|
|
const ElementContext & |
elemCtx, |
|
|
unsigned |
dofIdx, |
|
|
unsigned |
timeIdx |
|
) |
| const |
|
inlineinherited |
Evaluate the amount all conservation quantities (e.g. phase mass) within a finite sub-control volume.
- Parameters
-
storage | Stores the total amount of each conserved quantity inside the domain. |
The documentation for this class was generated from the following file:
|