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

Single phase finite volume velocity reconstruction. More...

#include <dumux/porousmediumflow/1p/sequential/diffusion/cellcentered/velocity.hh>

Description

template<class TypeTag>
class Dumux::FVVelocity1P< TypeTag >

Single phase finite volume velocity reconstruction.

Calculates velocities from a known pressure field applying a finite volume discretization. The pressure has to be given as piecewise constant cell values. The velocity is calculated following Darcy's law as

\[ \boldsymbol v = -\frac{1}{\mu} \boldsymbol K \left(\textbf{grad}\, p + \rho g \textbf{grad}\, z\right), \]

where, \( p \) is the pressure, \( \boldsymbol K \) the absolute permeability, \( \mu \) the viscosity, \( \rho \) the density and \( g \) the gravity constant.

Template Parameters
TypeTagThe Type Tag

Public Member Functions

 FVVelocity1P (Problem &problem)
 Constructs a FVVelocity1P object. More...
 
void calculateVelocity (const Intersection &, CellData &)
 Calculates the velocity at a cell-cell interface. More...
 
void calculateVelocityOnBoundary (const Intersection &, CellData &)
 Calculates the velocity at a boundary. More...
 
template<class MultiWriter >
void addOutputVtkFields (MultiWriter &writer)
 Adds velocity output to the output file. More...
 

Constructor & Destructor Documentation

◆ FVVelocity1P()

template<class TypeTag >
Dumux::FVVelocity1P< TypeTag >::FVVelocity1P ( Problem &  problem)
inline

Constructs a FVVelocity1P object.

Parameters
problemA problem class object

Member Function Documentation

◆ addOutputVtkFields()

template<class TypeTag >
template<class MultiWriter >
void Dumux::FVVelocity1P< TypeTag >::addOutputVtkFields ( MultiWriter &  writer)
inline

Adds velocity output to the output file.

Adds the velocities to the output.

Template Parameters
MultiWriterClass defining the output writer
Parameters
writerThe output writer (usually a VTKMultiWriter object)

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