Issue 4, 2025

pyRheo: an open-source Python package for complex rheology

Abstract

Mathematical modeling is a powerful tool in rheology, and we present pyRheo, an open-source package for Python designed to streamline the analysis of creep, stress relaxation, small amplitude oscillatory shear, and steady shear flow tests. pyRheo contains a comprehensive selection of viscoelastic models, including fractional order approaches. It integrates model selection and fitting features and employs machine intelligence to suggest a model to describe a given dataset. The package fits the suggested model or one chosen by the user. An advantage of using pyRheo is that it addresses challenges associated with sensitivity to initial guesses in parameter optimization. It allows the user to iteratively search for the best initial guesses, avoiding convergence to local minima. We discuss the capabilities of pyRheo and compare them to other tools for rheological modeling of soft matter. We demonstrate that pyRheo significantly reduces the computation time required to fit high-performance viscoelastic models.

Graphical abstract: pyRheo: an open-source Python package for complex rheology

Supplementary files

Transparent peer review

To support increased transparency, we offer authors the option to publish the peer review history alongside their article.

View this article’s peer review history

Article information

Article type
Paper
Submitted
17 Jan 2025
Accepted
19 Mar 2025
First published
20 Mar 2025
This article is Open Access
Creative Commons BY license

Digital Discovery, 2025,4, 1075-1082

pyRheo: an open-source Python package for complex rheology

I. Y. Miranda-Valdez, A. Niinistö, T. Mäkinen, J. Lejon, J. Koivisto and M. J. Alava, Digital Discovery, 2025, 4, 1075 DOI: 10.1039/D5DD00021A

This article is licensed under a Creative Commons Attribution 3.0 Unported Licence. You can use material from this article in other publications without requesting further permissions from the RSC, provided that the correct acknowledgement is given.

Read more about how to correctly acknowledge RSC content.

Social activity

Spotlight

Advertisements