Preprints
https://doi.org/10.5194/egusphere-2026-2591
https://doi.org/10.5194/egusphere-2026-2591
05 Jun 2026
 | 05 Jun 2026

Pysammos 1.0.0: a discrete-to-continuum transformation Python tool to analyse the rheology of granular materials

Claudia Elijas-Parra, Eric C. P. Breard, John P. Morrissey, P. J. Zrelak, and Mark Naylor

Abstract. Granular flow processes involving different interstitial fluids and coupling regimes are widespread in both natural systems (e.g., landslides, rock avalanches, river sediment transport) and industrial applications (e.g., aggregates in concrete manufacturing, powder technology, animal feed). Despite this, the behaviour of complex granular flows is not fully understood. Modelling of granular media through software packages that couple the Discrete Element Method with Computational Fluid Dynamics (DEM-CFD) enables a comprehensive description of granular small-scale mechanics through simulations of particle-particle and particle-fluid interactions at high temporal and spatial resolution. These approaches are pivotal in the development of constitutive models that represent the bulk rheology of granular media. While DEM-CFD simulations provide particle-scale information (e.g., particle velocities and forces), extracting continuum fields requires a discrete-to-continuum (D2C) transformation that applies a mathematical approach termed coarse-graining. Although some DEM software packages include built-in D2C capabilities, others, such as MFiX-DEM, do not. Consequently, users are often required to develop custom D2C workflows or adapt simulation outputs to the requirements of other D2C tools. Hence, we introduce Pysammos, a Python package that performs discrete-to-continuum transformations and is designed to be user-friendly, open-source, and computationally efficient. Pysammos is able to process polydisperse granular mixtures of any particle shape, while also offering the option to analyse different particle phases separately. It post-processes output files from MFiX-DEM software and produces vtkhdf outputs ready for visualisation in ParaView, as well as a more generic h5 format for further data analysis. Pysammos is able to operate on standard desktop computers as well as on HPC systems. Finally, we showcase a variety of exemplar applications such as sediment erosion, crystals and magma in a conduit, bedload transport and impact cratering.

Publisher's note: Copernicus Publications remains neutral with regard to jurisdictional claims made in the text, published maps, institutional affiliations, or any other geographical representation in this paper. While Copernicus Publications makes every effort to include appropriate place names, the final responsibility lies with the authors. Views expressed in the text are those of the authors and do not necessarily reflect the views of the publisher.
Share

Journal article(s) based on this preprint

08 Oct 2026
Pysammos 1.0.0: a discrete-to-continuum transformation Python tool to analyse the rheology of granular materials
Claudia Elijas-Parra, Eric C. P. Breard, John P. Morrissey, P. J. Zrelak, and Mark Naylor
Geosci. Model Dev., 19, 9519–9553, https://doi.org/10.5194/gmd-19-9519-2026,https://doi.org/10.5194/gmd-19-9519-2026, 2026
Short summary
Claudia Elijas-Parra, Eric C. P. Breard, John P. Morrissey, P. J. Zrelak, and Mark Naylor

Interactive discussion

Status: closed

Comment types: AC – author | RC – referee | CC – community | EC – editor | CEC – chief editor | : Report abuse
  • RC1: 'Comment on egusphere-2026-2591', Alexandre Sac-Morane, 15 Jun 2026
    • AC1: 'Reply on RC1', Claudia Elijas-Parra, 11 Sep 2026
  • RC2: 'Comment on egusphere-2026-2591', Francois Guillard, 13 Aug 2026
    • AC2: 'Reply on RC2', Claudia Elijas-Parra, 11 Sep 2026

Peer review completion

AR – Author's response | RR – Referee report | ED – Editor decision | EF – Editorial file upload
AR by Claudia Elijas-Parra on behalf of the Authors (11 Sep 2026)  Author's response   Author's tracked changes   Manuscript 
ED: Publish as is (15 Sep 2026) by Thomas Poulet
AR by Claudia Elijas-Parra on behalf of the Authors (25 Sep 2026)

Interactive discussion

Status: closed

Comment types: AC – author | RC – referee | CC – community | EC – editor | CEC – chief editor | : Report abuse
  • RC1: 'Comment on egusphere-2026-2591', Alexandre Sac-Morane, 15 Jun 2026
    • AC1: 'Reply on RC1', Claudia Elijas-Parra, 11 Sep 2026
  • RC2: 'Comment on egusphere-2026-2591', Francois Guillard, 13 Aug 2026
    • AC2: 'Reply on RC2', Claudia Elijas-Parra, 11 Sep 2026

Peer review completion

AR – Author's response | RR – Referee report | ED – Editor decision | EF – Editorial file upload
AR by Claudia Elijas-Parra on behalf of the Authors (11 Sep 2026)  Author's response   Author's tracked changes   Manuscript 
ED: Publish as is (15 Sep 2026) by Thomas Poulet
AR by Claudia Elijas-Parra on behalf of the Authors (25 Sep 2026)

Journal article(s) based on this preprint

08 Oct 2026
Pysammos 1.0.0: a discrete-to-continuum transformation Python tool to analyse the rheology of granular materials
Claudia Elijas-Parra, Eric C. P. Breard, John P. Morrissey, P. J. Zrelak, and Mark Naylor
Geosci. Model Dev., 19, 9519–9553, https://doi.org/10.5194/gmd-19-9519-2026,https://doi.org/10.5194/gmd-19-9519-2026, 2026
Short summary
Claudia Elijas-Parra, Eric C. P. Breard, John P. Morrissey, P. J. Zrelak, and Mark Naylor

Data sets

Example granular material simulation data for the Pysammos Python package C. Elijas-Parra et al. https://doi.org/10.5281/zenodo.19351802

Model code and software

Pysammos v1.0.0 C. Elijas-Parra et al. https://doi.org/10.5281/zenodo.19355667

Pysammos - GitHub repository C. Elijas https://github.com/Claudia-Elijas/pysammos

Pysammos - Documentation C. Elijas https://claudia-elijas.github.io/pysammos/

Claudia Elijas-Parra, Eric C. P. Breard, John P. Morrissey, P. J. Zrelak, and Mark Naylor

Viewed

Total article views: 402 (including HTML, PDF, and XML)
HTML PDF XML Total Supplement BibTeX EndNote
206 157 39 402 57 18 28
  • HTML: 206
  • PDF: 157
  • XML: 39
  • Total: 402
  • Supplement: 57
  • BibTeX: 18
  • EndNote: 28
Views and downloads (calculated since 05 Jun 2026)
Cumulative views and downloads (calculated since 05 Jun 2026)

Viewed (geographical distribution)

Total article views: 377 (including HTML, PDF, and XML) Thereof 377 with geography defined and 0 with unknown origin.
Country # Views %
  • 1
1
 
 
 
 
Latest update: 07 Nov 2026
Download

The requested preprint has a corresponding peer-reviewed final revised paper. You are encouraged to refer to the final revised version.

Short summary
Granular flows are widespread in nature and industry, yet poorly understood. Discrete particle simulations offer detailed insight into their behaviour, but only provide properties of the individual particles, such as velocity and force. To obtain bulk flow quantities relevant to science and engineering, such as pressure or strain rate, we present Pysammos: an open source, user-friendly too to process discrete particle simulation data into continuum fields.
Share