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 VolumeVariables &volVars) const |
| | Calculate the storage term of the equation. More...
|
| |
| NumEqVector | storageIntegral (const FVElementGeometry &fvGeometry, const ElementVolumeVariables &elemVars, const SubControlVolume &scv, bool isPreviousTimeLevel) const |
| | Calculate the storage term of the equation. More...
|
| |
| NumEqVector | sourceIntegral (const FVElementGeometry &fvGeometry, const ElementVolumeVariables &elemVars, const SubControlVolume &scv) const |
| | Calculate the source integral. 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...
|
| |
| NumEqVector | fluxIntegral (const FVElementGeometry &fvGeometry, const ElementVolumeVariables &elemVars, const ElementFluxVariablesCache &elemFluxVarsCache, const SubControlVolumeFace &scvf) const |
| | Calculates the flux integral over a face of a sub control volume. More...
|
| |
◆ computeFlux()
template<class TypeTag >
| NumEqVector Dumux::NavierStokesMassOnePLocalResidual< TypeTag >::computeFlux |
( |
const Problem & |
problem, |
|
|
const Element & |
element, |
|
|
const FVElementGeometry & |
fvGeometry, |
|
|
const ElementVolumeVariables & |
elemVolVars, |
|
|
const SubControlVolumeFace & |
scvf, |
|
|
const ElementFluxVariablesCache & |
elemFluxVarsCache |
|
) |
| const |
|
inline |
- 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()
◆ fluxIntegral()
template<class TypeTag >
| NumEqVector Dumux::NavierStokesMassOnePLocalResidual< TypeTag >::fluxIntegral |
( |
const FVElementGeometry & |
fvGeometry, |
|
|
const ElementVolumeVariables & |
elemVars, |
|
|
const ElementFluxVariablesCache & |
elemFluxVarsCache, |
|
|
const SubControlVolumeFace & |
scvf |
|
) |
| const |
|
inline |
- Parameters
-
| fvGeometry | The finite-volume geometry of the element |
| elemVars | The variables for all local dofs of the element |
| elemFluxVarsCache | the flux variable caches for the element's flux stencils |
| scvf | The sub control volume face |
◆ sourceIntegral()
- Parameters
-
| fvGeometry | The finite-volume geometry of the element |
| elemVars | The variables for all local dofs of the element |
| scv | The sub control volume |
◆ storageIntegral()
template<class TypeTag >
| NumEqVector Dumux::NavierStokesMassOnePLocalResidual< TypeTag >::storageIntegral |
( |
const FVElementGeometry & |
fvGeometry, |
|
|
const ElementVolumeVariables & |
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: