PyRolL - An Extensible OpenSource Framework for Rolling Simulation

PyRolL - An Extensible OpenSource Framework for Rolling Simulation - Published in JOSS (2024)

https://github.com/pyroll-project/pyroll-core

Science Score: 100.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 4 DOI reference(s) in README and JOSS metadata
  • Academic publication links
    Links to: joss.theoj.org
  • Committers with academic emails
    2 of 5 committers (40.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
    Published in Journal of Open Source Software

Keywords

groove-rolling materials metal-forming pyroll python rolling simulation

Scientific Fields

Biology Life Sciences - 40% confidence
Last synced: 4 months ago · JSON representation ·

Repository

PyRolL rolling simulation framework - core library.

Basic Info
  • Host: GitHub
  • Owner: pyroll-project
  • License: bsd-3-clause
  • Language: Python
  • Default Branch: main
  • Homepage: https://pyroll.readthedocs.io
  • Size: 904 KB
Statistics
  • Stars: 15
  • Watchers: 8
  • Forks: 8
  • Open Issues: 26
  • Releases: 20
Topics
groove-rolling materials metal-forming pyroll python rolling simulation
Created almost 4 years ago · Last pushed 4 months ago
Metadata Files
Readme License Code of conduct Citation

README.md

PyRolL Rolling Simulation Framework

PyPI Python Versions License DOI Downloads OpenSSF Best Practices

Welcome to The PyRolL Project!

PyRolL is an OpenSource rolling framework, aimed to provide a fast and extensible base for rolling simulation. The current focus lies on groove rolling in elongation grooves. The core package includes the basic data structures and algorithms. Further functionality is provided via extension packages and model approaches are provided via plugin packages.

Aim and Scope

Publications in the field of groove rolling simulation are, to the authors knowledge, characterized by lack of reproducibility, mainly because often details are missing regarding implementation or numerical solution procedure or the provided equations are erroneous. Very few authors provide their source code alongside their publications. PyRolL aims to change this by providing an open basis for model and methodology development. The PyRolL Core package hosted in this repository is the common base dependency to refer to. Plugins to the core provide model approaches for the partial problems to be described in a rolling simulation, which include mechanical, thermal, material behavior and more. The library of available models is constantly growing and can be extended by everyone. Extensions provide application logic and numerical procedures helping to analyse the subject rolling process regarding its technical feasibility, optimization potential, identity error sources, or, to design a new process. PyRolL is therefore a tool for model developers, either with broad focus or specialists, wishing to try out for example a new physical material model within a real process simulation, as well as for technologists wishing to investigate a concrete process. Currently, there is no click'n'run graphical user interface (GUI) provided, at least basic knowledge of programming in general and Python in particular is needed to use the software. Nevertheless, this is also recommended to leverage the full power of PyRolL.

Documentation

See the documentation to learn about basic concepts and usage. The documentation of version 1.0 can be found here.

Versions

The main branch of this repository contains the code of the version 3.x of PyRolL. Backport branches exist for older versions:

Versioning follows semantic versioning with the following rules:

  • breaking changes of core API only in major versions
  • feature releases with minor versions
  • bugfixes with micro versions
  • plugin versioning shall follow the core in major versions (so plugin v2.x works with core v2.x)

As breaking changes are considered:

  • removal of public API functions / classes
  • non backwards compatible signature changes of public API functions / classes
  • removal of hooks
  • removal of hook implementations in the core
  • changes in hook implementations that would likely break plugin implementations

As features are considered:

  • new public API functions / classes
  • backwards compatible signature changes of public API functions / classes
  • new hooks on existing units / profiles
  • new hook implementations in the core

All other changes not considered as breaking change or feature are considered as bugfixes.

It is recommended to develop new plugins and extensions only for the latest major version.

Principal Changes of Version 3.0 Respective to 2.0

  • Refactoring of the roll pass class inheritance hierarchy to enable for support of asymmetric passes.
  • Introduction of pre- and post-processors to simplify implementation of some models.

Principal Changes of Version 2.0 Respective to 1.0

  • Split of old pyroll package into pyroll-core, pyroll-report, pyroll-export and pyroll-cli.
  • Complete reworking of the hook system.
    • Implementation of own hooking framework and removal of pluggy.
    • Simpler user interface for hook definition and implementation.
    • More orthodox default hook implementations, removal of "basic models".
  • Rework of the object model.
    • Stricter hierarchy of unit classes.
    • Extended possibilities of groove definition.
    • Roll passes with three working rolls.
    • New unit classes: Rotator, PassSequence, ThreeRollPass.
    • Introduction of disk elements for incremental modelling in rolling direction.
    • Nestable units (esp. pass sequences and disk elements).

License

The project is licensed under the BSD 3-Clause license.

Contributing

Feel free to open issues, or, fork and open pull requests, if you want to contribute to the core. If you want to implement model approaches for use with PyRolL, create your own plugin package using our plugin template. To learn how to write plugins and extensions, please read the documentation and refer to the numerous existing plugins and extensions available at the organization's GitHub page.

Policy for Inclusion of Hooks in the Core

Since version 2.0 we try to include as many hooks as possible into the core, to tie down the nomenclature. This seems necessary, since for the same concepts, often different terms exist in literature. To avoid collisions and redundancies, it is better to include these hooks in the core, although some of them may come without implementation. This improves the exchangeability of plugins. If you like a hook to be included in the core, open an issue, or preferably, a pull request with the respective changes. Supply your pull request with fallback implementations of the hook, if any meaningful exist.

From this policy we explicitly exclude hooks, that are solely of use for one model approach, namely "coefficients". They are large in number across the whole plugin landscape, but usually named after the model and of no further use to other plugins. So the benefit from including them in the core is small, while the pollution of the core would be exzessive. If another plugin has to make use of them, just add a dependency for the respective source plugin.

A few examples for clarification:

  • The hooks Profile.surface_temperature and Profile.core_temperature may be of interests to many plugins. The core provides fallbacks which just return self.temperature, which is a good first estimate of those. So plugins modelling surface and thermal effects can easily refer to the respective temperatures, without worrying, if there is a model describing the temperature gradient or not.
  • The hook Profile.freiberg_flow_stress_coefficients from the pyroll-freiberg-flow-stress plugin makes no sense without the Freiberg flow stress model, so it is not included in the core.
  • The hook Profile.thermal_conductivity is a material property useful to many plugins, but no meaningful fallback exists, since there is no default material. So the provision of values or implementations is deferred to the user or developers of material databases.

So the core includes several hooks, that are not used by other core functionality, but provide a save ground for plugins.

Owner

  • Name: The PyRoll Project
  • Login: pyroll-project
  • Kind: organization
  • Email: kalibrierzentrum@imf.tu-freiberg.de
  • Location: Germany

Fast and extensible OpenSource rolling simulation framework.

JOSS Publication

PyRolL - An Extensible OpenSource Framework for Rolling Simulation
Published
January 23, 2024
Volume 9, Issue 93, Page 6200
Authors
Max Weiner ORCID
Institute of Metal Forming, TU Bergakademie Freiberg, Germany
Christoph Renzing ORCID
Institute of Metal Forming, TU Bergakademie Freiberg, Germany
Max Stirl ORCID
Institute of Metal Forming, TU Bergakademie Freiberg, Germany
Matthias Schmidtchen ORCID
Institute of Metal Forming, TU Bergakademie Freiberg, Germany
Ulrich Prahl ORCID
Institute of Metal Forming, TU Bergakademie Freiberg, Germany
Editor
Philip Cardiff ORCID
Tags
Simulation Groove Rolling Rolling Metal Forming

Citation (CITATION.cff)

cff-version: 1.2.0
title: PyRolL
message: >-
  If you use this software, please cite it using the
  metadata from this file.
type: software
authors:
  - given-names: Max
    family-names: Weiner
    orcid: 'https://orcid.org/0000-0002-8232-6877'
    email: max.weiner@imf.tu-freiberg.de
    affiliation: TU Bergakademie Freiberg
  - given-names: Christoph
    family-names: Renzing
    email: christoph.renzing@imf.tu-freiberg.de
    affiliation: TU Bergakademie Freiberg
    orcid: 'https://orcid.org/0000-0002-9250-4358'
  - given-names: Max
    family-names: Stirl
    email: max.stirl@imf.tu-freiberg.de
    affiliation: TU Bergakademie Freiberg
    orcid: 'https://orcid.org/0000-0003-3484-9849'
  - given-names: Matthias
    family-names: Schmidtchen
    email: matthias.schmidtchen@imf.tu-freiberg.de
    affiliation: TU Bergakademie Freiberg
    orcid: 'https://orcid.org/0000-0002-2064-4124'
  - given-names: Ulrich
    family-names: Prahl
    email: ulrich.prahl@imf.tu-freiberg.de
    affiliation: TU Bergakademie Freiberg
    orcid: 'https://orcid.org/0000-0001-6978-5721'
identifiers:
  - type: doi
    value: 10.21105/joss.06200
    description: JOSS Paper
repository-code: 'https://github.com/pyroll-project'
abstract: >-
  PyRolL is an OpenSource rolling framework, aimed to
  provide a fast and extensible base for rolling simulation.
  The current focus lies on groove rolling using models
  build on analytical solutions in elongation grooves. The
  project is structured in numerous repositories, where
  every repository either contains an extension or a plugin
  to the framework.
keywords:
  - metal-forming
  - rolling
  - simulation
  - python
  - material-engineering
  - material-science
license: BSD-3-Clause
version: 2.1.6
date-released: '2024-04-19'

GitHub Events

Total
  • Create event: 30
  • Release event: 6
  • Issues event: 46
  • Watch event: 5
  • Delete event: 18
  • Issue comment event: 23
  • Push event: 77
  • Pull request review comment event: 6
  • Pull request review event: 23
  • Pull request event: 49
  • Fork event: 1
Last Year
  • Create event: 30
  • Release event: 6
  • Issues event: 46
  • Watch event: 5
  • Delete event: 18
  • Issue comment event: 23
  • Push event: 77
  • Pull request review comment event: 6
  • Pull request review event: 23
  • Pull request event: 49
  • Fork event: 1

Committers

Last synced: 5 months ago

All Time
  • Total Commits: 340
  • Total Committers: 5
  • Avg Commits per committer: 68.0
  • Development Distribution Score (DDS): 0.321
Past Year
  • Commits: 53
  • Committers: 4
  • Avg Commits per committer: 13.25
  • Development Distribution Score (DDS): 0.415
Top Committers
Name Email Commits
Max Weiner m****r@i****e 231
Christoph Renzing 6****5 100
Richard Pfeifer 1****r 7
Matthias Schmidtchen m****n@i****e 1
JMantel 1****l 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 4 months ago

All Time
  • Total issues: 120
  • Total pull requests: 177
  • Average time to close issues: about 1 month
  • Average time to close pull requests: 11 days
  • Total issue authors: 16
  • Total pull request authors: 7
  • Average comments per issue: 0.9
  • Average comments per pull request: 0.41
  • Merged pull requests: 158
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 30
  • Pull requests: 41
  • Average time to close issues: 19 days
  • Average time to close pull requests: 6 days
  • Issue authors: 7
  • Pull request authors: 4
  • Average comments per issue: 0.6
  • Average comments per pull request: 0.22
  • Merged pull requests: 39
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • ChRen95 (57)
  • axtimhaus (23)
  • GRPlan (15)
  • RichardPfr (7)
  • mxstrl (2)
  • Vuizur (2)
  • sag-kalibreur (2)
  • rboman (1)
  • JMantel (1)
  • philipcardiff (1)
  • ToFFmashines (1)
  • anguimru (1)
  • smkhalid (1)
  • KoosVanPutten (1)
  • msch67 (1)
Pull Request Authors
  • axtimhaus (114)
  • ChRen95 (87)
  • RichardPfr (11)
  • JMantel (4)
  • kyleniemeyer (2)
  • philipcardiff (1)
  • okolekar (1)
Top Labels
Issue Labels
enhancement (66) bug (31) delayed (1)
Pull Request Labels
enhancement (47) bug (14) documentation (5) help wanted (3)

Packages

  • Total packages: 2
  • Total downloads:
    • pypi 348 last-month
  • Total dependent packages: 23
    (may contain duplicates)
  • Total dependent repositories: 5
    (may contain duplicates)
  • Total versions: 69
  • Total maintainers: 2
pypi.org: pyroll-core

PyRoll rolling simulation framework - core library.

  • Versions: 50
  • Dependent Packages: 21
  • Dependent Repositories: 4
  • Downloads: 248 Last month
Rankings
Dependent packages count: 0.7%
Dependent repos count: 7.5%
Average: 10.6%
Downloads: 12.2%
Forks count: 14.2%
Stargazers count: 18.5%
Maintainers (2)
Last synced: 4 months ago
pypi.org: pyroll-report

PyRoll rolling simulation framework - HTML report generation.

  • Versions: 19
  • Dependent Packages: 2
  • Dependent Repositories: 1
  • Downloads: 100 Last month
Rankings
Dependent packages count: 3.2%
Forks count: 14.2%
Average: 14.7%
Downloads: 16.0%
Stargazers count: 18.5%
Dependent repos count: 21.6%
Maintainers (2)
Last synced: 4 months ago

Dependencies

docs/requirements.txt pypi
  • myst-parser *
  • poetry *
pyproject.toml pypi
  • Sphinx ^4.5.0 develop
  • ipython ^8.3.0 develop
  • myst-parser ^0.18.0 develop
  • pytest ^7.0.0 develop
  • Jinja2 ^3.0.3
  • PyYAML ^6.0
  • Shapely ^1.8.1
  • click ^8.0.0
  • lxml ^4.7.1
  • makefun ^1.13.1
  • matplotlib ^3.5.0
  • numpy ^1.21.4
  • pandas ^1.4.1
  • pluggy ^1.0.0
  • python >=3.9,<3.11
  • scipy ^1.8.0