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 \(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}\]where:
Property | Description |
---|---|
\(T_p\) | Temperature at the patch |
\(T_0\) | Total temperature |
\(\gamma\) | Heat capacity ratio |
\(\psi\) | Compressibility |
\(\u\) | Velocity |
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:
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🔗
Tutorial:
- N/A
Source code:
API:
History:
- Introduced in version 1.5