Volume variables for the isothermal single-phase SST 2-Eq model. More...
#include <dumux/freeflow/rans/twoeq/sst/volumevariables.hh>
Volume variables for the isothermal single-phase SST 2-Eq 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... | |
template<class Problem > | |
Scalar | calculateEddyViscosity (const Problem &problem) |
Returns the dynamic eddy viscosity \(\mathrm{[Pa s]}\) for the SST-model. More... | |
Scalar | turbulentKineticEnergy () const |
Returns the turbulent kinetic energy \( m^2/s^2 \). More... | |
Scalar | dissipation () const |
Returns an effective dissipation \( m^2/s^3 \). More... | |
Scalar | storedTurbulentKineticEnergy () const |
Returns the turbulent kinetic energy \( m^2/s^2 \). More... | |
Scalar | storedDissipation () const |
Returns an effective dissipation \( m^2/s^3 \). More... | |
DimVector | storedTurbulentKineticEnergyGradient () const |
Returns the gradient of the turbulent kinetic energy \( m^2/s^2 \). More... | |
DimVector | storedDissipationGradient () const |
Returns the gradient of the effective dissipation \( m^2/s^3 \). More... | |
Scalar | stressTensorScalarProduct () const |
Returns the scalar product of the stress tensor. More... | |
Scalar | vorticityTensorScalarProduct () const |
Returns the scalar product of the vorticity tensor. More... | |
Scalar | kinematicViscosity () const |
Returns the kinematic viscosity. More... | |
Scalar | wallDistance () const |
const Scalar | betaOmega () const |
Returns the \( \beta_{\omega} \) constant. More... | |
const Scalar | alpha () const |
Returns the \( \alpha \) value. More... | |
const Scalar | sigmaK () const |
Returns the \( \sigma_k \) constant. More... | |
const Scalar | sigmaOmega () const |
Returns the \( \sigma_{\omega} \) constant. More... | |
const Scalar | betaK () const |
Returns the \( \beta_k \) constant. More... | |
const Scalar | sigmaK1BSL () const |
Returns the \( \sigma_{k1,BSL} \) constant. More... | |
const Scalar | sigmaK1SST () const |
Returns the \( \sigma_{k1,SST} \) constant. More... | |
const Scalar | sigmaK2 () const |
Returns the \( \sigma_{k2} \) constant. More... | |
const Scalar | sigmaOmega1BSL () const |
Returns the \( \sigma_{\omega1,BSL} \) constant. More... | |
const Scalar | sigmaOmega1SST () const |
Returns the \( \sigma_{\omega1,SST} \) constant. More... | |
const Scalar | sigmaOmega2 () const |
Returns the \( \sigma_{\omega2} \) constant. More... | |
const Scalar | beta1BSL () const |
Returns the \( \beta_{1,BSL} \) constant. More... | |
const Scalar | beta1SST () const |
Returns the \( \beta_{1,SST} \) constant. More... | |
const Scalar | beta2 () const |
Returns the \( \beta_{2} \) constant. More... | |
const Scalar | betaStar1BSL () const |
Returns the \( \beta^{*}_{1,BSL} \) constant. More... | |
const Scalar | betaStar1SST () const |
Returns the \( \beta^{*}_{1,SST} \) constant. More... | |
const Scalar | betaStar2 () const |
Returns the \( \beta^{*}_{2} \) constant. More... | |
const Scalar | kappa1BSL () const |
Returns the \( \kappa_{1,BSL} \) constant. More... | |
const Scalar | kappa1SST () const |
Returns the \( \kappa_{1,SST} \) constant. More... | |
const Scalar | kappa2 () const |
Returns the \( \kappa_{2} \) constant. More... | |
const Scalar | gamma1BSL () const |
Returns the \( \gamma_{1,BSL} \) constant. More... | |
const Scalar | gamma1SST () const |
Returns the \( \gamma_{1,SST} \) constant. More... | |
const Scalar | gamma2 () const |
Returns the \( \gamma_{2} \) constant. More... | |
const Scalar | a1SST () const |
Returns the \( a_{1,SST} \) constant. More... | |
Scalar | absoluteValueVorticity () const |
Returns the absolute value of the vorticity \( \Omega \). More... | |
Scalar | F1 () const |
Returns the transformation function \( F_{1} \) for the constants of the BSL- and SST-model. More... | |
Scalar | F2 () const |
Returns the transformation function \( F_{2} \) for the eddy viscosity of the SST-model. More... | |
const Scalar | sigmaKSST () const |
Returns the \( \sigma_{k,SST} \) constant for the SST-model. More... | |
const Scalar | sigmaOmegaSST () const |
Returns the \( \sigma_{\omega,SST} \) constant for the SST-model. More... | |
const Scalar | betaSST () const |
Returns the \( \beta_{SST} \) constant for the SST-model. More... | |
const Scalar | betaStarSST () const |
Returns the \( \beta^{*}_{SST} \) constant for the SST-model. \( \beta^{*} \) is the same for all models. More... | |
const Scalar | kappaSST () const |
Returns the \( \kappa_{SST} \) constant for the SST-model. \( \kappa \) is the same for all models. More... | |
const Scalar | gammaSST () const |
Returns the \( \gamma_{SST} \) constant for the SST-model. More... | |
const Scalar | sigmaKBSL () const |
Returns the \( \sigma_{k,BSL} \) constant for the BSL-model. More... | |
const Scalar | sigmaOmegaBSL () const |
Returns the \( \sigma_{\omega,BSL} \) constant for the BSL-model. More... | |
const Scalar | betaBSL () const |
Returns the \( \beta_{BSL} \) constant for the BSL-model. More... | |
const Scalar | betaStarBSL () const |
Returns the \( \beta^{*}_{BSL} \) constant for the BSL-model. \( \beta^{*} \) is the same for all models. More... | |
const Scalar | kappaBSL () const |
Returns the \( \kappa_{BSL} \) constant for the BSL-model. \( \kappa \) is the same for all models. More... | |
const Scalar | gammaBSL () const |
Returns the \( \gamma_{BSL} \) constant for the BSL-model. 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 | 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 | 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... | |
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... | |
Protected Member Functions | |
Scalar | setDynamicEddyViscosity_ (Scalar value) |
Sets the dynamic eddy viscosity \(\mathrm{[Pa s]}\). More... | |
Protected Attributes | |
Scalar | betaOmega_ = 0.0 |
Scalar | dissipation_ = 0.0 |
Scalar | storedDissipation_ = 0.0 |
DimVector | storedDissipationGradient_ = DimVector(0.0) |
Scalar | turbulentKineticEnergy_ = 0.0 |
Scalar | storedTurbulentKineticEnergy_ = 0.0 |
DimVector | storedTurbulentKineticEnergyGradient_ = DimVector(0.0) |
Scalar | stressTensorScalarProduct_ = 0.0 |
Scalar | vorticityTensorScalarProduct_ = 0.0 |
Scalar | wallDistance_ = 0.0 |
Scalar | kinematicViscosity_ = 0.0 |
DimVector | ccVelocityVector_ |
DimVector | velocityMaximum_ |
DimVector | velocityMinimum_ |
DimMatrix | velocityGradientTensor_ |
std::size_t | elementIdx_ |
Scalar | karmanConstant_ |
Scalar | uStar_ = 0.0 |
Scalar | yPlus_ = 0.0 |
Scalar | uPlus_ = 0.0 |
Scalar | dynamicEddyViscosity_ = 0.0 |
Scalar | eddyDiffusivity_ = 0.0 |
Scalar | eddyThermalConductivity_ = 0.0 |
using Dumux::SSTVolumeVariables< Traits, NSVolumeVariables >::Indices = typename Traits::ModelTraits::Indices |
export the indices type
|
inline |
Returns the \( a_{1,SST} \) constant.
|
inline |
Returns the absolute value of the vorticity \( \Omega \).
|
inline |
Returns the \( \alpha \) value.
|
inline |
Returns the \( \beta_{1,BSL} \) constant.
|
inline |
Returns the \( \beta_{1,SST} \) constant.
|
inline |
Returns the \( \beta_{2} \) constant.
|
inline |
Returns the \( \beta_{BSL} \) constant for the BSL-model.
|
inline |
Returns the \( \beta_k \) constant.
|
inline |
Returns the \( \beta_{\omega} \) constant.
|
inline |
Returns the \( \beta_{SST} \) constant for the SST-model.
|
inline |
Returns the \( \beta^{*}_{1,BSL} \) constant.
|
inline |
Returns the \( \beta^{*}_{1,SST} \) constant.
|
inline |
Returns the \( \beta^{*}_{2} \) constant.
|
inline |
Returns the \( \beta^{*}_{BSL} \) constant for the BSL-model. \( \beta^{*} \) is the same for all models.
|
inline |
Returns the \( \beta^{*}_{SST} \) constant for the SST-model. \( \beta^{*} \) is the same for all models.
|
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]}\) for the SST-model.
|
inlineinherited |
Return the velocity vector \(\mathrm{[m/s]}\) at the control volume center.
|
inline |
Returns an effective dissipation \( m^2/s^3 \).
|
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 binary diffusion coefficients for a phase in \([m^2/s]\).
|
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 transformation function \( F_{1} \) for the constants of the BSL- and SST-model.
|
inline |
Returns the transformation function \( F_{2} \) for the eddy viscosity of the SST-model.
|
inline |
Returns the \( \gamma_{1,BSL} \) constant.
|
inline |
Returns the \( \gamma_{1,SST} \) constant.
|
inline |
Returns the \( \gamma_{2} \) constant.
|
inline |
Returns the \( \gamma_{BSL} \) constant for the BSL-model.
|
inline |
Returns the \( \gamma_{SST} \) constant for the SST-model.
|
inline |
Returns the \( \kappa_{1,BSL} \) constant.
|
inline |
Returns the \( \kappa_{1,SST} \) constant.
|
inline |
Returns the \( \kappa_{2} \) constant.
|
inline |
Returns the \( \kappa_{BSL} \) constant for the BSL-model. \( \kappa \) is the same for all models.
|
inline |
Returns the \( \kappa_{SST} \) constant for the SST-model. \( \kappa \) is the same for all models.
|
inlineinherited |
Return the Karman constant.
|
inlineinherited |
Return the kinematic eddy viscosity \(\mathrm{[m^2/s]}\) of the flow within the control volume.
|
inline |
Returns the kinematic viscosity.
|
inlineprotectedinherited |
Sets the dynamic eddy viscosity \(\mathrm{[Pa s]}\).
|
inline |
Returns the \( \sigma_k \) constant.
|
inline |
Returns the \( \sigma_{k1,BSL} \) constant.
|
inline |
Returns the \( \sigma_{k1,SST} \) constant.
|
inline |
Returns the \( \sigma_{k2} \) constant.
|
inline |
Returns the \( \sigma_{k,BSL} \) constant for the BSL-model.
|
inline |
Returns the \( \sigma_{k,SST} \) constant for the SST-model.
|
inline |
Returns the \( \sigma_{\omega} \) constant.
|
inline |
Returns the \( \sigma_{\omega1,BSL} \) constant.
|
inline |
Returns the \( \sigma_{\omega1,SST} \) constant.
|
inline |
Returns the \( \sigma_{\omega2} \) constant.
|
inline |
Returns the \( \sigma_{\omega,BSL} \) constant for the BSL-model.
|
inline |
Returns the \( \sigma_{\omega,SST} \) constant for the SST-model.
|
inline |
Returns an effective dissipation \( m^2/s^3 \).
|
inline |
Returns the gradient of the effective dissipation \( m^2/s^3 \).
|
inline |
Returns the turbulent kinetic energy \( m^2/s^2 \).
|
inline |
Returns the gradient of 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 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 minimum velocity vector \(\mathrm{[m/s]}\) of the wall segment.
|
inline |
Returns the scalar product of the vorticity tensor.
|
inline |
|
inlineinherited |
Return the dimensionless wall distance \(\mathrm{[-]}\).
|
protected |
|
protectedinherited |
|
protected |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protected |
|
protected |
|
protectedinherited |