39 #ifndef ThermalDiffusivity_H 40 #define ThermalDiffusivity_H 51 template<
class BasicTurbulenceModel>
52 class ThermalDiffusivity
54 public BasicTurbulenceModel
59 typedef typename BasicTurbulenceModel::alphaField
alphaField;
61 typedef typename BasicTurbulenceModel::transportModel
transportModel;
76 const word& propertiesName
115 return this->transport_.kappa();
122 return this->transport_.kappa(patchi);
128 return this->transport_.alpha();
135 return this->transport_.alpha(patchi);
156 return kappa(patchi);
161 virtual tmp<volScalarField>
alphaEff()
const 163 return this->transport_.alphahe();
170 return this->transport_.alphahe(patchi);
virtual tmp< volScalarField > kappaEff() const
Return the effective turbulent thermal diffusivity for temperature.
virtual tmp< volScalarField > kappa() const
Return the thermal diffusivity for temperature [J/m/s/K].
BasicTurbulenceModel::alphaField alphaField
virtual tmp< volScalarField > alphaEff() const
Return the effective turbulent thermal diffusivity for enthalpy.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
static const word propertiesName
Default name of the turbulence properties dictionary.
A class for handling words, derived from Foam::string.
static autoPtr< ThermalDiffusivity > New(const alphaField &alpha, const volScalarField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transportModel, const word &propertiesName=turbulenceModel::propertiesName)
Return a reference to the selected turbulence model.
BasicTurbulenceModel::transportModel transportModel
virtual ~ThermalDiffusivity()=default
Destructor.
TransportModel transportModel
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
virtual tmp< volScalarField > alphat() const
Return the turbulent thermal diffusivity for enthalpy [kg/m/s].
A class for managing temporary objects.
virtual tmp< volScalarField > alpha() const
Return the laminar thermal diffusivity for enthalpy [kg/m/s].
ThermalDiffusivity(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.