Professional Documents
Culture Documents
com/AndreasMartin72/rainflow
Fast rainflow counting written in C (C99). Including wrappers for MATLAB and Python
BSD-2-Clause License
11 stars 4 forks
Star Notifications
1 de 8 09/01/2022 8:11
GitHub - AndreasMartin72/rainflow: Fast rainflow counting written in ... https://github.com/AndreasMartin72/rainflow
master Go to file
View code
README.md
2 de 8 09/01/2022 8:11
GitHub - AndreasMartin72/rainflow: Fast rainflow counting written in ... https://github.com/AndreasMartin72/rainflow
3 de 8 09/01/2022 8:11
GitHub - AndreasMartin72/rainflow: Fast rainflow counting written in ... https://github.com/AndreasMartin72/rainflow
4 de 8 09/01/2022 8:11
GitHub - AndreasMartin72/rainflow: Fast rainflow counting written in ... https://github.com/AndreasMartin72/rainflow
Releases 3
Rainflow Counting Algorithm (4-point-methods), C99
rfcnt-0.2.0 Latest
oncompliant
29 Nov 2021
+ 2 releases
"Rainflow Counting" consists of four main steps:
1. Hysteresis Filtering
Packages
2. Peak-Valley Filtering
No packages published
3. Discretization
C 83.4% * D
/ \ Closed, if min(B,C) >= min(A,D) &&
max(B,C) <= max(A,D)
B *<--/ Slope B-C is counted and removed from
residue
/ \ /
/ * C
\ /
* A
5 de 8 09/01/2022 8:11
GitHub - AndreasMartin72/rainflow: Fast rainflow counting written in ... https://github.com/AndreasMartin72/rainflow
compile time:
RFC_MINIMAL : To use core functions for rainflow counting only (for porting to
µControllers for example).
RFC_TP_SUPPORT : Turning point storage.
RFC_HCM_SUPPORT : HCM algorithm (Clormann/Seeger).
RFC_ASTM_SUPPORT : ASTM E 1049 (2011) algorithm.
RFC_AT_SUPPORT : User defined amplitude transformation (Haigh diagram).
RFC_DH_SUPPORT : Damage history storage.
RFC_USE_DELEGATES : Delegates for various core functions to implement user
defined behavior.
RFC_GLOBAL_EXTREMA : Store global data extrema.
RFC_DAMAGE_FAST : Using lookup tables for damage and amplitude
transformation.
RFC_EXPORT_MEX : Export a mexFunction() to use the rainflow counting in
MATLAB (R).
Using COAN [[http://coan2.sourceforge.net/]] for example, you can tidy up the
code from unwanted features. (The minimal version of this package is created
using COAN with option RFC_MINMAL set.)
b) C++ wrapper rainflow.hpp encapsulates functions from rainflow.h in a
namespace and offers a template class Rainflow for object oriented access and
inheritance. This class also offers container class based turning point storage.
2. Streamable: You're able to count your data at once, as data packages or sample-
wise.
3. Class width fit to your needs. Dynamically increase class width, when needed.
(Needs turning point storage.)
4. Four point counting method, optionally HCM counting method
(Clormann/Seeger).
5. Woehler curve with up to two slopes, fatigue limit and omission.
6. Miners rule for damage accumulation (elementary, original, modified and
consequent).
7. In-time damage indicator (Miners' consequent rule).
8. In-time histograms: rainflow matrix, level crossing and range pair counting.
9. Turning points with hysteresis filtering. Turning points involved in a closed
hysteresis are marked as pairs, with its partial assigned damage. (Compact
history)
10. Look-up tables for damage calculation and amplitude transformation.
11. Amplitude transformation (Haigh diagram) according to FKM (symmetrical, non-
symmetrical or user defined).
12. Damage history (uncompressed)
13. Various methods on residual data:
6 de 8 09/01/2022 8:11
GitHub - AndreasMartin72/rainflow: Fast rainflow counting written in ... https://github.com/AndreasMartin72/rainflow
References:
7 de 8 09/01/2022 8:11
GitHub - AndreasMartin72/rainflow: Fast rainflow counting written in ... https://github.com/AndreasMartin72/rainflow
8 de 8 09/01/2022 8:11