Dynamic modelling of post-collisional magmatism