A new method to predict meteor showers. I. Description of the model