Single phase finite volume velocity reconstruction. More...
#include <dumux/porousmediumflow/1p/sequential/diffusion/cellcentered/velocity.hh>
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.
| TypeTag | The 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... | |
|
inline |
Constructs a FVVelocity1P object.
| problem | A problem class object |
|
inline |
Adds velocity output to the output file.
Adds the velocities to the output.
| MultiWriter | Class defining the output writer |
| writer | The output writer (usually a VTKMultiWriter object) |