Gasdynamics in interacting and merging galaxies