Numerical simulations of convectively generated stratospheric gravity waves