Volume variables for the isothermal single-phase low-Re k-epsilons model. More...
#include <dumux/freeflow/rans/twoeq/lowrekepsilon/volumevariables.hh>
Volume variables for the isothermal single-phase low-Re k-epsilons model.
Public Types | |
using | Indices = typename Traits::ModelTraits::Indices |
export the indices type More... | |
Public Member Functions | |
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. 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... | |
Scalar | calculateEddyViscosity () |
Returns the dynamic eddy viscosity \(\mathrm{[Pa s]}\). More... | |
Scalar | turbulentKineticEnergy () const |
Returns the turbulent kinetic energy \( m^2/s^2 \). More... | |
Scalar | dissipationTilde () const |
Returns an effective dissipation \( m^2/s^3 \). More... | |
Scalar | storedTurbulentKineticEnergy () const |
Returns the turbulent kinetic energy \( m^2/s^2 \). More... | |
Scalar | storedDissipationTilde () const |
Returns an effective dissipation \( m^2/s^3 \). More... | |
Scalar | stressTensorScalarProduct () const |
Returns the scalar product of the stress tensor. More... | |
const Scalar | reT () const |
Returns the \( Re_\textrm{T} \) value. More... | |
const Scalar | reY () const |
Returns the \( Re_\textrm{y} \) value. More... | |
const Scalar | cMu () const |
Returns the \( C_\mu \) constant. More... | |
const Scalar | sigmaK () const |
Returns the \( \sigma_\textrm{k} \) constant. More... | |
const Scalar | sigmaEpsilon () const |
Returns the \( \sigma_\varepsilon \) constant. More... | |
const Scalar | cOneEpsilon () const |
Returns the \( C_{1\tilde{\varepsilon}} \) constant. More... | |
const Scalar | cTwoEpsilon () const |
Returns the \( C_{2\tilde{\varepsilon}} \) constant. More... | |
const Scalar | dValue () const |
Returns the \( D \) value. More... | |
const Scalar | fMu () const |
Returns the \( f_\mu \) value. More... | |
const Scalar | fOne () const |
Returns the \( f_1 \) value. More... | |
const Scalar | fTwo () const |
Returns the \( f_2 \) value. More... | |
const Scalar | eValue () const |
Returns the \( E \) value. More... | |
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... | |
unsigned int | elementIdx () const |
Return the element Idx of the control volume. More... | |
DimVector | velocity () 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... | |
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 | effectiveDiffusivity (int compIIdx, int compJIdx) const |
Returns the effective diffusion coefficient \(\mathrm{[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... | |
Protected Member Functions | |
Scalar | setDynamicEddyViscosity_ (Scalar value) |
Sets the dynamic eddy viscosity \(\mathrm{[Pa s]}\). More... | |
Protected Attributes | |
Scalar | turbulentKineticEnergy_ = 0.0 |
Scalar | dissipationTilde_ = 0.0 |
Scalar | storedTurbulentKineticEnergy_ = 0.0 |
Scalar | storedDissipationTilde_ = 0.0 |
Scalar | stressTensorScalarProduct_ = 0.0 |
DimVector | velocity_ |
DimVector | velocityMaximum_ |
DimMatrix | velocityGradients_ |
std::size_t | elementIdx_ |
std::size_t | wallElementIdx_ |
Scalar | wallDistance_ |
Scalar | karmanConstant_ |
Scalar | uStar_ |
Scalar | yPlus_ |
Scalar | uPlus_ |
Scalar | dynamicEddyViscosity_ = 0.0 |
Scalar | eddyDiffusivity_ = 0.0 |
Scalar | eddyThermalConductivity_ = 0.0 |
using Dumux::LowReKEpsilonVolumeVariables< Traits, NSVolumeVariables >::Indices = typename Traits::ModelTraits::Indices |
export the indices type
|
inlineinherited |
Calculates the eddy diffusivity \(\mathrm{[m^2/s]}\) based on the kinematic eddy viscosity and the turbulent Schmidt number.
|
inlineinherited |
Calculates the eddy thermal conductivity \(\mathrm{[W/(m*K)]}\) based on the kinematic eddy viscosity and the turbulent Prandtl number.
|
inlineinherited |
Eddy thermal conductivity is zero for isothermal model.
|
inline |
Returns the dynamic eddy viscosity \(\mathrm{[Pa s]}\).
|
inline |
Returns the \( C_\mu \) constant.
|
inline |
Returns the \( C_{1\tilde{\varepsilon}} \) constant.
|
inline |
Returns the \( C_{2\tilde{\varepsilon}} \) constant.
|
inline |
Returns an effective dissipation \( m^2/s^3 \).
|
inline |
Returns the \( D \) value.
|
inlineinherited |
Return the dynamic eddy viscosity \(\mathrm{[Pa s]}\) of the flow within the control volume.
|
inlineinherited |
Returns the eddy diffusivity \(\mathrm{[m^2/s]}\).
|
inlineinherited |
Returns the eddy thermal conductivity \(\mathrm{[W/(m*K)]}\).
|
inlineinherited |
Returns the effective diffusion coefficient \(\mathrm{[m^2/s]}\).
compIIdx | the index of the component which diffusive |
compJIdx | the index of the component with respect to which compIIdx diffuses |
|
inlineinherited |
Returns the effective thermal conductivity \(\mathrm{[W/(m*K)]}\) of the fluid-flow in the sub-control volume.
|
inlineinherited |
Return the effective dynamic viscosity \(\mathrm{[Pa s]}\) of the fluid within the control volume.
|
inlineinherited |
Return the element Idx of the control volume.
|
inline |
Returns the \( E \) value.
|
inline |
Returns the \( f_\mu \) value.
|
inline |
Returns the \( f_1 \) value.
|
inline |
Returns the \( f_2 \) value.
|
inlineinherited |
Return the Karman constant.
|
inlineinherited |
Return the kinematic eddy viscosity \(\mathrm{[m^2/s]}\) of the flow within the control volume.
|
inlineinherited |
Return the kinematic viscosity \(\mathrm{[m^2/s]}\) of the fluid within the control volume.
|
inline |
Returns the \( Re_\textrm{T} \) value.
|
inline |
Returns the \( Re_\textrm{y} \) value.
|
inlineprotectedinherited |
Sets the dynamic eddy viscosity \(\mathrm{[Pa s]}\).
|
inline |
Returns the \( \sigma_\varepsilon \) constant.
|
inline |
Returns the \( \sigma_\textrm{k} \) constant.
|
inline |
Returns an effective dissipation \( m^2/s^3 \).
|
inline |
Returns the turbulent kinetic energy \( m^2/s^2 \).
|
inline |
Returns the scalar product of the stress tensor.
|
inline |
Returns the turbulent kinetic energy \( m^2/s^2 \).
|
inline |
Update all quantities for a given control volume.
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 |
|
inlineinherited |
Update all quantities for a given control volume.
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 |
|
inline |
Update all turbulent quantities for a given control volume.
Wall and roughness related quantities are stored. Eddy viscosity is set.
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 |
|
inlineinherited |
Return the dimensionless velocity \(\mathrm{[-]}\).
|
inlineinherited |
Return the wall friction velocity \(\mathrm{[m/s]}\).
|
inlineinherited |
Return the velocity vector \(\mathrm{[m/s]}\) at the control volume center.
|
inlineinherited |
Return the velocity gradients \(\mathrm{[1/s]}\) at the control volume center.
|
inlineinherited |
Return the maximum velocity vector \(\mathrm{[m/s]}\) of the wall segment.
|
inlineinherited |
Return the wall distance \(\mathrm{[m]}\) of the control volume.
|
inlineinherited |
Return the dimensionless wall distance \(\mathrm{[-]}\).
|
protected |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protected |
|
protected |
|
protected |
|
protected |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |