A model study on the influence of the 11-year solar cycle on the atmosphere