Title: A simulations method for the die compaction of granular materials