Dynamics of a multi-thermal loop in the solar corona