  Twisted magnetic flux ropes are ubiquitous in space and laboratory plasmas,
and the merging of such flux ropes through magnetic reconnection is an
important mechanism for restructuring magnetic fields and releasing free
magnetic energy. The merging-compression scenario is one possible start up
scheme for spherical tokamaks, which has been used on the Mega Amp Spherical
Tokamak MAST. Two current-carrying plasma rings, or flux ropes, approach each
other through the mutual attraction of their like currents, and merge, through
magnetic reconnection, into a single plasma torus, with substantial plasma
heating. 2D resistive MHD and Hall MHD simulations of this process are
reported, and new results for the temperature distribution of ions and
electrons are presented. A model of the based on relaxation theory is also
described, which is now extended to tight aspect ratio geometry. This model
allows prediction of the final merged state and the heating. The implications
of the relaxation model for heating of the solar corona are also discussed, and
a model of the merger of two or more twisted coronal flux ropes is presented,
allowing for different senses of twist.
