39 #ifndef EddyDiffusivity_H 40 #define EddyDiffusivity_H 51 template<
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);
BasicTurbulenceModel::rhoField rhoField
BasicTurbulenceModel::alphaField alphaField
virtual void correctNut()
BasicTurbulenceModel::alphaField alphaField
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
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.
Templated abstract base class for single-phase compressible turbulence models.
A class for handling words, derived from Foam::string.
virtual void correctEnergyTransport()
Correct the turbulence thermal diffusivity for energy transport.
virtual ~EddyDiffusivity()=default
Destructor.
BasicTurbulenceModel::transportModel transportModel
virtual tmp< volScalarField > kappaEff() const
Return the effective turbulent thermal diffusivity for temperature.
virtual tmp< volScalarField > alphat() const
Return the turbulent thermal diffusivity for enthalpy [kg/m/s].
BasicTurbulenceModel::transportModel transportModel
virtual bool read()
Re-read model coefficients if they have changed.
A class for managing temporary objects.
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
virtual tmp< volScalarField > alphaEff() const
Return the effective turbulent thermal diffusivity for enthalpy.