MpNc specific details needed to approximately calculate the local defect in the fully implicit scheme. More...
#include <dumux/porousmediumflow/mpnc/localresidual.hh>
MpNc specific details needed to approximately calculate the local defect in the fully implicit scheme.
This class is used to fill the gaps in ImplicitLocalResidual for the MpNc flow.
Public Member Functions | |
ElementResidualVector | evalFluxAndSource (const Element &element, const FVElementGeometry &fvGeometry, const ElementVolumeVariables &elemVolVars, const ElementFluxVariablesCache &elemFluxVarsCache, const ElementBoundaryTypes &bcTypes) const |
NumEqVector | computeStorage (const Problem &problem, const SubControlVolume &scv, const VolumeVariables &volVars) const |
Evaluates the amount of all conservation quantities (e.g. phase mass) within a sub-control volume. More... | |
NumEqVector | computeFlux (const Problem &problem, const Element &element, const FVElementGeometry &fvGeometry, const ElementVolumeVariables &elemVolVars, const SubControlVolumeFace &scvf, const ElementFluxVariablesCache &elemFluxVarsCache) const |
Evaluates the total flux of all conservation quantities over a face of a sub-control volume. More... | |
Protected Member Functions | |
Implementation * | asImp_ () |
const Implementation * | asImp_ () const |
template<class T = ModelTraits> | |
void | enableCompositionalDispersionMissing_ () const |
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inlineinherited |
Evaluates the total flux of all conservation quantities over a face of a sub-control volume.
problem | The problem |
element | The current element. |
fvGeometry | The finite-volume geometry |
elemVolVars | The volume variables of the current element |
scvf | The sub control volume face to compute the flux on |
elemFluxVarsCache | The cache related to flux compuation |
Add advective phase energy fluxes. For isothermal model the contribution is zero.
Add diffusive and dispersive energy fluxes. For isothermal model the contribution is zero.
|
inlineinherited |
Evaluates the amount of all conservation quantities (e.g. phase mass) within a sub-control volume.
The result should be averaged over the volume (e.g. phase mass inside a sub control volume divided by the volume)
problem | The problem |
scv | The sub control volume |
volVars | The current or previous volVars |
The energy storage in the fluid phase with index phaseIdx
The energy storage in the solid matrix
|
inlineprotectedinherited |
|
inline |