version 3.8
Dumux::NavierStokesVelocityOutput< GridVariables > Class Template Reference

Velocity output for staggered free-flow models.

#include <dumux/freeflow/navierstokes/velocityoutput.hh>

Inheritance diagram for Dumux::NavierStokesVelocityOutput< GridVariables >:

Public Types

using VelocityVector = typename ParentType::VelocityVector
 

Public Member Functions

 NavierStokesVelocityOutput (const std::string &paramGroup="")
 
bool enableOutput () const override
 Returns whether to enable the velocity output or not. More...
 
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...
 
FieldType fieldType () const override
 returns the field type More...
 
void calculateVelocity (VelocityVector &velocity, const Element &element, const FVElementGeometry &fvGeometry, const ElementVolumeVariables &elemVolVars, const ElementFluxVarsCache &elemFluxVarsCache, int phaseIdx) const override
 
virtual void calculateVelocity (VelocityVector &velocity, const Element &element, const FVElementGeometry &fvGeometry, const ElementVolumeVariables &elemVolVars, const ElementFluxVarsCache &elemFluxVarsCache, int phaseIdx) const
 

Member Typedef Documentation

◆ VelocityVector

template<class GridVariables >
using Dumux::NavierStokesVelocityOutput< GridVariables >::VelocityVector = typename ParentType::VelocityVector

Constructor & Destructor Documentation

◆ NavierStokesVelocityOutput()

template<class GridVariables >
Dumux::NavierStokesVelocityOutput< GridVariables >::NavierStokesVelocityOutput ( const std::string &  paramGroup = "")
inline

Member Function Documentation

◆ calculateVelocity() [1/2]

template<class GridVariables >
virtual void Dumux::VelocityOutput< GridVariables >::calculateVelocity ( VelocityVector velocity,
const Element &  element,
const FVElementGeometry &  fvGeometry,
const ElementVolumeVariables &  elemVolVars,
const ElementFluxVarsCache &  elemFluxVarsCache,
int  phaseIdx 
) const
inlinevirtualinherited

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

Reimplemented in Dumux::PoreNetwork::VelocityOutput< GridVariables, FluxVariables >, and Dumux::PorousMediumFlowVelocityOutput< GridVariables, FluxVariables >.

◆ calculateVelocity() [2/2]

template<class GridVariables >
void Dumux::NavierStokesVelocityOutput< GridVariables >::calculateVelocity ( VelocityVector velocity,
const Element &  element,
const FVElementGeometry &  fvGeometry,
const ElementVolumeVariables &  elemVolVars,
const ElementFluxVarsCache &  elemFluxVarsCache,
int  phaseIdx 
) const
inlineoverride

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

◆ enableOutput()

template<class GridVariables >
bool Dumux::NavierStokesVelocityOutput< GridVariables >::enableOutput ( ) const
inlineoverridevirtual

◆ fieldType()

template<class GridVariables >
FieldType Dumux::NavierStokesVelocityOutput< GridVariables >::fieldType ( ) const
inlineoverridevirtual

◆ numFluidPhases()

template<class GridVariables >
int Dumux::NavierStokesVelocityOutput< GridVariables >::numFluidPhases ( ) const
inlineoverridevirtual

◆ phaseName()

template<class GridVariables >
std::string Dumux::NavierStokesVelocityOutput< GridVariables >::phaseName ( int  phaseIdx) const
inlineoverridevirtual

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