Theory of powders