Templated wrapper class to provide compressible turbulence models thermal diffusivity based thermal transport. More...
Public Types | |
typedef BasicTurbulenceModel::alphaField | alphaField |
typedef volScalarField | rhoField |
typedef BasicTurbulenceModel::transportModel | transportModel |
Public Member Functions | |
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. More... | |
virtual | ~ThermalDiffusivity () |
Destructor. More... | |
virtual tmp< volScalarField > | kappa () const |
Return the thermal diffusivity for temperature [J/m/s/K]. More... | |
virtual tmp< scalarField > | kappa (const label patchi) const |
Return the laminar thermal diffusivity for temperature on patch. More... | |
virtual tmp< volScalarField > | alpha () const |
Return the laminar thermal diffusivity for enthalpy [kg/m/s]. More... | |
virtual tmp< scalarField > | alpha (const label patchi) const |
Return the laminar thermal diffusivity for enthalpy on patch. More... | |
virtual tmp< volScalarField > | alphat () const |
Return the turbulent thermal diffusivity for enthalpy [kg/m/s]. More... | |
virtual tmp< scalarField > | alphat (const label patchi) const |
Return the turbulent thermal diffusivity for enthalpy for a patch. More... | |
virtual tmp< volScalarField > | kappaEff () const |
Return the effective turbulent thermal diffusivity for temperature. More... | |
virtual tmp< scalarField > | kappaEff (const label patchi) const |
Return the effective turbulent thermal diffusivity for temperature. More... | |
virtual tmp< volScalarField > | alphaEff () const |
Return the effective turbulent thermal diffusivity for enthalpy. More... | |
virtual tmp< scalarField > | alphaEff (const label patchi) const |
Return the effective turbulent thermal diffusivity for enthalpy. More... | |
Static Public Member Functions | |
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. More... | |
static autoPtr< ThermalDiffusivity > | New (const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const transportModel &trasportModel, const word &propertiesName=turbulenceModel::propertiesName) |
Return a reference to the selected turbulence model. More... | |
Templated wrapper class to provide compressible turbulence models thermal diffusivity based thermal transport.
Definition at line 48 of file ThermalDiffusivity.H.
typedef BasicTurbulenceModel::alphaField alphaField |
Definition at line 55 of file ThermalDiffusivity.H.
typedef volScalarField rhoField |
Definition at line 56 of file ThermalDiffusivity.H.
typedef BasicTurbulenceModel::transportModel transportModel |
Definition at line 57 of file ThermalDiffusivity.H.
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.
Definition at line 32 of file ThermalDiffusivity.C.
References ThermalDiffusivity< BasicTurbulenceModel >::New().
|
inlinevirtual |
Destructor.
Definition at line 103 of file ThermalDiffusivity.H.
|
static |
Return a reference to the selected turbulence model.
Definition at line 62 of file ThermalDiffusivity.C.
References Foam::New().
Referenced by ThermalDiffusivity< BasicTurbulenceModel >::ThermalDiffusivity().
|
static |
Return a reference to the selected turbulence model.
Definition at line 92 of file ThermalDiffusivity.C.
References Foam::New().
|
inlinevirtual |
Return the thermal diffusivity for temperature [J/m/s/K].
Definition at line 110 of file ThermalDiffusivity.H.
Referenced by ThermalDiffusivity< PhaseCompressibleTurbulenceModel< phaseModel > >::alpha(), and ThermalDiffusivity< PhaseCompressibleTurbulenceModel< phaseModel > >::kappa().
|
inlinevirtual |
Return the laminar thermal diffusivity for temperature on patch.
[J/m/s/K]
Definition at line 117 of file ThermalDiffusivity.H.
|
inlinevirtual |
Return the laminar thermal diffusivity for enthalpy [kg/m/s].
Definition at line 123 of file ThermalDiffusivity.H.
Referenced by ThermalDiffusivity< PhaseCompressibleTurbulenceModel< phaseModel > >::alpha(), alphatFilmWallFunctionFvPatchScalarField::updateCoeffs(), and alphatJayatillekeWallFunctionFvPatchScalarField::updateCoeffs().
|
inlinevirtual |
Return the laminar thermal diffusivity for enthalpy on patch.
[kg/m/s]
Definition at line 130 of file ThermalDiffusivity.H.
|
virtual |
Return the turbulent thermal diffusivity for enthalpy [kg/m/s].
Reimplemented in EddyDiffusivity< ThermalDiffusivity< PhaseCompressibleTurbulenceModel< phaseModel > > >, EddyDiffusivity< phaseCompressibleTurbulenceModel >, and EddyDiffusivity< compressible::turbulenceModel >.
Definition at line 119 of file ThermalDiffusivity.C.
References Foam::dimDensity, and Foam::dimViscosity.
Referenced by ThermalDiffusivity< PhaseCompressibleTurbulenceModel< phaseModel > >::alpha(), and turbulenceFields::execute().
|
virtual |
Return the turbulent thermal diffusivity for enthalpy for a patch.
[kg/m/s]
Reimplemented in EddyDiffusivity< ThermalDiffusivity< PhaseCompressibleTurbulenceModel< phaseModel > > >, EddyDiffusivity< phaseCompressibleTurbulenceModel >, and EddyDiffusivity< compressible::turbulenceModel >.
Definition at line 143 of file ThermalDiffusivity.C.
References patchi, and scalarField().
|
inlinevirtual |
Return the effective turbulent thermal diffusivity for temperature.
[J/m/s/K]
Reimplemented in EddyDiffusivity< ThermalDiffusivity< PhaseCompressibleTurbulenceModel< phaseModel > > >, EddyDiffusivity< phaseCompressibleTurbulenceModel >, and EddyDiffusivity< compressible::turbulenceModel >.
Definition at line 144 of file ThermalDiffusivity.H.
Referenced by ThermalDiffusivity< PhaseCompressibleTurbulenceModel< phaseModel > >::alpha(), NamedEnum< Enum, nEnum >::names(), wallHeatTransferFvPatchScalarField::updateCoeffs(), and thermalBaffle1DFvPatchScalarField< solidType >::updateCoeffs().
|
inlinevirtual |
Return the effective turbulent thermal diffusivity for temperature.
[J/m/s/K]
Reimplemented in EddyDiffusivity< ThermalDiffusivity< PhaseCompressibleTurbulenceModel< phaseModel > > >, EddyDiffusivity< phaseCompressibleTurbulenceModel >, and EddyDiffusivity< compressible::turbulenceModel >.
Definition at line 151 of file ThermalDiffusivity.H.
|
inlinevirtual |
Return the effective turbulent thermal diffusivity for enthalpy.
[kg/m/s]
Reimplemented in EddyDiffusivity< ThermalDiffusivity< PhaseCompressibleTurbulenceModel< phaseModel > > >, EddyDiffusivity< phaseCompressibleTurbulenceModel >, and EddyDiffusivity< compressible::turbulenceModel >.
Definition at line 158 of file ThermalDiffusivity.H.
Referenced by ThermalDiffusivity< PhaseCompressibleTurbulenceModel< phaseModel > >::alpha(), turbulenceFields::execute(), convectiveHeatTransferFvPatchScalarField::updateCoeffs(), and alphatJayatillekeWallFunctionFvPatchScalarField::updateCoeffs().
|
inlinevirtual |
Return the effective turbulent thermal diffusivity for enthalpy.
for a patch [kg/m/s]
Reimplemented in EddyDiffusivity< ThermalDiffusivity< PhaseCompressibleTurbulenceModel< phaseModel > > >, EddyDiffusivity< phaseCompressibleTurbulenceModel >, and EddyDiffusivity< compressible::turbulenceModel >.
Definition at line 165 of file ThermalDiffusivity.H.