Modeling granular flow : Using discrete element method - From theory to practice