Numerical modelling of waves in the solar atmosphere