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

The mass conservation part of the nonequilibrium model for a model assuming chemical non-equilibrium and two phases but assuming thermal equilibrium. More...

#include <dumux/porousmediumflow/nonequilibrium/localresidual.hh>

Inheritance diagram for Dumux::NonEquilibriumLocalResidualImplementation< TypeTag, true >:
Inheritance graph

Description

template<class TypeTag>
class Dumux::NonEquilibriumLocalResidualImplementation< TypeTag, true >

The mass conservation part of the nonequilibrium model for a model assuming chemical non-equilibrium and two phases but assuming thermal equilibrium.

Public Member Functions

NumEqVector computeStorage (const Problem &problem, const SubControlVolume &scv, const VolumeVariables &volVars) const
 Calculates the storage for all mass balance equations. More...
 
NumEqVector computeFlux (const Problem &problem, const Element &element, const FVElementGeometry &fvGeometry, const ElementVolumeVariables &elemVolVars, const SubControlVolumeFace &scvf, const ElementFluxVariablesCache &elemFluxVarsCache) const
 Calculates the flux for all mass balance equations. More...
 
NumEqVector computeSource (const Problem &problem, const Element &element, const FVElementGeometry &fvGeometry, const ElementVolumeVariables &elemVolVars, const SubControlVolume &scv) const
 Calculates the source term of the equation. More...
 

Member Function Documentation

◆ computeFlux()

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

Calculates the flux for all mass balance equations.

Parameters
problemThe object specifying the problem which ought to be simulated
elementAn element which contains part of the control volume
fvGeometryThe finite-volume geometry
elemVolVarsThe volume variables of the current element
scvfThe sub control volume face to compute the flux on
elemFluxVarsCacheThe cache related to flux compuation

Add advective phase energy fluxes. For isothermal model the contribution is zero.

Add diffusive energy fluxes. For isothermal model the contribution is zero.

◆ computeSource()

template<class TypeTag >
NumEqVector Dumux::NonEquilibriumLocalResidualImplementation< TypeTag, true >::computeSource ( const Problem &  problem,
const Element &  element,
const FVElementGeometry &  fvGeometry,
const ElementVolumeVariables &  elemVolVars,
const SubControlVolume &  scv 
) const
inline

Calculates the source term of the equation.

Parameters
problemThe source term
elementAn element which contains part of the control volume
fvGeometryThe finite-volume geometry
elemVolVarsThe volume variables of the current element
scvThe sub-control volume over which we integrate the source term

◆ computeStorage()

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

Calculates the storage for all mass balance equations.

Parameters
problemThe object specifying the problem which ought to be simulated
scvThe sub-control volume
volVarsThe volume variables

The energy storage in the fluid phase with index phaseIdx

The energy storage in the solid matrix


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