version 3.11-dev
Dumux::NavierStokesMassOnePLocalResidual< TypeTag > Class Template Reference

Element-wise calculation of the Navier-Stokes residual for single-phase flow.

#include <dumux/freeflow/navierstokes/mass/1p/localresidual.hh>

Inheritance diagram for Dumux::NavierStokesMassOnePLocalResidual< TypeTag >:

Public Member Functions

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...
 

Member Function Documentation

◆ 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
problemThe problem
elementThe element
fvGeometryThe finite volume geometry context
elemVolVarsThe volume variables for all flux stencil elements
scvfThe sub control volume face to compute the flux on
elemFluxVarsCacheThe cache related to flux computation

◆ computeStorage()

template<class TypeTag >
NumEqVector Dumux::NavierStokesMassOnePLocalResidual< TypeTag >::computeStorage ( const Problem &  problem,
const SubControlVolume &  scv,
const VolumeVariables &  volVars 
) const
inline

◆ fluxIntegral()

template<class TypeTag >
NumEqVector Dumux::NavierStokesMassOnePLocalResidual< TypeTag >::fluxIntegral ( const FVElementGeometry &  fvGeometry,
const ElementVolumeVariables &  elemVars,
const ElementFluxVariablesCache &  elemFluxVarsCache,
const SubControlVolumeFace &  scvf 
) const
inline
Parameters
fvGeometryThe finite-volume geometry of the element
elemVarsThe variables for all local dofs of the element
elemFluxVarsCachethe flux variable caches for the element's flux stencils
scvfThe sub control volume face

◆ sourceIntegral()

template<class TypeTag >
NumEqVector Dumux::NavierStokesMassOnePLocalResidual< TypeTag >::sourceIntegral ( const FVElementGeometry &  fvGeometry,
const ElementVolumeVariables &  elemVars,
const SubControlVolume &  scv 
) const
inline
Parameters
fvGeometryThe finite-volume geometry of the element
elemVarsThe variables for all local dofs of the element
scvThe 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
fvGeometryThe finite-volume geometry of the element
elemVarsThe variables for all local dofs of the element
scvThe sub control volume
isPreviousTimeLevelIf set to true, the storage term is evaluated on the previous time level.

The documentation for this class was generated from the following file: