Volume variables for the isothermal single-phase Reynolds-Averaged Navier-Stokes models.
More...
template<class Traits, class NSVolumeVariables>
class Dumux::RANSVolumeVariables< Traits, NSVolumeVariables >
Volume variables for the isothermal single-phase Reynolds-Averaged Navier-Stokes models.
|
| template<class ElementSolution , class Problem , class Element , class SubControlVolume > |
| void | updateNavierStokesVolVars (const ElementSolution &elemSol, const Problem &problem, const Element &element, const SubControlVolume &scv) |
| | Update all quantities for a given control volume. More...
|
| |
| template<class ElementSolution , class Problem , class Element , class SubControlVolume > |
| void | updateRANSProperties (const ElementSolution &elemSol, const Problem &problem, const Element &element, const SubControlVolume &scv) |
| | Update all turbulent quantities for a given control volume. More...
|
| |
| unsigned int | elementIdx () const |
| | Return the element Idx of the control volume. More...
|
| |
| DimVector | ccVelocityVector () const |
| | Return the velocity vector \(\mathrm{[m/s]}\) at the control volume center. More...
|
| |
| DimVector | velocityMaximum () const |
| | Return the maximum velocity vector \(\mathrm{[m/s]}\) of the wall segment. More...
|
| |
| DimVector | velocityMinimum () const |
| | Return the minimum velocity vector \(\mathrm{[m/s]}\) of the wall segment. More...
|
| |
| DimMatrix | velocityGradients () const |
| | Return the velocity gradients \(\mathrm{[1/s]}\) at the control volume center. More...
|
| |
| Scalar | wallDistance () const |
| | Return the wall distance \(\mathrm{[m]}\) of the control volume. More...
|
| |
| Scalar | karmanConstant () const |
| | Return the Karman constant. More...
|
| |
| Scalar | uStar () const |
| | Return the wall friction velocity \(\mathrm{[m/s]}\). More...
|
| |
| Scalar | yPlus () const |
| | Return the dimensionless wall distance \(\mathrm{[-]}\). More...
|
| |
| Scalar | uPlus () const |
| | Return the dimensionless velocity \(\mathrm{[-]}\). More...
|
| |
| Scalar | dynamicEddyViscosity () const |
| | Return the dynamic eddy viscosity \(\mathrm{[Pa s]}\) of the flow within the control volume. More...
|
| |
| Scalar | effectiveViscosity () const |
| | Return the effective dynamic viscosity \(\mathrm{[Pa s]}\) of the fluid within the control volume. More...
|
| |
| Scalar | kinematicEddyViscosity () const |
| | Return the kinematic eddy viscosity \(\mathrm{[m^2/s]}\) of the flow within the control volume. More...
|
| |
| Scalar | kinematicViscosity () const |
| | Return the kinematic viscosity \(\mathrm{[m^2/s]}\) of the fluid within the control volume. More...
|
| |
| template<class Problem > |
| void | calculateEddyDiffusivity (const Problem &problem) |
| | Calculates the eddy diffusivity \(\mathrm{[m^2/s]}\) based on the kinematic eddy viscosity and the turbulent Schmidt number. More...
|
| |
| template<class Problem , bool eB = enableEnergyBalance, typename std::enable_if_t< eB, int > = 0> |
| void | calculateEddyThermalConductivity (const Problem &problem) |
| | Calculates the eddy thermal conductivity \(\mathrm{[W/(m*K)]}\) based on the kinematic eddy viscosity and the turbulent Prandtl number. More...
|
| |
| template<class Problem , bool eB = enableEnergyBalance, typename std::enable_if_t<!eB, int > = 0> |
| void | calculateEddyThermalConductivity (const Problem &problem) |
| | Eddy thermal conductivity is zero for isothermal model. More...
|
| |
| Scalar | eddyDiffusivity () const |
| | Returns the eddy diffusivity \(\mathrm{[m^2/s]}\). More...
|
| |
| Scalar | eddyThermalConductivity () const |
| | Returns the eddy thermal conductivity \(\mathrm{[W/(m*K)]}\). More...
|
| |
| Scalar | effectiveDiffusionCoefficient (int phaseIdx, int compIIdx, int compJIdx) const |
| | Returns the binary diffusion coefficients for a phase in \([m^2/s]\). More...
|
| |
| template<bool eB = enableEnergyBalance, typename std::enable_if_t< eB, int > = 0> |
| Scalar | effectiveThermalConductivity () const |
| | Returns the effective thermal conductivity \(\mathrm{[W/(m*K)]}\) of the fluid-flow in the sub-control volume. More...
|
| |
template<class Traits , class NSVolumeVariables >
template<class ElementSolution , class Problem , class Element , class SubControlVolume >
| void Dumux::RANSVolumeVariables< Traits, NSVolumeVariables >::updateRANSProperties |
( |
const ElementSolution & |
elemSol, |
|
|
const Problem & |
problem, |
|
|
const Element & |
element, |
|
|
const SubControlVolume & |
scv |
|
) |
| |
|
inline |
Update all turbulent quantities for a given control volume.
Wall related quantities are stored and the calculateEddyViscosity(...) function of the turbulence model implementation is called.
- 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 |