Skip to main content

totalTemperature

Description

The totalTemperature is a fixed-value boundary condition that sets the static temperature from a definition of the total temperature.

The condition sets the temperature at the patch TpT_p based on a specification of the total temperature, T0T_0:

Tp=T01+γ12γψu2 T_p = \frac{T_0}{1 + \frac{\gamma - 1}{2 \gamma} \psi \mag{\u}^2}

where:

PropertyDescription
TpT_pTemperature at the patch
T0T_0Total temperature
γ\gammaHeat capacity ratio
ψ\psiCompressibility
u\uVelocity

Usage

The condition requires entries in both the boundary and field files.

Boundary file

<patchName>
{
type patch;
...
}

Field file

<patchName>
{
// Mandatory entries
type totalTemperature;
gamma <scalar>;
T0 <scalarField>;

// Optional entries
U <word>;
phi <word>;
psi <word>;

// Inherited entries
...
}

where:

PropertyDescriptionTypeRequiredDefault
typeType name: totalTemperaturewordyes-
gammaHeat capacity ratioscalaryes-
T0Total temperature fieldscalarFieldyes-
UName of velocity fieldwordnoU
phiName of flux fieldwordnophi
psiName of compressibility fieldwordnonone

The inherited entries are elaborated in:

Further information

Tutorial:

  • N/A

Source code:

API:

History: Introduced in version 1.5