Volume variables for the shallow water equations model.
#include <dumux/freeflow/shallowwater/volumevariables.hh>
|
| using | PrimaryVariables = typename Traits::PrimaryVariables |
| |
| using | FluidSystem = typename Traits::FluidSystem |
| | export the underlying fluid system
|
| |
|
| template<class ElemSol, class Problem, class Element, class Scv> |
| void | update (const ElemSol &elemSol, const Problem &problem, const Element &element, const Scv &scv) |
| |
| Scalar | extrusionFactor () const |
| | Return the extrusion factor (dummy variable).
|
| |
| const PrimaryVariables & | priVars () const |
| | Return the vector of primary variables.
|
| |
| Scalar | waterDepth () const |
| | Return water detph h inside the sub-control volume.
|
| |
| Scalar | velocity (int directionIndex) const |
| | Return water velocity component inside the sub-control volume.
|
| |
| Scalar | bedSurface () const |
| | Return the bed surface inside the sub-control volume.
|
| |
| Scalar | density (int phaseIdx=0) const |
| | Returns the mass density \(\mathrm{[kg/m^3]}\) of the fluid.
|
| |
| Scalar | viscosity (int phaseIdx=0) const |
| | Return the dynamic viscosity \(\mathrm{[Pa s]}\) of the fluid.
|
| |
◆ FluidSystem
◆ PrimaryVariables
◆ bedSurface()
◆ density()
◆ extrusionFactor()
◆ priVars()
◆ update()
template<class Traits>
template<class ElemSol, class Problem, class Element, class Scv>
◆ velocity()
- Parameters
-
| directionIndex | index of the direction staring at x = 0 |
◆ viscosity()
◆ waterDepth()
The documentation for this class was generated from the following file: