Abstract
The numerical solution to the linear advection equation with oscillating forcing is derived in analytic form for two-level schemes and for the leapfrog scheme with an Asselin filter. The numerical solutions are compared to the analytic solution of the advection equation with emphasis on the forced part. A detailed analysis is presented for the trapeze, the backward, and the leapfrog scheme with Asselin filter. Large deviations are found in quasi-resonant situations where the period of forcing and advection are close. Damping schemes fail completely to capture the resonant case. As for amplitude errors, the backward scheme is generally better than the trapeze scheme outside the quasi-resonant domain. However, the backward scheme produces large phase errors while the trapeze solutions are free of such errors. The leapfrog scheme has a resonant solution but generates large-amplitude errors near resonance. On the other hand, phase errors are particularly small in that case. The amplitude of the numerical mode tends to be large if either the forcing period or the advective period are but coarsely resolved. Addition of the Asselin filter removes the numerical high-frequency oscillations but destroys the resonant solution.
Corresponding author address: Joseph Egger, Meteorologisches Institut der Universität München, Theresienstr. 37, 80333 München, Germany. Email: J.Egger@LRZ.uni-muenchen.de