Magnetic flux tubers are fundamental building blocks in the solar atmosphere. Understanding the physical properties of these structures is important for solving the fundamental problems in solar physics such as the heating of the solar atmosphere and the acceleration of the solar wind. Recent spectroscopic observations with high resolution instruments such as SST and IRIS indicate the abundance of twisting motions in a variety of solar structures both on small and large scales. The twists are usually accompanied by upflows seen as blue shifts. The project will investigate the evolution of twists in solar magnetic flux tubes in the presence of upflows. The nonlinear evolution of the twists, their coupling to longitudinal motions and shock heating, the transfer of energy and momentum will be studied. The amount of generated flux in the atmosphere of the Sun will be calculated and compared with the estimated requirements for atmospheric heating. The results of the study will be compared with the observations.