Element-wise calculation of the Navier-Stokes residual for single-phase flow.
#include <dumux/freeflow/navierstokes/mass/1p/localresidual.hh>
|
| NumEqVector | computeStorage (const Problem &problem, const SubControlVolume &scv, const Variables &vars) const |
| | Calculate the storage term of the equation.
|
| NumEqVector | storageIntegral (const FVElementGeometry &fvGeometry, const ElementVariables &elemVars, const SubControlVolume &scv, bool isPreviousTimeLevel) const |
| | Calculate the storage term of the equation.
|
| template<class ElementFluxVariablesCache> |
| NumEqVector | computeFlux (const Problem &problem, const Element &element, const FVElementGeometry &fvGeometry, const ElementVariables &elemVars, const SubControlVolumeFace &scvf, const ElementFluxVariablesCache &elemFluxVarsCache) const |
| | Evaluate the mass flux over a face of a sub control volume.
|
| NumEqVector | fluxIntegral (const FVElementGeometry &fvGeometry, const ElementVariables &elemVars, const SubControlVolumeFace &scvf) const |
| | Calculates the flux integral over a face of a sub control volume.
|
◆ computeFlux()
template<class TypeTag>
template<class ElementFluxVariablesCache>
| NumEqVector Dumux::NavierStokesMassOnePLocalResidual< TypeTag >::computeFlux |
( |
const Problem & | problem, |
|
|
const Element & | element, |
|
|
const FVElementGeometry & | fvGeometry, |
|
|
const ElementVariables & | elemVars, |
|
|
const SubControlVolumeFace & | scvf, |
|
|
const ElementFluxVariablesCache & | elemFluxVarsCache ) const |
|
inline |
- Parameters
-
| problem | The problem |
| element | The element |
| fvGeometry | The finite volume geometry context |
| elemVars | The variables for all local dofs of the element |
| scvf | The sub control volume face to compute the flux on |
| elemFluxVarsCache | The cache related to flux computation |
◆ computeStorage()
◆ fluxIntegral()
- Parameters
-
| fvGeometry | The finite-volume geometry of the element |
| elemVars | The variables for all local dofs of the element |
| scvf | The sub control volume face |
◆ storageIntegral()
template<class TypeTag>
| NumEqVector Dumux::NavierStokesMassOnePLocalResidual< TypeTag >::storageIntegral |
( |
const FVElementGeometry & | fvGeometry, |
|
|
const ElementVariables & | elemVars, |
|
|
const SubControlVolume & | scv, |
|
|
bool | isPreviousTimeLevel ) const |
|
inline |
- Parameters
-
| fvGeometry | The finite-volume geometry of the element |
| elemVars | The variables for all local dofs of the element |
| scv | The sub control volume |
| isPreviousTimeLevel | If set to true, the storage term is evaluated on the previous time level. |
The documentation for this class was generated from the following file: