The local residual for a model assuming chemical non-equilibrium and potentially thermal non-equilibrium.
#include <dumux/porousmediumflow/nonequilibrium/localresidual.hh>
|
| NumEqVector | computeStorage (const Problem &problem, const SubControlVolume &scv, const VolumeVariables &volVars) const |
| | Calculates the storage for all mass balance equations.
|
| |
| 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.
|
| |
| 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.
|
| |
◆ computeFlux()
template<class TypeTag>
| NumEqVector Dumux::NonEquilibriumLocalResidualImplementation< TypeTag, true >::computeFlux |
( |
const Problem & | problem, |
|
|
const Element & | element, |
|
|
const FVElementGeometry & | fvGeometry, |
|
|
const ElementVolumeVariables & | elemVolVars, |
|
|
const SubControlVolumeFace & | scvf, |
|
|
const ElementFluxVariablesCache & | elemFluxVarsCache ) const |
|
inline |
- Parameters
-
| 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.
◆ computeSource()
template<class TypeTag>
| NumEqVector Dumux::NonEquilibriumLocalResidualImplementation< TypeTag, true >::computeSource |
( |
const Problem & | problem, |
|
|
const Element & | element, |
|
|
const FVElementGeometry & | fvGeometry, |
|
|
const ElementVolumeVariables & | elemVolVars, |
|
|
const SubControlVolume & | scv ) const |
|
inline |
- Parameters
-
| 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 |
◆ computeStorage()
- Parameters
-
| 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
The documentation for this class was generated from the following file: