 Discrete element methods are relatively computationally intensive, which limits either the length of a simulation or the number of particles.Several DEM codes, as do molecular dynamics codes, take advantage of parallel processing capabilities (shared or distributed systems) to scale up the number of particles or length of the simulation.An alternative to treating all particles separately is to average the physics across many particles and thereby treat the material as a continuum.