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

Element-wise calculation of the Jacobian matrix for problems using the three-phase three-component fully implicit model. More...

#include <dumux/porousmediumflow/3p3c/localresidual.hh>

Inheritance diagram for Dumux::ThreePThreeCLocalResidual< TypeTag >:
Inheritance graph

Description

template<class TypeTag>
class Dumux::ThreePThreeCLocalResidual< TypeTag >

Element-wise calculation of the Jacobian matrix for problems using the three-phase three-component fully implicit model.

Public Member Functions

NumEqVector computeStorage (const Problem &problem, const SubControlVolume &scv, const VolumeVariables &volVars) const
 Evaluates the amount of all conservation quantities (e.g. phase mass) within a sub-control volume. More...
 
NumEqVector computeFlux (const Problem &problem, const Element &element, const FVElementGeometry &fvGeometry, const ElementVolumeVariables &elemVolVars, const SubControlVolumeFace &scvf, const ElementFluxVariablesCache &elemFluxVarsCache) const
 Evaluates the total flux of all conservation quantities over a face of a sub-control volume. More...
 

Member Function Documentation

◆ computeFlux()

template<class TypeTag >
NumEqVector Dumux::ThreePThreeCLocalResidual< TypeTag >::computeFlux ( const Problem &  problem,
const Element &  element,
const FVElementGeometry &  fvGeometry,
const ElementVolumeVariables &  elemVolVars,
const SubControlVolumeFace &  scvf,
const ElementFluxVariablesCache &  elemFluxVarsCache 
) const
inline

Evaluates the total flux of all conservation quantities over a face of a sub-control volume.

Parameters
problemThe problem
elementThe element
fvGeometryThe finite volume element geometry
elemVolVarsThe element volume variables
scvfThe sub control volume face
elemFluxVarsCacheThe element flux variables cache

◆ computeStorage()

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

Evaluates the amount of all conservation quantities (e.g. phase mass) within a sub-control volume.

The result should be averaged over the volume (e.g. phase mass inside a sub control volume divided by the volume)

Parameters
problemThe problem
scvThe sub control volume
volVarsThe volume variables

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