A dynamical model is presented for a thin layer of granular materials simil
ar to that for shallow viscous fluids. We have obtained analytically the ex
pressions for the "thermal expansion", dispersion relation, and dependence
of instability onset on driving frequency and viscosity, which are in agree
ment with experiments. The numerical calculation for the nonlinear problem
reproduces the experimental phenomena for a one-dimensional system.