We considered a flow of a cohesionless granular material in a partially fil
led three-dimensional rotating container. A model is suggested to describe
a density of the surface flow and the profile of the free surface of the gr
anular material. It is shown that when the container has an ellipsoidal sha
pe the obtained system of partial differential equations can be reduced to
a set of two ordinary differential equations.