36 #ifndef ThermalDiffusivity_H 37 #define ThermalDiffusivity_H 48 template<
class BasicTurbulenceModel>
51 public BasicTurbulenceModel
56 typedef typename BasicTurbulenceModel::alphaField
alphaField;
58 typedef typename BasicTurbulenceModel::transportModel
transportModel;
67 const alphaField&
alpha,
72 const transportModel& trasport,
73 const word& propertiesName
82 const alphaField&
alpha,
87 const transportModel& trasportModel,
98 const transportModel& trasportModel,
113 return this->transport_.alpha();
119 return this->transport_.alpha(patchi);
125 return this->transport_.kappa();
132 return this->transport_.kappa(patchi);
152 return kappa(patchi);
158 return this->transport_.alphahe();
165 return this->transport_.alphahe(patchi);
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
virtual tmp< volScalarField > kappaEff() const
Effective thermal turbulent diffusivity for temperature.
virtual tmp< volScalarField > kappa() const
Thermal diffusivity for temperature of mixture [J/m/s/K].
Templated wrapper class to provide compressible turbulence models thermal diffusivity based thermal t...
virtual ~ThermalDiffusivity()
Destructor.
ThermalDiffusivity(const word &type, const alphaField &alpha, const volScalarField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &trasport, const word &propertiesName)
Construct.
BasicTurbulenceModel::alphaField alphaField
virtual tmp< volScalarField > alphaEff() const
Effective thermal turbulent diffusivity of mixture [kg/m/s].
static const word propertiesName
Default name of the turbulence properties dictionary.
A class for handling words, derived from string.
fileName::Type type(const fileName &, const bool followLink=true)
Return the file type: DIRECTORY or FILE.
BasicTurbulenceModel::transportModel transportModel
static autoPtr< ThermalDiffusivity > New(const alphaField &alpha, const volScalarField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &trasportModel, const word &propertiesName=turbulenceModel::propertiesName)
Return a reference to the selected turbulence model.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
virtual tmp< volScalarField > alphat() const
Turbulent thermal diffusivity for enthalpy [kg/m/s].
A class for managing temporary objects.
virtual tmp< volScalarField > alpha() const
Thermal diffusivity for enthalpy of mixture [kg/m/s].