140template<
class BasicTurbulenceModel>
143 public eddyViscosity<RASModel<BasicTurbulenceModel>>
149 tmp<volScalarField> Cmu()
const;
153 tmp<volScalarField> CmuPrime()
const;
156 tmp<volScalarField> nutPrime()
const;
159 tmp<volScalarField> epsilonCanopy()
const;
163 tmp<volScalarField> epsilon()
const;
166 tmp<volScalarField> canopyHeight()
const;
169 tmp<volScalarField> L()
const;
178 kL(
const kL&) =
delete;
181 void operator=(
const kL&) =
delete;
243 typedef typename BasicTurbulenceModel::alphaField
alphaField;
244 typedef typename BasicTurbulenceModel::rhoField
rhoField;
245 typedef typename BasicTurbulenceModel::transportModel
transportModel;
269 virtual ~kL() =
default;
283 (this->
nut_/sigmak_ + this->
nu())
A one-equation (turbulent kinetic energy k) turbulence closure model for incompressible and compressi...
BasicTurbulenceModel::alphaField alphaField
dimensionedScalar sigmak_
Empirical model coefficient.
BasicTurbulenceModel::rhoField rhoField
volScalarField k_
Turbulent kinetic energy [m2/s2].
volScalarField L_
Characteristic length scale [m].
virtual ~kL()=default
Destructor.
const uniformDimensionedVectorField & g_
Gravitational acceleration [m2/s2].
virtual void correct()
Solve the turbulence equations and correct the turbulence viscosity.
dimensionedScalar kappa_
von Karman constant
dimensionedScalar CbUnstable_
Unstable stratification constant.
dimensionedScalar Cmu0_
Empirical model coefficient.
volScalarField Rt_
Turbulent Richardson number [-].
const volScalarField & y_
Wall distance.
dimensionedScalar CbStable_
Stable stratification constant.
virtual void correctNut()
Correct the turbulence viscosity.
virtual tmp< fvScalarMatrix > kSource() const
Add explicit source for turbulent kinetic energy.
BasicTurbulenceModel::transportModel transportModel
dimensionedScalar Lmax_
Maximum mixing-length scalar [m].
virtual tmp< volScalarField > k() const
Return the turbulent kinetic energy field.
virtual bool read()
Re-read model coefficients if they have changed.
tmp< volScalarField > DkEff() const
Return the effective diffusivity for k.
dimensionedScalar beta_
Thermal expansion coefficient [1/K].
TypeName("kL")
Runtime type information.
static autoPtr< Time > New()
Construct (dummy) Time - no functionObjects or libraries.
Eddy viscosity turbulence model base class.
A class for managing temporary objects.
static const word propertiesName
Default name of the turbulence properties dictionary.
A class for handling words, derived from Foam::string.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.