Velocity output for implicit (porous media) models. More...
#include <dumux/io/velocityoutput.hh>
Velocity output for implicit (porous media) models.
Public Types | |
using | VelocityVector = std::vector< Dune::FieldVector< Scalar, dimWorld > > |
Public Member Functions | |
VelocityOutput ()=default | |
Default constructor. More... | |
virtual | ~VelocityOutput () |
virtual destructor More... | |
virtual bool | enableOutput () const |
returns whether or not velocity output is enabled More... | |
virtual std::string | phaseName (int phaseIdx) const |
returns the phase name of a given phase index More... | |
virtual int | numFluidPhases () const |
returns the number of phases More... | |
virtual void | calculateVelocity (VelocityVector &velocity, const Element &element, const FVElementGeometry &fvGeometry, const ElementVolumeVariables &elemVolVars, const ElementFluxVarsCache &elemFluxVarsCache, int phaseIdx) const |
using Dumux::VelocityOutput< GridVariables >::VelocityVector = std::vector<Dune::FieldVector<Scalar, dimWorld> > |
|
default |
Default constructor.
|
inlinevirtual |
virtual destructor
|
inlinevirtual |
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 >.
|
inlinevirtual |
returns whether or not velocity output is enabled
Reimplemented in Dumux::StaggeredFreeFlowVelocityOutput< GridVariables, SolutionVector >, Dumux::NavierStokesVelocityOutput< GridVariables >, Dumux::GeomechanicsVelocityOutput< GridVariables >, Dumux::PoreNetwork::VelocityOutput< GridVariables, FluxVariables >, and Dumux::PorousMediumFlowVelocityOutput< GridVariables, FluxVariables >.
|
inlinevirtual |
returns the number of phases
Reimplemented in Dumux::StaggeredFreeFlowVelocityOutput< GridVariables, SolutionVector >, Dumux::NavierStokesVelocityOutput< GridVariables >, Dumux::PoreNetwork::VelocityOutput< GridVariables, FluxVariables >, Dumux::RichardsVelocityOutput< GridVariables, FluxVariables >, and Dumux::PorousMediumFlowVelocityOutput< GridVariables, FluxVariables >.
|
inlinevirtual |
returns the phase name of a given phase index
Reimplemented in Dumux::StaggeredFreeFlowVelocityOutput< GridVariables, SolutionVector >, Dumux::NavierStokesVelocityOutput< GridVariables >, Dumux::PoreNetwork::VelocityOutput< GridVariables, FluxVariables >, and Dumux::PorousMediumFlowVelocityOutput< GridVariables, FluxVariables >.