The local residual for a model assuming chemical non-equilibrium and potentially thermal non-equilibrium. More...
#include <dumux/porousmediumflow/nonequilibrium/localresidual.hh>
The local residual for a model assuming chemical non-equilibrium and potentially thermal non-equilibrium.
Public Member Functions | |
NumEqVector | computeStorage (const Problem &problem, const SubControlVolume &scv, const VolumeVariables &volVars) const |
Calculates the storage for all mass balance equations. More... | |
NumEqVector | computeFlux (const Problem &problem, const Element &element, const FVElementGeometry &fvGeometry, const ElementVolumeVariables &elemVolVars, const SubControlVolumeFace &scvf, const ElementFluxVariablesCache &elemFluxVarsCache) const |
Calculates the flux for all mass balance equations. More... | |
NumEqVector | computeSource (const Problem &problem, const Element &element, const FVElementGeometry &fvGeometry, const ElementVolumeVariables &elemVolVars, const SubControlVolume &scv) const |
Calculates the source term of the equation. More... | |
|
inline |
Calculates the flux for all mass balance equations.
problem | The object specifying the problem which ought to be simulated |
element | An element which contains part of the control volume |
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 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 |
Calculates the source term of the equation.
problem | The source term |
element | An element which contains part of the control volume |
fvGeometry | The finite-volume geometry |
elemVolVars | The volume variables of the current element |
scv | The sub-control volume over which we integrate the source term |
|
inline |
Calculates the storage for all mass balance equations.
problem | The object specifying the problem which ought to be simulated |
scv | The sub-control volume |
volVars | The volume variables |
The energy storage in the fluid phase with index phaseIdx
The energy storage in the solid matrix