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_.kappa();
120 return this->transport_.kappa(patchi);
126 return this->transport_.alpha();
133 return this->transport_.alpha(patchi);
154 return kappa(patchi);
168 return alpha(patchi);
virtual tmp< volScalarField > kappaEff() const
Return the effective turbulent thermal diffusivity for temperature.
A class for handling words, derived from string.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
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.
virtual tmp< volScalarField > alpha() const
Return the laminar thermal diffusivity for enthalpy [kg/m/s].
virtual tmp< volScalarField > alphaEff() const
Return the effective turbulent thermal diffusivity for enthalpy.
virtual ~ThermalDiffusivity()
Destructor.
virtual tmp< volScalarField > kappa() const
Return the thermal diffusivity for temperature [J/m/s/K].
fileName::Type type(const fileName &)
Return the file type: DIRECTORY or FILE.
static const word propertiesName
Default name of the turbulence properties dictionary.
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
Templated wrapper class to provide compressible turbulence models thermal diffusivity based thermal t...
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A class for managing temporary objects.
virtual tmp< volScalarField > alphat() const
Return the turbulent thermal diffusivity for enthalpy [kg/m/s].