3.5-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Public Member Functions | List of all members
Dumux::NavierStokesMassOnePLocalResidual< TypeTag > Class Template Reference

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

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

Inheritance diagram for Dumux::NavierStokesMassOnePLocalResidual< TypeTag >:

Description

template<class TypeTag>
class Dumux::NavierStokesMassOnePLocalResidual< TypeTag >

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

Public Member Functions

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
 Evaluatex the mass flux 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

Evaluatex the mass flux over a face of a sub control volume.

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

Calculate the storage term of the equation.


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