12#ifndef DUMUX_KEPSILON_VOLUME_VARIABLES_HH 
   13#define DUMUX_KEPSILON_VOLUME_VARIABLES_HH 
   24template <
class Traits, 
class NSVolumeVariables>
 
   30    using Scalar = 
typename Traits::PrimaryVariables::value_type;
 
   34    using Indices = 
typename Traits::ModelTraits::Indices;
 
   45    template<
class ElementSolution, 
class Problem, 
class Element, 
class SubControlVolume>
 
   46    void update(
const ElementSolution &elemSol,
 
   47                const Problem &problem,
 
   48                const Element &element,
 
   49                const SubControlVolume& scv)
 
 
   65    template<
class ElementSolution, 
class Problem, 
class Element, 
class SubControlVolume>
 
   67                              const Problem &problem,
 
   68                              const Element &element,
 
   69                              const SubControlVolume& scv)
 
   84        if (problem.useStoredEddyViscosity())
 
 
 
Volume variables for the isothermal single-phase k-epsilon model.
Definition freeflow/rans/twoeq/kepsilon/volumevariables.hh:27
Scalar stressTensorScalarProduct() const
Returns the scalar product of the stress tensor.
Definition freeflow/rans/twoeq/kepsilon/volumevariables.hh:132
bool inNearWallRegion_
Definition freeflow/rans/twoeq/kepsilon/volumevariables.hh:184
bool isMatchingPoint() const
Returns if an element is the matching point.
Definition freeflow/rans/twoeq/kepsilon/volumevariables.hh:144
typename NCTraits< BaseTraits, DT >::ModelTraits::Indices Indices
Definition freeflow/rans/twoeq/kepsilon/volumevariables.hh:34
const Scalar sigmaK() const
Returns the  constant.
Definition freeflow/rans/twoeq/kepsilon/volumevariables.hh:152
bool isMatchingPoint_
Definition freeflow/rans/twoeq/kepsilon/volumevariables.hh:185
Scalar storedDissipation() const
Returns an effective dissipation .
Definition freeflow/rans/twoeq/kepsilon/volumevariables.hh:126
Scalar storedTurbulentKineticEnergy_
Definition freeflow/rans/twoeq/kepsilon/volumevariables.hh:178
Scalar turbulentKineticEnergy_
Definition freeflow/rans/twoeq/kepsilon/volumevariables.hh:176
Scalar storedTurbulentKineticEnergy() const
Returns the turbulent kinetic energy .
Definition freeflow/rans/twoeq/kepsilon/volumevariables.hh:120
bool inNearWallRegion() const
Definition freeflow/rans/twoeq/kepsilon/volumevariables.hh:138
const Scalar sigmaEpsilon() const
Returns the  constant.
Definition freeflow/rans/twoeq/kepsilon/volumevariables.hh:156
void updateRANSProperties(const ElementSolution &elemSol, const Problem &problem, const Element &element, const SubControlVolume &scv)
Update all turbulent quantities for a given control volume.
Definition freeflow/rans/twoeq/kepsilon/volumevariables.hh:66
Scalar storedDissipation_
Definition freeflow/rans/twoeq/kepsilon/volumevariables.hh:179
Scalar uPlusNominal_
Definition freeflow/rans/twoeq/kepsilon/volumevariables.hh:182
Scalar uPlusNominal() const
Return the nominal dimensionless velocity .
Definition freeflow/rans/twoeq/kepsilon/volumevariables.hh:172
Scalar stressTensorScalarProduct_
Definition freeflow/rans/twoeq/kepsilon/volumevariables.hh:180
Scalar yPlusNominal_
Definition freeflow/rans/twoeq/kepsilon/volumevariables.hh:181
const Scalar cOneEpsilon() const
Returns the  constant.
Definition freeflow/rans/twoeq/kepsilon/volumevariables.hh:160
const Scalar cTwoEpsilon() const
Returns the  constant.
Definition freeflow/rans/twoeq/kepsilon/volumevariables.hh:164
Scalar yPlusNominal() const
Returns the nominal dimensionless wall distance .
Definition freeflow/rans/twoeq/kepsilon/volumevariables.hh:168
Scalar cMu_
Definition freeflow/rans/twoeq/kepsilon/volumevariables.hh:183
const Scalar cMu() const
Returns the  constant.
Definition freeflow/rans/twoeq/kepsilon/volumevariables.hh:148
Scalar turbulentKineticEnergy() const
Returns the turbulent kinetic energy .
Definition freeflow/rans/twoeq/kepsilon/volumevariables.hh:108
Scalar dissipation() const
Returns an effective dissipation .
Definition freeflow/rans/twoeq/kepsilon/volumevariables.hh:114
Scalar calculateEddyViscosity()
Returns the dynamic eddy viscosity .
Definition freeflow/rans/twoeq/kepsilon/volumevariables.hh:99
void update(const ElementSolution &elemSol, const Problem &problem, const Element &element, const SubControlVolume &scv)
Update all quantities for a given control volume.
Definition freeflow/rans/twoeq/kepsilon/volumevariables.hh:46
Scalar dissipation_
Definition freeflow/rans/twoeq/kepsilon/volumevariables.hh:177
Volume variables for the isothermal single-phase Reynolds-Averaged Navier-Stokes models.
Definition freeflow/rans/volumevariables.hh:30
void calculateEddyThermalConductivity(const Problem &problem)
Calculates the eddy thermal conductivity  based on the kinematic eddy viscosity and the turbulent Pra...
Definition freeflow/rans/volumevariables.hh:209
Scalar wallDistance() const
Return the wall distance  of the control volume.
Definition freeflow/rans/volumevariables.hh:138
void updateNavierStokesVolVars(const ElementSolution &elemSol, const Problem &problem, const Element &element, const SubControlVolume &scv)
Update all quantities for a given control volume.
Definition freeflow/rans/volumevariables.hh:53
DimVector ccVelocityVector() const
Return the velocity vector  at the control volume center.
Definition freeflow/rans/volumevariables.hh:114
Scalar setDynamicEddyViscosity_(Scalar value)
Sets the dynamic eddy viscosity .
Definition freeflow/rans/volumevariables.hh:254
void updateRANSProperties(const ElementSolution &elemSol, const Problem &problem, const Element &element, const SubControlVolume &scv)
Update all turbulent quantities for a given control volume.
Definition freeflow/rans/volumevariables.hh:73
void calculateEddyDiffusivity(const Problem &problem)
Calculates the eddy diffusivity  based on the kinematic eddy viscosity and the turbulent Schmidt numb...
Definition freeflow/rans/volumevariables.hh:198
unsigned int elementIdx() const
Return the element Idx of the control volume.
Definition freeflow/rans/volumevariables.hh:108
Volume variables for the isothermal single-phase Reynolds-Averaged Navier-Stokes models.
The infrastructure to retrieve run-time parameters from Dune::ParameterTrees.