A study was made of the nature of the movement of air mass in the space between the device that warms the room and the confining outer wall of the room. The hydrodynamic motion of the air mass was simulated on the basis of the two-dimensional in space Navier-Stokes equations and the convective heat conduction equation to find out a detailed picture of the physical processes that occur. Also for some particular cases, analytical solutions were obtained for the conjugate problem, where the movement of air is caused by its thermal expansion and the action of gravity in areas with different densities (Archimedes' forces). The simulation of more complex types of air movement with the formation of vortex flows using numerical methods and the corresponding program codes written in C++. It was found that the movement of air mass in the space between the device and the fence strongly depends not only on the temperature of the device, the wall, and the outside air. It was revealed that hydrodynamics and heat transfer are significantly influenced by two geometrical parameters: the distance between the device and the wall, and the distance from the flooring to the bottom of the device. In particular, a thin layer of the downward flow of cold air along the fence and above the floor is possible. The condition for the occurrence of such a downward flow has been found, it is determined by the ratio of the temperature of the wall, the device, and the average temperature in the room.