3.4
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Public Types | Public Member Functions | List of all members
Dumux::PoreNetwork::VelocityOutput< GridVariables, FluxVariables > Class Template Reference

Velocity output for pore-network models. More...

#include <dumux/porenetwork/common/velocityoutput.hh>

Inheritance diagram for Dumux::PoreNetwork::VelocityOutput< GridVariables, FluxVariables >:

Description

template<class GridVariables, class FluxVariables>
class Dumux::PoreNetwork::VelocityOutput< GridVariables, FluxVariables >

Velocity output for pore-network models.

Public Types

using VelocityVector = typename ParentType::VelocityVector
 Export the velocity vector type. More...
 

Public Member Functions

std::string phaseName (int phaseIdx) const override
 Returns the phase name of a given phase index. More...
 
int numFluidPhases () const override
 Returns the number of phases. More...
 
 VelocityOutput (const GridVariables &gridVariables)
 Constructor. More...
 
bool enableOutput () const override
 Returns true if velocity output is enabled. More...
 
void calculateVelocity (VelocityVector &velocity, const Element &element, const FVElementGeometry &fvGeometry, const ElementVolumeVariables &elemVolVars, const ElementFluxVariablesCache &elemFluxVarsCache, int phaseIdx) const override
 

Member Typedef Documentation

◆ VelocityVector

template<class GridVariables , class FluxVariables >
using Dumux::PoreNetwork::VelocityOutput< GridVariables, FluxVariables >::VelocityVector = typename ParentType::VelocityVector

Export the velocity vector type.

Constructor & Destructor Documentation

◆ VelocityOutput()

template<class GridVariables , class FluxVariables >
Dumux::PoreNetwork::VelocityOutput< GridVariables, FluxVariables >::VelocityOutput ( const GridVariables &  gridVariables)
inline

Constructor.

Member Function Documentation

◆ calculateVelocity()

template<class GridVariables , class FluxVariables >
void Dumux::PoreNetwork::VelocityOutput< GridVariables, FluxVariables >::calculateVelocity ( VelocityVector velocity,
const Element &  element,
const FVElementGeometry &  fvGeometry,
const ElementVolumeVariables &  elemVolVars,
const ElementFluxVariablesCache &  elemFluxVarsCache,
int  phaseIdx 
) const
inlineoverridevirtual

Calculate the velocities for the scvs in the element We assume the local containers to be bound to the complete stencil

Reimplemented from Dumux::VelocityOutput< GridVariables >.

◆ enableOutput()

template<class GridVariables , class FluxVariables >
bool Dumux::PoreNetwork::VelocityOutput< GridVariables, FluxVariables >::enableOutput ( ) const
inlineoverridevirtual

Returns true if velocity output is enabled.

Reimplemented from Dumux::VelocityOutput< GridVariables >.

◆ numFluidPhases()

template<class GridVariables , class FluxVariables >
int Dumux::PoreNetwork::VelocityOutput< GridVariables, FluxVariables >::numFluidPhases ( ) const
inlineoverridevirtual

Returns the number of phases.

Reimplemented from Dumux::VelocityOutput< GridVariables >.

◆ phaseName()

template<class GridVariables , class FluxVariables >
std::string Dumux::PoreNetwork::VelocityOutput< GridVariables, FluxVariables >::phaseName ( int  phaseIdx) const
inlineoverridevirtual

Returns the phase name of a given phase index.

Reimplemented from Dumux::VelocityOutput< GridVariables >.


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