Skip to content
DraconiticResearch
Search Sources API
203,234 studies31 sourcesUpdated 7 min ago
Peer-reviewedCC BY 4.0Geoscientific Model Development

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

  1. 1University of Edinburgh (Edinburgh, United Kingdom)

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.

Versions

Related

  1. A rheology for temperate ice in glaciers (RTIG) based on borehole deformation experiments
    Martin Peter Lüthi, Martin Funk, Andreas Bauder
    EarthArXivPreprintCC BY 4.0Full textAtmospheric science & meteorologyEarthArXiv
  2. Rheology-controlled hydraulic selection in fracture-matrix heat transport: Mechanisms and thermal signatures
    Alessandro Lenci, Irene Daprà
    arXivPreprintCC BY 4.0Full textGeophysics & seismologyFluid dynamicsarXiv
  3. Early Detection of Lamellar Gel Network Instability in Cosmetic Emulsions Using Rheology, Laser Diffraction, and AI-Assisted Microscopy
    Axel Viton, Raphaël Coatmeur, Béatrice Anthouard +3
    CosmeticsPeer-reviewedCC BYEcologyEnvironmental science & pollutionHAL
  4. Detecting arrest in snow avalanche simulations : interplay between rheology, topography and numerical diffusion
    Danila Denisenko, Saoirse Robin Goodwin, Thierry Faug +1
    HALPreprintCC BY 4.0Full textEnvironmental science & pollutionGeneral mathematicsHAL
  5. Rheology-controlled hydraulic selection in fracture-matrix heat transport: Mechanisms and thermal signatures
    Alessandro Lenci, Irene Daprà
    Advances in Water ResourcesPeer-reviewedCC BY 4.0Full textHydrology & soilsFluid dynamicsHAL
BibTeX
@article{elijasparra2026pysammos,
  title = {{Pysammos 1.0.0: a discrete-to-continuum transformation Python tool to analyse the rheology of granular materials}},
  author = {Claudia Elijas-Parra and Eric C. P. Breard and John P. Morrissey and P. J. Zrelak and Mark Naylor},
  journal = {Geoscientific Model Development},
  year = {2026},
  month = oct,
  doi = {10.5194/gmd-19-9519-2026},
  url = {https://gmd.copernicus.org/articles/19/9519/2026/},
  note = {CC BY 4.0},
}
RIS
TY  - JOUR
TI  - Pysammos 1.0.0: a discrete-to-continuum transformation Python tool to analyse the rheology of granular materials
AU  - Claudia Elijas-Parra
AU  - Eric C. P. Breard
AU  - John P. Morrissey
AU  - P. J. Zrelak
AU  - Mark Naylor
PY  - 2026
DA  - 2026/10/08
JO  - Geoscientific Model Development
DO  - 10.5194/gmd-19-9519-2026
UR  - https://gmd.copernicus.org/articles/19/9519/2026/
AB  - 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.
SN  - 1991-9603
ER  -