PyRoll rolling simulation framework - core library.
Project description
PyRoll Rolling Simulation Framework
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.
Versions
The main branch of this repository contains the code of the version 2.0 of PyRolL, which is under ongoing development and currently in beta state. See the backport branch for the code of version 1.0. Version 1.0 will be out of support, as version 2.0 is released. Consider to start development targeting version 2.0 as soon as possible. The API of version 2.0 is mostly fixed, but there may be minor but breaking changes until release.
Documentation
See the documentation to learn about basic concepts and usage. The documentation of version 1.0 can be found here.
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
andProfile.core_temperature
may be of interests to many plugins. The core provides fallbacks which just returnself.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 thepyroll-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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pyroll_core-2.0.0b1.post2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef37209dc8b782227b536453b0e05460f6abd8a115c0a67a80dd8e64a8b6a42d |
|
MD5 | 5305a03a505f88dc1ba25b02c3f697d7 |
|
BLAKE2b-256 | a0a46b29d9e9c80ea6fcd076a1b14f47e1bed5e1ff84176f0b9490f87637679b |
Hashes for pyroll_core-2.0.0b1.post2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d8be49ef24973712dc274aeed42cf0aeadcb803c053a5dff67e65c5ecc82256 |
|
MD5 | 1e8b93524d3804d18cea8f2b714dc587 |
|
BLAKE2b-256 | 6880572a76072a38ba297ee0326743d2cee576a529e80f2beb199907c6fcf8b9 |