Element-wise calculation of the residual for the fully implicit two-phase one-component flow model.
#include <dumux/porousmediumflow/2p1c/localresidual.hh>
|
NumEqVector | computeStorage (const Problem &problem, const SubControlVolume &scv, const VolumeVariables &volVars) const |
| Evaluate the storage term within a given scv. More...
|
|
NumEqVector | computeFlux (const Problem &problem, const Element &element, const FVElementGeometry &fvGeometry, const ElementVolumeVariables &elemVolVars, const SubControlVolumeFace &scvf, const ElementFluxVariablesCache &elemFluxVarsCache) const |
| Evaluate the fluxes over a face of 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 |
| Evaluate the mass flux over a face of a sub control volume. More...
|
|
◆ computeFlux() [1/2]
template<class TypeTag >
NumEqVector Dumux::TwoPOneCLocalResidual< TypeTag >::computeFlux |
( |
const Problem & |
problem, |
|
|
const Element & |
element, |
|
|
const FVElementGeometry & |
fvGeometry, |
|
|
const ElementVolumeVariables & |
elemVolVars, |
|
|
const SubControlVolumeFace & |
scvf, |
|
|
const ElementFluxVariablesCache & |
elemFluxVarsCache |
|
) |
| const |
|
inline |
◆ computeFlux() [2/2]
template<class TypeTag >
NumEqVector Dumux::ImmiscibleLocalResidual< TypeTag >::computeFlux |
( |
const Problem & |
problem, |
|
|
const Element & |
element, |
|
|
const FVElementGeometry & |
fvGeometry, |
|
|
const ElementVolumeVariables & |
elemVolVars, |
|
|
const SubControlVolumeFace & |
scvf, |
|
|
const ElementFluxVariablesCache & |
elemFluxVarsCache |
|
) |
| const |
|
inlineinherited |
- 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 |
Add advective phase energy fluxes. For isothermal model the contribution is zero.
Add diffusive energy fluxes. For isothermal model the contribution is zero.
◆ computeStorage()
template<class TypeTag >
NumEqVector Dumux::TwoPOneCLocalResidual< TypeTag >::computeStorage |
( |
const Problem & |
problem, |
|
|
const SubControlVolume & |
scv, |
|
|
const VolumeVariables & |
volVars |
|
) |
| const |
|
inline |
The documentation for this class was generated from the following file: