We investigate the collision of two parallel flux tubes for both cases of p
artial and complete magnetic reconnection. We find that when one flux tube
with weak current and small radius collides with the other flux tube with s
trong current and large radius, the weak current flux tube splits into two
small flux tubes through magnetic reconnection. We also find that when two
magnetic flux tubes with weak current collide, there occurs strong fast mag
netosonic wave emission, resulting in shock formation. While when two stron
g current loops collide, there is no strong wave emission. Secondary we inv
estigate the collision of two non-collinear flux tubes with X-type configur
ation, taking into account of the effect of density inhomogeneity along the
flux tubes due to the gravity. We find the strong upward plasma flows alon
g the flux tubes and also shock wave emission from the X-type collision reg
ion. Finally we discuss the application of these simulation results to coro
nal heating.