39#ifndef ThermalDiffusivity_H
40#define ThermalDiffusivity_H
51template<
class BasicTurbulenceModel>
54 public BasicTurbulenceModel
59 typedef typename BasicTurbulenceModel::alphaField
alphaField;
61 typedef typename BasicTurbulenceModel::transportModel
transportModel;
135 return this->transport_.alpha(patchi);
156 return kappa(patchi);
PhaseCompressibleTurbulenceModel< phaseModel >::alphaField alphaField
static autoPtr< ThermalDiffusivity > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const transportModel &transportModel, const word &propertiesName=turbulenceModel::propertiesName)
Return a reference to the selected turbulence model.
virtual ~ThermalDiffusivity()=default
Destructor.
virtual tmp< scalarField > kappa(const label patchi) const
Return the laminar thermal diffusivity for temperature on patch.
virtual tmp< volScalarField > alpha() const
virtual tmp< volScalarField > kappa() const
Return the thermal diffusivity for temperature [J/m/s/K].
virtual tmp< volScalarField > kappaEff() const
Return the effective turbulent thermal diffusivity for temperature.
virtual tmp< scalarField > alphaEff(const label patchi) const
Return the effective turbulent thermal diffusivity for enthalpy.
virtual tmp< volScalarField > alphaEff() const
Return the effective turbulent thermal diffusivity for enthalpy.
virtual tmp< volScalarField > alphat() const
Return the turbulent thermal diffusivity for enthalpy [kg/m/s].
virtual tmp< scalarField > alphat(const label patchi) const
Return the turbulent thermal diffusivity for enthalpy for a patch.
PhaseCompressibleTurbulenceModel< phaseModel >::transportModel transportModel
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.
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.
virtual tmp< scalarField > kappaEff(const label patchi) const
Return the effective turbulent thermal diffusivity for temperature.
virtual tmp< scalarField > alpha(const label patchi) const
Return the laminar thermal diffusivity for enthalpy on patch.
const transportModel & transport_
const transportModel & transport() const
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
const volScalarField & rho() const
Return the density field.
virtual tmp< surfaceScalarField > phi() const
Return the volumetric flux field.
A class for managing temporary objects.
static const word propertiesName
Default name of the turbulence properties dictionary.
const surfaceScalarField & alphaRhoPhi() const
Access function to phase flux field.
A class for handling words, derived from Foam::string.
GeometricField< vector, fvPatchField, volMesh > volVectorField
GeometricField< scalar, fvPatchField, volMesh > volScalarField
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField