Element-wise calculation of the residual for problems using the n-phase immiscible fully implicit models. More...
#include <dumux/porousmediumflow/immiscible/localresidual.hh>
Element-wise calculation of the residual for problems using the n-phase immiscible fully implicit models.
Public Member Functions | |
NumEqVector | computeStorage (const Problem &problem, const SubControlVolume &scv, const VolumeVariables &volVars) const |
Evaluatex the rate of change of all conservation quantites (e.g. phase mass) within a sub-control volume of a finite volume element for the immiscible models. More... | |
NumEqVector | computeFlux (const Problem &problem, const Element &element, const FVElementGeometry &fvGeometry, const ElementVolumeVariables &elemVolVars, const SubControlVolumeFace &scvf, const ElementFluxVariablesCache &elemFluxVarsCache) const |
Evaluatex the mass flux over a face of a sub control volume. More... | |
|
inline |
Evaluatex the mass flux over a face of a sub control volume.
problem | The problem |
element | The element |
fvGeometry | The finite volume geometry context |
elemVolVars | The volume variables for all flux stencil elements |
scvf | The sub control volume face to compute the flux on |
elemFluxVarsCache | The cache related to flux computation |
Add advective phase energy fluxes. For isothermal model the contribution is zero.
Add diffusive energy fluxes. For isothermal model the contribution is zero.
|
inline |
Evaluatex the rate of change of all conservation quantites (e.g. phase mass) within a sub-control volume of a finite volume element for the immiscible models.
problem | TODO docme! |
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