Element-wise calculation of the residual.
More...
#include <dumux/porousmediumflow/solidenergy/localresidual.hh>
template<class TypeTag>
class Dumux::SolidEnergyLocalResidual< TypeTag >
Element-wise calculation of the residual.
|
NumEqVector | computeStorage (const Problem &problem, const SubControlVolume &scv, const VolumeVariables &volVars) const |
| Evaluate the rate of change of all conservation quantites. More...
|
|
NumEqVector | computeFlux (const Problem &problem, const Element &element, const FVElementGeometry &fvGeometry, const ElementVolumeVariables &elemVolVars, const SubControlVolumeFace &scvf, const ElementFluxVariablesCache &elemFluxVarsCache) const |
| Evaluate the energy flux over a face of a sub control volume. More...
|
|
◆ computeFlux()
template<class TypeTag >
NumEqVector Dumux::SolidEnergyLocalResidual< TypeTag >::computeFlux |
( |
const Problem & |
problem, |
|
|
const Element & |
element, |
|
|
const FVElementGeometry & |
fvGeometry, |
|
|
const ElementVolumeVariables & |
elemVolVars, |
|
|
const SubControlVolumeFace & |
scvf, |
|
|
const ElementFluxVariablesCache & |
elemFluxVarsCache |
|
) |
| const |
|
inline |
Evaluate the energy flux over a face of a sub control volume.
- Parameters
-
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 |
◆ computeStorage()
template<class TypeTag >
NumEqVector Dumux::SolidEnergyLocalResidual< TypeTag >::computeStorage |
( |
const Problem & |
problem, |
|
|
const SubControlVolume & |
scv, |
|
|
const VolumeVariables & |
volVars |
|
) |
| const |
|
inline |
Evaluate the rate of change of all conservation quantites.
- Parameters
-
problem | The problem |
scv | The sub control volume |
volVars | The current or previous volVars |
- Note
- This function should not include the source and sink terms.
-
The volVars can be different to allow computing the implicit/explicit euler time derivative here
The documentation for this class was generated from the following file: