Dynamics of magnetic flux tubes and IR-variability of young stellar objects. (August 2018)