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);
Templated abstract base class for single-phase compressible turbulence models.
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< volScalarField > alphaEff() const
Return the effective turbulent thermal diffusivity for enthalpy.
virtual void correctNut()
BasicTurbulenceModel::transportModel transportModel
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.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.