Mechanics of Granular Materials: Constitutive Behavior and Pattern Transformation