Volume variables for the single-phase Navier-Stokes model.
#include <dumux/freeflow/navierstokes/scalarvolumevariables.hh>
|
| using | PrimaryVariables = typename Traits::PrimaryVariables |
| | export the type used for the primary variables
|
| |
| using | Indices = typename Traits::ModelTraits::Indices |
| | export the indices type
|
| |
| using | FluidSystem = typename Traits::FluidSystem |
| | Export the underlying fluid system.
|
| |
| using | FluidState = typename Traits::FluidState |
| | Export the fluid state type.
|
| |
|
| template<class ElementSolution, class Problem, class Element, class SubControlVolume> |
| void | update (const ElementSolution &elemSol, const Problem &problem, const Element &element, const SubControlVolume &scv) |
| | Update all quantities for a given control volume.
|
| |
| Scalar | extrusionFactor () const |
| | Return how much the sub-control volume is extruded.
|
| |
| Scalar | priVar (const int pvIdx) const |
| | Return a component of primary variable vector.
|
| |
| const PrimaryVariables & | priVars () const |
| | Return the primary variable vector.
|
| |
|
| static constexpr int | numFluidPhases () |
| | Return number of phases considered by the model.
|
| |
| static constexpr int | numFluidComponents () |
| | Return number of components considered by the model.
|
| |
◆ FluidState
◆ FluidSystem
◆ Indices
◆ PrimaryVariables
◆ extrusionFactor()
This means the factor by which a lower-dimensional (1D or 2D) entity needs to be expanded to get a full dimensional cell. The default is 1.0 which means that 1D problems are actually thought as pipes with a cross section of 1 m^2 and 2D problems are assumed to extend 1 m to the back.
◆ numFluidComponents()
◆ numFluidPhases()
◆ priVar()
- Parameters
-
| pvIdx | The index of the primary variable of interest |
◆ priVars()
◆ update()
template<class Traits>
template<class ElementSolution, class Problem, class Element, class SubControlVolume>
- Parameters
-
| elemSol | A vector containing all primary variables connected to the element |
| problem | The object specifying the problem which ought to be simulated |
| element | An element which contains part of the control volume |
| scv | The sub-control volume |
◆ extrusionFactor_
◆ priVars_
The documentation for this class was generated from the following file: