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 | 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()
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()
The documentation for this class was generated from the following file: