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 \(T_p\) based on a specification of the total temperature, \(T_0\):

\[T_p = \frac{T_0}{1 + \frac{\gamma - 1}{2 \gamma} \psi \mag{\u}^2}\]


Property Description
\(T_p\) Temperature at the patch
\(T_0\) Total temperature
\(\gamma\) Heat capacity ratio
\(\psi\) Compressibility
\(\u\) Velocity


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

Boundary file

    type            patch;

Field file

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

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

    // Inherited entries


Property Description Type Required Default
type Type name: totalTemperature word yes -
gamma Heat capacity ratio scalar yes -
T0 Total temperature field scalarField yes -
U Name of velocity field word no U
phi Name of flux field word no phi
psi Name of compressibility field word no none

The inherited entries are elaborated in:

Further information


  • N/A

Source code:



  • Introduced in version 1.5