MercuryDPM
MercuryDPM is an open-source C++ framework for discrete particle simulations of granular materials, powders, and other particulate systems. It was started in 2009 to support complex scientific and industrial particle simulations. MercuryDPM is developed by an international open-source community.
Description
MercuryDPM
Fast, flexible particle simulations
MercuryDPM is an open-source C++ framework for discrete particle simulations of granular materials, powders, and other particulate systems.
It was started in 2009 to support complex scientific and industrial particle simulations. Its core strengths include flexible wall and boundary conditions, efficient neighbourhood detection for highly polydisperse particle systems, MercuryCG coarse-graining for continuum-field analysis, and coupling to continuum and multiscale simulation tools.
MercuryDPM is developed by an international open-source community and is released under the BSD 3-Clause licence.
Key features
- Discrete particle simulations
- Flexible boundary conditions, such as curved walls
- Elastic, plastic, viscous, frictional, and adhesive contact models
- Efficient neighbour detection, even for highly polydisperse systems
- MercuryCG coarse-graining and continuum-field analysis
- Multiphysics and multiscale coupling
- CMake-based builds
- Automated self-test suite
- Support for Linux, macOS, and Windows
Getting started
- Project website: https://www.mercurydpm.org/
- Documentation: https://mercurydpm.readthedocs.io/
- Installation: https://www.mercurydpm.org/downloads/
- Source code: https://bitbucket.org/mercurydpm/mercurydpm
Citation
If you use MercuryDPM in research, please cite:
T. Weinhart et al., Fast, flexible particle simulations — An introduction to MercuryDPM, Computer Physics Communications 249, 107129 (2020). https://doi.org/10.1016/j.cpc.2019.107129
Further citation guidance and a list of publications using MercuryDPM are available at:
Contributing
Contributions are welcome.
Please read CONTRIBUTING.md before submitting changes.
Development takes place through branches and pull requests, with review by MercuryDPM developers and automated testing.
Further developer information is available at:
- https://www.mercurydpm.org/for-developers
- https://www.mercurydpm.org/for-developers/contribution-guideline
For questions and user support, see:
We also host a public Q&A session every two weeks. See the event calendar on https://www.mercurydpm.org/ for upcoming dates.
Licence
MercuryDPM is distributed under the BSD 3-Clause licence.
Participating organisations
Reference papers
- 1.Author(s): Igor Ostanin, Vasileios Angelidakis, Timo Plath, Sahar Pourandi, Anthony Thornton, Thomas WeinhartPublished in Computer Physics Communications by Elsevier BV in 2024, page: 10903410.1016/j.cpc.2023.109034
- 2.Author(s): Anthony R. Thornton, Timo Plath, Igor Ostanin, Holger Götz, Jan-Willem Bisschop, Mohamed Hassan, Raïsa Roeplal, Xiuqi Wang, Sahar Pourandi, Thomas WeinhartPublished in Mathematics in Computer Science by Springer Science and Business Media LLC in 202310.1007/s11786-023-00562-x
- 3.Author(s): Thomas Weinhart, Luca Orefice, Mitchel Post, Marnix P. van Schrojenstein Lantman, Irana F.C. Denissen, Deepak R. Tunuguntla, J.M.F. Tsang, Hongyang Cheng, Mohamad Yousef Shaheen, Hao Shi, Paolo Rapino, Elena Grannonio, Nunzio Losacco, Joao Barbosa, Lu Jing, Juan E. Alvarez Naranjo, Sudeshna Roy, Wouter K. den Otter, Anthony R. ThorntonPublished in Computer Physics Communications by Elsevier BV in 2020, page: 10712910.1016/j.cpc.2019.107129
- 4.Author(s): Dinant Krijgsman, Vitaliy Ogarko, Stefan LudingPublished in Computational Particle Mechanics by Elsevier BV in 2014, page: 357-37210.1007/s40571-014-0020-9
- 5.Author(s): V. Ogarko, S. LudingPublished in Computer Physics Communications by Elsevier BV in 2012, page: 931-93610.1016/j.cpc.2011.12.019
- 6.Author(s): Thomas Weinhart, Anthony R. Thornton, Stefan Luding, Onno BokhovePublished in Granular Matter by Springer Science and Business Media LLC in 2012, page: 289-29410.1007/s10035-012-0317-4
Mentions
- 1.Author(s): Ishan Srivastava, Andrew P. Santos, Joseph M. Monti, Joel T. Clemmer, Jeremy B. Lechman, Gary S. Grest, Leonardo E. SilbertPublished in Packing Problems in Soft Matter Physics by Royal Society of Chemistry in 2025, page: 265-29710.1039/9781837673940-00265
- 2.Author(s): Felix Wiese, Nico Obermeier, Klaus Hasenmaile, Thorsten StengelPublished in Lecture Notes in Civil Engineering, 4th fib International Conference on Concrete Sustainability (ICCS2024) by Springer Nature Switzerland in 2024, page: 348-35510.1007/978-3-031-80672-8_42
- 3.Author(s): Kianoosh Taghizadeh, Stefan Luding, Holger SteebPublished in Lecture Notes in Applied and Computational Mechanics, Calm, Smooth and Smart by Springer Nature Switzerland in 2023, page: 325-34710.1007/978-3-031-36143-2_17
- 4.Author(s): Anthony Rosato, Kit Windows-YulePublished in 202010.1016/b978-0-12-814199-1.00014-7
- 5.Author(s): Ken KamrinPublished in Handbook of Materials Modeling by Springer International Publishing in 2020, page: 153-17610.1007/978-3-319-44680-6_148
- 6.Author(s): T. Weinhart, R. Fuchs, T. Staedler, M. Kappl, S. LudingPublished in Particles in Contact by Springer International Publishing in 2019, page: 311-33810.1007/978-3-030-15899-6_10
- 7.Author(s): Stefan LudingPublished in Springer Series in Geomechanics and Geoengineering, Desiderata Geotechnica by Springer International Publishing in 2019, page: 86-9210.1007/978-3-030-14987-1_10
- 8.Author(s): Ken KamrinPublished in Handbook of Materials Modeling by Springer International Publishing in 2018, page: 1-2410.1007/978-3-319-50257-1_148-1
- 9.Author(s): P. Van Liedekerke, A. Buttenschön, D. DrasdoPublished in Numerical Methods and Advanced Simulation in Biomechanics and Biological Processes by Elsevier in 2018, page: 245-26710.1016/b978-0-12-811718-7.00014-9
- 10.Author(s): Hao Shi, Dalila Vescovi, Abhinendra Singh, Sudeshna Roy, Vanessa Magnanimo, Stefan LudingPublished in Granular Materials by InTech in 201710.5772/intechopen.68465
- 11.Author(s): S. Luding, A. Singh, S. Roy, D. Vescovi, T. Weinhart, V. MagnanimoPublished in Springer Proceedings in Physics, Proceedings of the 7th International Conference on Discrete Element Methods by Springer Singapore in 2016, page: 13-1910.1007/978-981-10-1926-5_2
- 1.Author(s): A. Thornton, Q. Nguyen, H. Polman, J. Bisschop, R. Weinhart-Mejia, M. Vesal, T. Weinhart, M. Post, I. OstaninPublished in VIII International Conference on Particle-Based Methods by CIMNE in 202310.23967/c.particles.2023.015
- 2.Author(s): Pavel V. Zakharov, Ustina I. Yankovskaya, Yuri. V. Bebikhov, Alexander S. Semenov, Artem V. MarkidonovPublished in AIP Conference Proceedings, PROCEEDINGS OF THE II INTERNATIONAL SCIENTIFIC CONFERENCE ON ADVANCES IN SCIENCE, ENGINEERING AND DIGITAL EDUCATION: (ASEDU-II 2021) by AIP Publishing in 2022, page: 04001910.1063/5.0104084
- 3.Author(s): Liu BinPublished in 2012 International Conference on Computer Science and Information Processing (CSIP) by IEEE in 2012, page: 620-62310.1109/csip.2012.6308930
- 4.Author(s): Adrian Gentry, Langdon Feltner, Paul MortPublished in 2024 ASEE Annual Conference & Exposition Proceedings by ASEE Conferences10.18260/1-2--46488
- 1.Author(s): Ayuk Corlbert Ayuk, Olumide OgunmodimuPublished in 202610.1016/j.powtec.2026.123219
- 2.Author(s): S. Emad Renfroe, Blair K. Brettmann, Jeremy B. Lechman, Joseph M. MontiPublished in Chemical Engineering Research and Design by Elsevier BV in 2026, page: 965-97610.1016/j.cherd.2026.02.040
- 3.Author(s): Pouria Hajizadeh, Hesam AskariPublished in Granular Matter by Springer Science and Business Media LLC in 202610.1007/s10035-026-01635-x
- 4.Author(s): Dhairya R. Vyas, Neiladri S. Ray, Paul B. Umbanhowar, Richard M. Lueptow, Julio M. OttinoPublished in Industrial & Engineering Chemistry Research by American Chemical Society (ACS) in 2026, page: 13558-1357110.1021/acs.iecr.6c00227
- 5.Author(s): Pavel IlievPublished in 202610.1007/s10035-026-01703-2
- 6.Author(s): Judice Cumbunga, Saïd Abboudi, Dominique ChamoretPublished in Additive Manufacturing Frontiers by Elsevier BV in 2026, page: 20026510.1016/j.amf.2025.200265
- 7.Author(s): Songtao Lv, Yijie Hu, Zhiyu Yang, Jie Chen, Yiyi Wen, Chaochao LiuPublished in 202610.1016/j.conbuildmat.2026.148685
- 8.Author(s): Gustavo de Mello, Ricardo Rodrigues Magalhães, Fernando Elias de Melo BorgesPublished in Modelling by MDPI AG in 2026, page: 15310.3390/modelling7040153
- 9.Author(s): Jiayu Xu, Shuai Zhang, Yong Zhang, Haolei Zhang, Ji Xu, Wei GePublished in Powder Technology by Elsevier BV in 2026, page: 12213210.1016/j.powtec.2026.122132
- 10.Author(s): Balázs Füvesi, Behrad Esgandari, Stefan Luding, Christoph Goniva, Vanessa MagnanimoPublished in 202610.1016/j.powtec.2026.123359
- 11.Author(s): Anthony R. Thornton, Kimberly Hill, Lu Jing, Benjy Marks, Deepak R. TunuguntlaPublished in Annual Review of Condensed Matter Physics by Annual Reviews in 2026, page: 369-39310.1146/annurev-conmatphys-031424-125004
- 12.Author(s): Huzaif Rahim, Thorsten Pöschel, Sudeshna RoyPublished in Physics of Fluids by AIP Publishing in 202610.1063/5.0320862
- 13.Author(s): Ayuk Corlbert Ayuk, Olumide OgunmodimuPublished in Powder Technology by Elsevier BV in 2026, page: 12294610.1016/j.powtec.2026.122946
- 14.Author(s): István Keppler, Gábor Bércesi, János TóthPublished in Journal of Engineering Mechanics by American Society of Civil Engineers (ASCE) in 202610.1061/jenmdt.emeng-8256
- 15.Author(s): Huzaif Rahim, Sudeshna Roy, Thorsten PöschelPublished in Physical Review Fluids by American Physical Society (APS) in 202610.1103/z1rz-b4j6
- 16.Author(s): Roman VetterPublished in Computer Physics Communications by Elsevier BV in 2026, page: 10994210.1016/j.cpc.2025.109942
- 17.Author(s): Dhairya R. Vyas, Richard M. Lueptow, Julio M. Ottino, Paul B. UmbanhowarPublished in Physical Review Research by American Physical Society (APS) in 202610.1103/prgp-j1sj
- 18.Author(s): 升昊 姜Published in 202610.12677/mos.2026.159137
- 19.Author(s): Taswald Llewelyn Moodley, Indresan GovenderPublished in Powder Technology by Elsevier BV in 2026, page: 12210110.1016/j.powtec.2025.122101
- 20.Author(s): Tongan Yang, Boyang Chen, Jiansheng Xiang, Sadjad Naderi, Claire E. Heaney, Mikio Sakai, John-Paul Latham, Yanghua Wang, Christopher C. PainPublished in Powder Technology by Elsevier BV in 2026, page: 12225410.1016/j.powtec.2026.122254
- 21.Author(s): István Oldal, Ferenc Safranyik, János Tóth, István KepplerPublished in Journal of Engineering Mechanics by American Society of Civil Engineers (ASCE) in 202610.1061/jenmdt.emeng-8255
- 22.Author(s): Jiayu Xu, Shuai Zhang, Yong Zhang, Haolei Zhang, Duo Zhao, Ji Xu, Wei GePublished in Computational Mechanics by Springer Science and Business Media LLC in 2026, page: 857-88010.1007/s00466-026-02781-y
- 23.Author(s): Thomas Pähtz, Yulan Chen, Rui Zhu, Katharina Tholen, Zhiguo HePublished in Granular Matter by Springer Science and Business Media LLC in 202610.1007/s10035-025-01609-5
- 24.Author(s): Gen Li, Jiongchao Wang, Shihua Dong, Ruichen ZhangPublished in Mathematics by MDPI AG in 2026, page: 196510.3390/math14111965
- 25.Author(s): Juan C. Petit, Julio M. Ottino, Richard M. Lueptow, Paul B. UmbanhowarPublished in Physical Review E by American Physical Society (APS) in 202610.1103/95zq-rcyc
- 26.Author(s): Arianna Gea Pagano, Fabio Rollo, Vanessa Magnanimo, Alessandro Tarantino, Angelo AmorosiPublished in Géotechnique by Emerald in 2026, page: 690-70710.1680/jgeot.25.00450
- 27.Author(s): Muhammad Ahmed Hanif, Frank Barthel, Diego Maza, Devaraj van der MeerPublished in Physical Review E by American Physical Society (APS) in 202610.1103/9mlh-ldrd
- 28.Author(s): Shuo Huang, Zhenning Liu, Yuefan Yin, Caishan LiuPublished in Physics of Fluids by AIP Publishing in 202610.1063/5.0336000
- 29.Author(s): Shervin Samadi, Kerstin Lesny, M. D. Kawsar SajibPublished in Granular Matter by Springer Science and Business Media LLC in 202610.1007/s10035-026-01629-9
- 30.Author(s): Louison Thorens, Solenn Rodriguez, Nicolas Taberlet, Mickael Bourgoin, Knut Jørgen Måløy, Stéphane SantucciPublished in Soft Matter by Royal Society of Chemistry (RSC) in 2026, page: 4463-446910.1039/d6sm00069j
- 31.Author(s): Sahar Pourandi, P. Christian van der Sande, Igor Ostanin, Thomas WeinhartPublished in Powder Technology by Elsevier BV in 2026, page: 12240410.1016/j.powtec.2026.122404
- 32.Author(s): Mikhail Kholodniak, Artem Panchenko, Igor BerinskiiPublished in Powder Technology by Elsevier BV in 2026, page: 12192910.1016/j.powtec.2025.121929
- 33.Author(s): Wenqiang Xia, Chun Liu, Yintong Min, Hanwen LiPublished in Powder Technology by Elsevier BV in 2026, page: 12180710.1016/j.powtec.2025.121807
- 34.Author(s): Amir Nazemi, Hongyi XiaoPublished in Journal of Fluid Mechanics by Cambridge University Press (CUP) in 202610.1017/jfm.2026.11883
- 35.Author(s): Anas Almudahka, Stefan Pantaleev, Mohammad Salehian, John Armstrong, Blair F. Johnston, Daniel MarklPublished in 202610.1016/j.powtec.2026.123171
- 36.Author(s): Oguzhan Erken, Prashant Gupta, Jin Y. Ooi, Kevin J. HanleyPublished in Powder Technology by Elsevier BV in 2025, page: 12101510.1016/j.powtec.2025.121015
- 37.Author(s): Muhammad Ahmed Hanif, Devaraj van der MeerPublished in Physical Review E by American Physical Society (APS) in 202510.1103/physreve.111.025416
- 38.Author(s): Moritz Becker, Nahid Safari, Christian TetzlaffPublished in Cell Reports Methods by Elsevier BV in 2025, page: 10118210.1016/j.crmeth.2025.101182
- 39.Author(s): Dhairya R. Vyas, Julio M. Ottino, Richard M. Lueptow, Paul B. UmbanhowarPublished in EPJ Web of Conferences by EDP Sciences in 2025, page: 0900910.1051/epjconf/202534009009
- 40.Author(s): Y.H. Shi, N. Guo, Z.X. YangPublished in Powder Technology by Elsevier BV in 2025, page: 12129310.1016/j.powtec.2025.121293
- 41.Author(s): Mohamad Yousef Shaheen, Stefan Luding, Anthony R. Thornton, Thomas WeinhartPublished in Granular Matter by Springer Science and Business Media LLC in 202510.1007/s10035-025-01581-0
- 42.Author(s): Juan C. Petit, Matthias SperlPublished in Physical Review Research by American Physical Society (APS) in 202510.1103/mtcv-dbpd
- 43.Author(s): Xiuqi Wang, Gerhardus H. P. Campmans, Thomas Weinhart, Anthony R. Thornton, Kathelijne M. WijnbergPublished in Journal of Marine Science and Engineering by MDPI AG in 2025, page: 173310.3390/jmse13091733
- 44.Author(s): Anna Schwarz, Patrick Kopper, Emilian de Staercke, Andrea BeckPublished in Computer Physics Communications by Elsevier BV in 2025, page: 10974310.1016/j.cpc.2025.109743
- 45.Author(s): Juan C. Petit, Matthias SperlPublished in Granular Matter by Springer Science and Business Media LLC in 202510.1007/s10035-024-01500-9
- 46.Author(s): Ahmet Utku Canbolat, Sadegh Nadimi, Vasileios AngelidakisPublished in SoftwareX by Elsevier BV in 2025, page: 10195710.1016/j.softx.2024.101957
- 47.Author(s): Jilong Yin, Huaqing Zhang, Mengmeng Liu, Qian MaPublished in Sensors by MDPI AG in 2025, page: 143010.3390/s25051430
- 48.Author(s): Yuval Keissar, Michael Gardner, Nicholas SitarPublished in Computers and Geotechnics by Elsevier BV in 2025, page: 10724010.1016/j.compgeo.2025.107240
- 49.Author(s): Esma Kurban, Dalila Vescovi, Diego BerziPublished in Soft Matter by Royal Society of Chemistry (RSC) in 2025, page: 2049-205810.1039/d4sm01359j
- 50.Author(s): Muhammad Ahmed Hanif, Diego Maza, Devaraj van der MeerPublished in Granular Matter by Springer Science and Business Media LLC in 202510.1007/s10035-025-01517-8
- 1.Author(s): Brayan Marcelo Paredes GoyesPublished in 202210.70675/d306be7ezc27bz4e6dzbec9z431ccc8be92e
- 2.Author(s): Guillaume HamelinPublished in 202110.70675/354cf0c6z2bdez446ez9c27zfc5f8e7e85c5
- 3.Author(s): Louison ThorensPublished in 202110.70675/49ff7cfaz806dz4968zad7dz6ea7be446d36
- 4.Author(s): Nikzad Falahati, Alex RouthPublished by Apollo - University of Cambridge Repository in 202010.17863/cam.60098
- 5.Author(s): Michael GardnerPublished in 2018
- 6.Author(s): Iñigo TerrerosPublished in 2013
- 7.Author(s): M. van Schrojenstein LantmanPublished by University Library/University of Twente10.3990/1.9789036547628
- 8.Author(s): Juan E. AlvarezPublished by University Library/University of Twente10.3990/1.9789036558082
- 9.Author(s): Oleg BystrovPublished by Vilnius Gediminas Technical University10.20334/2024-037-m
- 10.Author(s): H. ShiPublished by University Library/University of Twente10.3990/1.9789036547420
- 11.Author(s): Joel Torres SerraPublished by Universitat Politècnica de Catalunya10.5821/dissertation-2117-347906
- 12.Author(s): Marco Antonio Brasiel SampaioPublished by Universidade de São Paulo. Agência de Bibliotecas e Coleções Digitais10.11606/t.3.2017.tde-17042017-092647
- 13.Author(s): Ilyas KuhlemannPublished by University Goettingen Repository10.53846/goediss-9527
- 14.Author(s): Vitaliy OgarkoPublished by University Library/University of Twente10.3990/1.9789036536691
- 15.Author(s): Mathias HummelPublished by University Goettingen Repository10.53846/goediss-6066
- 16.Author(s): Muhammad Ahmed HanifPublished by University Library/University of Twente10.3990/1.9789036560658
- 17.Author(s): Deepak TunuguntlaPublished by University Library/University of Twente10.3990/1.9789036539753
- 18.Author(s): Nicolas RivasPublished by University Library/University of Twente10.3990/1.9789036538152
- 19.Author(s): Sebastian GonzalezPublished by University Library/University of Twente10.3990/1.9789036535403
- 20.Author(s): Kazem YazdchiPublished by University Library/University of Twente10.3990/1.9789036534147
- 1.Author(s): Muhammad Ahmed Hanif, Diego Maza, Devaraj van der MeerPublished by Springer Science and Business Media LLC in 202410.21203/rs.3.rs-3970078/v1
- 2.Author(s): Juan C. Petit, Matthias SperlPublished by Springer Science and Business Media LLC in 202410.21203/rs.3.rs-3968022/v1
- 3.Author(s): Matthew Arran, A Mangeney, J De Rosny, R ToussaintPublished by Wiley in 202310.22541/essoar.169603550.00028813/v1
- 4.Published in 202010.1016/b978-0-12-814199-1.00020-2
- 5.Author(s): Anthony R. Thornton, Mitchel Post, Luca Orefice, Paolo Rapino, Sudeshna Roy, Harmen Polman, Mohamad Yousef Shaheen, Juan E. Álvarez Naranjo, Hongyang Cheng, Lü Jing, Hao Shi, Julius Mbaziira, Raïsa Roeplal, Thomas WeinhartPublished in 2019
- 6.Author(s): Daigo Shoji, Shoko Imamura, Maya Nakamura, Rina NoguchiPublished by arXiv in 201910.48550/arxiv.1909.06144
- 7.Author(s): Joel Torres-Serra, Deepak R. Tunuguntla, Irana Denisen, Antonio Rodríguez Ferran, Enrique RomeroPublished in 2017
- 8.Author(s): Sudeshna Roy, Stefan Luding, Thomas WeinhartPublished in 2016
- 9.Published in Coupled CFD‐DEM Modeling by Wiley in 2016, page: 68-15110.1002/9781119005315.ch3
- 10.Author(s): Abhinendra Singh, Vanessa Magnanimo, Stefan LudingPublished by arXiv in 201510.48550/arxiv.1503.03720
- 11.Author(s): Sudeshna Roy, Stefan Luding, Thomas WeinhartPublished in 2015
- 12.Author(s): Rui Sun, Heng XiaoPublished by arXiv in 201410.48550/arxiv.1409.0001
- 13.Author(s): Anthony R. Thornton, Dinant Krijgsman, Ate te Voortwis, Vitaliy Ogarko, Stefan Luding, Rudi Fransen, Sebastián González, Onno Bokhove, Olukayode I. Imole, Thomas WeinhartPublished in 2013
- 14.Author(s): Vitaliy Ogarko, Stefan LudingPublished in 2011
- 15.Author(s): Ben M Guy, Christopher Ness, Michiel Hermes, Laura J Sawiak, Jin Sun, Wilson C K Poon