Volume variables for the single-phase, multi-component free-flow model.  
|  | 
| 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 | effectiveViscosity () const | 
|  | Return the effective dynamic viscosity \(\mathrm{[Pa s]}\) of the fluid 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 | massFraction (int phaseIdx, int compIdx) const | 
|  | Returns the mass fraction of a component in the phase \(\mathrm{[-]}\). 
 | 
|  | 
| Scalar | massFraction (int compIdx) const | 
|  | Returns the mass fraction of a component in the phase \(\mathrm{[-]}\). 
 | 
|  | 
| Scalar | moleFraction (int phaseIdx, int compIdx) const | 
|  | Returns the mole fraction of a component in the phase \(\mathrm{[-]}\). 
 | 
|  | 
| Scalar | moleFraction (int compIdx) const | 
|  | Returns the mole fraction of a component in the phase \(\mathrm{[-]}\). 
 | 
|  | 
| Scalar | molarDensity (int phaseIdx=0) const | 
|  | Returns the mass density of a given phase \(\mathrm{[kg/m^3]}\). 
 | 
|  | 
| Scalar | molarMass (int compIdx) const | 
|  | Returns the molar mass of a given component. 
 | 
|  | 
| Scalar | averageMolarMass (const int phaseIdx=0) const | 
|  | Returns the average molar mass \(\mathrm{[kg/mol]}\) of the fluid phase. 
 | 
|  | 
| Scalar | diffusionCoefficient (int phaseIdx, int compIIdx, int compJIdx) const | 
|  | Returns the binary diffusion coefficients for a phase in \([m^2/s]\). 
 | 
|  | 
| Scalar | effectiveDiffusionCoefficient (int phaseIdx, int compIIdx, int compJIdx) const | 
|  | Returns the effective diffusion coefficients for a phase in \([m^2/s]\). 
 | 
|  | 
| const FluidState & | fluidState () const | 
|  | Return the fluid state of the control volume. 
 | 
|  |