A computer aided method using symbolic computations that enables the calculation of the
source terms (Boltzmann) in Grad’s method of moments is presented. The method is extremely
powerful, easy to program and allows the derivation of balance equations to very high
moments (limited only by computer resources). For sake of demonstration the method is
applied to a simple case: the one-dimensional stationary granular gas under gravity. The
method should find applications in the field of rarefied gases, as well. Questions of
convergence, closure are beyond the scope of this article.