Fast, flexible particle simulations - An introduction to MercuryDPM

Abstract We introduce the open-source package MercuryDPM, which we have been developing over the last few years. MercuryDPM is a code for discrete particle simulations. It simulates the motion of particles by applying forces and torques that stem either from external body forces, (gravity, magnetic fields, etc.) or particle interactions. The code has been developed extensively for granular applications, and in this case these are typically (elastic, plastic, viscous, frictional) contact forces or (adhesive) short-range forces. However, it could be adapted to include long-range (molecular, self-gravity) interactions as well. MercuryDPM is an object-oriented algorithm with an easy-to-use user interface and a flexible core, allowing developers to quickly add new features. It is parallelised using MPI and released under the BSD 3-clause licence. Its open-source developers’ community has developed many features, including moving and curved walls; state-of-the-art granular contact models; specialised classes for common geometries; non-spherical particles; general interfaces; restarting; visualisation; a large self-test suite; extensive documentation; and numerous tutorials and demos. In addition, MercuryDPM has three major components that were originally invented and developed by its team: an advanced contact detection method, which allows for the first time large simulations with wide size distributions; curved (non-triangulated) walls; and multicomponent, spatial and temporal coarse-graining, a novel way to extract continuum fields from discrete particle systems. We illustrate these tools and a selection of other MercuryDPM features via various applications, including size-driven segregation down inclined planes, rotating drums, and dosing silos. Program summary Program Title: MercuryDPM Program Files doi: http://dx.doi.org/10.17632/n7jmdrdc52.1 Licensing provisions: BSD 3-Clause Programming language: C++, Fortran Supplementary material: http://mercurydpm.org Nature of problem: Simulation of granular materials, i.e. conglomerations of discrete, macroscopic particles. The interaction between individual grains is characterised by a loss of energy, making the behaviour of granular materials distinct from atomistic materials, i.e. solids, liquids and gases. Solution method: MercuryDPM (Thornton et al., 2013, 2019; Weinhart et al., 2016, 2017, 2019) is an implementation of the Discrete Particle Method (DPM), also known as the Discrete Element Method (DEM) (Cundall and Strack, 1979). It simulates the motion of individual particles by applying forces and torques that stem either from external forces (gravity, magnetic fields, etc.) or from particle-pair and particle–wall interactions (typically elastic, plastic, dissipative, frictional, and adhesive contact forces). DPM simulations have been successfully used to understand the many unique granular phenomena – sudden phase transitions, jamming, force localisation, etc. – that cannot be explained without considering the granular microstructure. Unusual features: MercuryDPM was designed ab initio with the aim of allowing the simulation of realistic geometries and materials found in industrial and geotechnical applications. It thus contains several bespoke features invented by the MercuryDPM team: (i) a neighbourhood detection algorithm (Krijgsman et al., 2014) that can efficiently simulate highly polydisperse packings, which are common in industry; (ii) curved walls (Weinhart et al., 2016) making it possible to model real industrial geometries exactly, without triangulation errors; and (iii) MercuryCG (Weinhart et al., 2012, 2013, 2016; Tunuguntla et al., 2016), a state-of-the-art analysis tool that extracts local continuum fields, providing accurate analytical/rheological information often not available from experiments or pilot plants. It further contains a large range of contact models to simulate complex interactions such as elasto-plastic deformation (Luding, 2008), sintering (Fuchs et al., 2017), melting (Weinhart et al., 2019), breaking, wet and dry cohesion (Roy et al., 2016, 2017), and liquid migration (Roy et al., 2018), all of which have important industrial applications.

[1]  R. Yamamoto,et al.  Implementation of Lees-Edwards periodic boundary conditions for direct numerical simulations of particle dispersions under shear flow. , 2010, The Journal of chemical physics.

[2]  Klaus Thoeni,et al.  An iterative Bayesian filtering framework for fast and automated calibration of DEM models , 2019, Computer Methods in Applied Mechanics and Engineering.

