A method for advanced stochastic generation of particles in granular flow simulations and its practical applications in industry