A computationally efficient model for granular material piling in a container