A numerical study of the frequency and the energetics of nonlinear internal gravity waves