39#ifndef EddyDiffusivity_H
40#define EddyDiffusivity_H
51template<
class BasicTurbulenceModel>
54 public BasicTurbulenceModel
77 typedef typename BasicTurbulenceModel::alphaField
alphaField;
78 typedef typename BasicTurbulenceModel::rhoField
rhoField;
79 typedef typename BasicTurbulenceModel::transportModel
transportModel;
94 const word& propertiesName
117 return alphat()().boundaryField()[patchi];
124 return this->transport_.kappaEff(
alphat());
131 return this->transport_.kappaEff(
alphat(patchi), patchi);
138 return this->transport_.alphaEff(
alphat());
145 return this->transport_.alphaEff(
alphat(patchi), patchi);
virtual tmp< volScalarField > alphat() const
Return the turbulent thermal diffusivity for enthalpy [kg/m/s].
BasicTurbulenceModel::alphaField alphaField
virtual void correctEnergyTransport()
Correct the turbulence thermal diffusivity for energy transport.
BasicTurbulenceModel::rhoField rhoField
virtual ~EddyDiffusivity()=default
Destructor.
virtual tmp< volScalarField > kappaEff() const
Return the effective turbulent thermal diffusivity for temperature.
virtual tmp< scalarField > alphaEff(const label patchi) const
Return the effective turbulent thermal diffusivity for enthalpy.
virtual tmp< volScalarField > alphaEff() const
Return the effective turbulent thermal diffusivity for enthalpy.
virtual void correctNut()
BasicTurbulenceModel::transportModel transportModel
virtual tmp< scalarField > alphat(const label patchi) const
Return the turbulent thermal diffusivity for enthalpy for a patch.
EddyDiffusivity(const word &type, const alphaField &alpha, const volScalarField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName)
Construct.
virtual tmp< scalarField > kappaEff(const label patchi) const
Return the effective turbulent thermal diffusivity for temperature.
virtual bool read()
Re-read model coefficients if they have changed.
A class for managing temporary objects.
A class for handling words, derived from Foam::string.
GeometricField< vector, fvPatchField, volMesh > volVectorField
GeometricField< scalar, fvPatchField, volMesh > volScalarField
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.