Erosion processes in volcanic conduits and application to the AD 79 eruption of Vesuvius