Volume variables for the single-phase Navier-Stokes model.  
#include <dumux/freeflow/navierstokes/volumevariables.hh>
|  | 
| using | FluidSystem = typename Traits::FluidSystem | 
|  | export the underlying fluid system 
 | 
|  | 
| using | FluidState = typename Traits::FluidState | 
|  | export the fluid state type 
 | 
|  | 
| using | Indices = typename Traits::ModelTraits::Indices | 
|  | export the indices 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 | pressure (int phaseIdx=0) const | 
|  | Return the effective pressure \(\mathrm{[Pa]}\) of a given phase within the control volume. 
 | 
|  | 
| Scalar | density (int phaseIdx=0) const | 
|  | Return the mass density \(\mathrm{[kg/m^3]}\) of a given phase within the control volume. 
 | 
|  | 
| Scalar | temperature () const | 
|  | Return temperature \(\mathrm{[K]}\) inside the sub-control volume. 
 | 
|  | 
| Scalar | molarMass (int phaseIdx=0) const | 
|  | Returns the molar mass of a given phase within the control volume. 
 | 
|  | 
| Scalar | viscosity (int phaseIdx=0) const | 
|  | Return the dynamic viscosity \(\mathrm{[Pa s]}\) of the fluid within the control volume. 
 | 
|  | 
| Scalar | effectiveViscosity () const | 
|  | Return the effective dynamic viscosity \(\mathrm{[Pa s]}\) of the fluid within the control volume. 
 | 
|  | 
| const FluidState & | fluidState () const | 
|  | Return the fluid state of the control volume. 
 | 
|  | 
|  | 
| template<class ElementSolution, class Problem, class Element, class SubControlVolume> | 
| static void | completeFluidState (const ElementSolution &elemSol, const Problem &problem, const Element &element, const SubControlVolume &scv, FluidState &fluidState) | 
|  | Update the fluid state. 
 | 
|  | 
◆ FluidState
◆ FluidSystem
◆ Indices
◆ completeFluidState()
template<class Traits> 
template<class ElementSolution, class Problem, class Element, class SubControlVolume> 
 
 
◆ density()
◆ effectiveViscosity()
◆ fluidState()
◆ molarMass()
◆ pressure()
◆ temperature()
◆ update()
template<class Traits> 
template<class ElementSolution, class Problem, class Element, class SubControlVolume> 
  
  | 
        
          | void Dumux::NavierStokesVolumeVariables< Traits >::update | ( | const ElementSolution & | elemSol, |  
          |  |  | const Problem & | problem, |  
          |  |  | const Element & | element, |  
          |  |  | const SubControlVolume & | scv ) |  | inline | 
 
- 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 |  
 
 
 
◆ viscosity()
◆ fluidState_
The documentation for this class was generated from the following file: