at the wall corresponds to the same degree of freedom so they are updated
simultaneously which makes the temperature profile continuous.
For turbulence model with wall functions the fluid temperature close to the wall is modeled
and we use a degree of freedom to compute the fluid temperature close to the wall (but
not at the wall). Hence in this case, on boundaries at the interface between a fluid and a
solid, the fluid and solid temperatures differ and correspond to different degrees of
freedom. The heat transfer between them is determine by the wall function. It is evaluated
at every solver iteration so that the temperature at the interface follows the wall function
model at every time step.
The nonisothermal flow node couples the heat and the flow interfaces and provides
options to account for viscous dissipation and pressure work. It is possible to define these
couplings manually but using the predefined coupling is simpler. In addition the
nonisothermal flow node tunes the stabilization of the flow and the heat interfaces for the
coupling. Finally, it defines the thermal wall functions when wall functions are used by the
turbulent flow model.
The turbulent flow near a flat wall can be divided into four regions. At the wall, the
fluid velocity is zero, and in a thin layer above this, the flow velocity is linear with
distance from the wall. This region is called the viscous sublayer, or laminar
sublayer. Further away from the wall is a region called the buffer layer. In the buffer
region, turbulence stresses begin to dominate over viscous stresses and it
eventually connects to a region where the flow is fully turbulent and the average
flow velocity is related to the log of the distance to the wall. This is known as
the log-law region. Even further away from the wall, the flow transitions to the free-
stream region. The viscous and buffer layers are very thin and if the distance to the
end of the buffer layer is , then the log-law region will extend about away
from the wall.
It is possible to use a RANS model to compute the flow field in all four of these
regions. However, since the thickness of the buffer layer is so small, it can be
advantageous to use an approximation in this region. Wall functions ignore the
flow field in the buffer region and analytically compute a nonzero fluid velocity at
the wall. By using a wall function formulation, you assume an analytic solution for
the flow in the viscous layer and the resultant models will have significantly lower
computational requirements. This is a very useful approach for many practical
engineering applications.
If you need a level of accuracy beyond what the wall function formulations provide,
then you will want to consider a turbulence model that solves the entire flow
regime as described for the low Reynolds number models above. For example, you
may want to compute lift and drag on an object or compute the heat transfer
between the fluid and the wall.
Wall-bounded turbulent flows display extreme gradient close to the walls. The most
accurate way to treat these gradients is to resolve them using a low Reynolds
number model, which is computationally expensive. Industrial applications use wall
functions, which model the flow closest to the wall rather than resolving it. Wall
functions are robust and efficient, but not particularly accurate. New automatic wall
treatment functionality in the COMSOL® software combines the benefits of wall
functions and the low Reynolds number model.
1. The transport of fluid implies energy transport too, which appears in the heat equation as
the convective contribution. Depending on the thermal properties on the fluid and on the
flow regime, either the convective or the conductive heat transfer can dominate.
2. The viscous effects of the fluid flow produce fluid heating. This term is often neglected,
nevertheless, its contribution is noticeable for fast flow in viscous fluids.
3. As soon as a fluid density is temperature-dependent, a pressure work term contributes to
the heat equation. This accounts for the well-known effect that, for example, compressing
air produces heat.