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;
A one-equation (turbulent kinetic energy k) turbulence closure model for incompressible and compressi...
Foam::EddyDiffusivity< Foam::fluidThermoCompressibleTurbulenceModel >::alphaField alphaField
dimensionedScalar sigmak_
Foam::EddyDiffusivity< Foam::fluidThermoCompressibleTurbulenceModel >::rhoField rhoField
virtual ~kL()=default
Destructor.
const uniformDimensionedVectorField & g_
virtual void correct()
Solve the turbulence equations and correct the turbulence viscosity.
dimensionedScalar CbUnstable_
const volScalarField & y_
dimensionedScalar CbStable_
kL(const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName=turbulenceModel::propertiesName, const word &type=typeName)
Construct from components.
virtual void correctNut()
Correct the turbulence viscosity.
virtual tmp< fvScalarMatrix > kSource() const
Add explicit source for turbulent kinetic energy.
Foam::EddyDiffusivity< Foam::fluidThermoCompressibleTurbulenceModel >::transportModel transportModel
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.
TypeName("kL")
Runtime type information.
eddyViscosity(const word &modelName, const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName)
A class for managing temporary objects.
static tmp< T > New(Args &&... args)
Construct tmp with forwarding arguments.
static const word propertiesName
Default name of the turbulence properties dictionary.
A class for handling words, derived from Foam::string.
GeometricField< vector, fvPatchField, volMesh > volVectorField
GeometricField< scalar, fvPatchField, volMesh > volScalarField
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
const word GlobalIOList< Tuple2< scalar, vector > >::typeName("scalarVectorTable")
UniformDimensionedField< vector > uniformDimensionedVectorField
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.
const vector L(dict.get< vector >("L"))