[3]  S. Luding,et al.  Liquid redistribution in sheared wet granular media , 2018, Physical Review E.

[4]  S. Luding,et al.  Influence of coarse-graining parameters on the analysis of DEM simulations of silo flow , 2016 .

[5]  C. N. Davies Particle-fluid interaction , 1979 .

[6]  T. Schwager,et al.  Computational Granular Dynamics: Models and Algorithms , 2005 .

[7]  S. Luding Cohesive, frictional powders: contact models for tension , 2008 .

[8]  Lees–Edwards boundary condition for simulation of polymer suspension with dissipative particle dynamics method , 2016 .

[9]  S. Luding,et al.  Bulbous head formation in bidisperse shallow granular flow over an inclined plane , 2019, Journal of Fluid Mechanics.

[10]  B. J. Scheper,et al.  Surface flow profiles for dry and wet granular materials by Particle Tracking Velocimetry; the effect of wall roughness , 2019, The European physical journal. E, Soft matter.

[11]  R. C. Hidalgo,et al.  Homogeneous cooling state of frictionless rod particles , 2016 .

[12]  Stefan Luding,et al.  ALERT Doctoral School 2017: Discrete Element Modeling , 2017 .

[13]  Jonathan Seville,et al.  Capillary Bridges between Two Spherical Bodies , 2000 .

[14]  J. Rantanen,et al.  Quantification of Fragmentation of Pharmaceutical Materials After Tableting. , 2019, Journal of pharmaceutical sciences.

[15]  Les A. Piegl,et al.  The NURBS Book , 1995, Monographs in Visual Communication.

[16]  Thomas Weinhart,et al.  A general(ized) local rheology for wet granular materials , 2017 .

[17]  J. Andrade,et al.  All you need is shape: Predicting shear banding in sand with LS-DEM , 2018 .

[18]  Onno Bokhove,et al.  From discrete particles to continuum fields near a boundary , 2011, 1108.5032.

[19]  van Schrojenstein Lantman,et al.  A study on fundamental segregation mechanisms in dense granular flows , 2019 .

[20]  Michael Kolonko,et al.  A comparison of data structures for the simulation of polydisperse particle packings , 2011 .

[21]  Siyuan He,et al.  Particle shape-induced radial segregation of binary mixtures in a rotating drum , 2019, Powder Technology.

[22]  J. Banavar,et al.  Computer Simulation of Liquids , 1988 .

[23]  Vitaliy Ogarko,et al.  A fast multilevel algorithm for contact detection of arbitrarily polydisperse objects , 2012, Comput. Phys. Commun..

[24]  André Katterfeld,et al.  Coupling of FEM and DEM simulations to consider dynamic deformations under particle load , 2017 .

[25]  Otis R. Walton,et al.  Numerical simulation of inclined chute flows of monodisperse, inelastic, frictional spheres , 1993 .

[26]  W. Zhou,et al.  Combined FEM/DEM Modeling of Triaxial Compression Tests for Rockfills with Polyhedral Particles , 2014 .

[27]  Klaus Thoeni,et al.  Probabilistic calibration of discrete element simulations using the sequential quasi-Monte Carlo filter , 2018 .

[28]  Thomas Weinhart,et al.  Coarse-grained local and objective continuum description of three-dimensional granular flows down an inclined surface , 2013 .

[29]  Ed Anderson,et al.  LAPACK Users' Guide , 1995 .

[30]  F. Beer Vector Mechanics for Engineers: Statics and Dynamics , 2003 .

[31]  D. Mašín Double structure hydromechanical coupling formalism and a model for unsaturated expansive clays , 2013 .

[32]  I. Einav,et al.  Phase transitions and cyclic pseudotachylyte formation in simulated faults , 2012 .

[33]  P. Cundall,et al.  A discrete numerical model for granular assemblies , 1979 .