Velocity output for staggered free-flow models.
#include <dumux/discretization/staggered/freeflow/velocityoutput.hh>
|
| | StaggeredFreeFlowVelocityOutput (const GridVariables &gridVariables, const SolutionVector &sol) |
| | Constructor initializes the static data with the initial solution.
|
| |
| bool | enableOutput () const override |
| | Returns whether to enable the velocity output or not.
|
| |
| std::string | phaseName (int phaseIdx) const override |
| | returns the phase name of a given phase index
|
| |
| int | numFluidPhases () const override |
| | returns the number of phases
|
| |
| void | calculateVelocity (VelocityVector &velocity, const Element &element, const FVElementGeometry &fvGeometry, const ElementVolumeVariables &elemVolVars, const ElementFluxVarsCache &elemFluxVarsCache, int phaseIdx) const override |
| |
| virtual FieldType | fieldType () const |
| | returns the field type
|
| |
| virtual void | calculateVelocity (VelocityVector &velocity, const Element &element, const FVElementGeometry &fvGeometry, const ElementVolumeVariables &elemVolVars, const ElementFluxVarsCache &elemFluxVarsCache, int phaseIdx) const |
| |
◆ VelocityVector
template<class GridVariables, class SolutionVector>
◆ FieldType
template<class GridVariables>
| Enumerator |
|---|
| element | |
| vertex | |
| automatic | |
◆ StaggeredFreeFlowVelocityOutput()
template<class GridVariables, class SolutionVector>
- Parameters
-
| gridVariables | The gridVariables |
| sol | The solution vector |
◆ calculateVelocity() [1/2]
template<class GridVariables, class SolutionVector>
| void Dumux::StaggeredFreeFlowVelocityOutput< GridVariables, SolutionVector >::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
◆ calculateVelocity() [2/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
◆ enableOutput()
template<class GridVariables, class SolutionVector>
◆ fieldType()
template<class GridVariables>
◆ numFluidPhases()
template<class GridVariables, class SolutionVector>
◆ phaseName()
template<class GridVariables, class SolutionVector>
The documentation for this class was generated from the following file: