Skip to main content

FFPACK - Fatigue and Fracture PACKage

GitHub Workflow Status PyPI GitHub Read the Docs Downloads DOI

Purpose

FFPACK ( Fatigue and Fracture PACKage ) is an open-source Python library for fatigue and fracture analysis. It supports ASTM cycle counting, load sequence generation, fatigue damage evaluation, etc. A lot of features are under active development. FFPACK is designed to help engineers analyze fatigue and fracture behavior in engineering practice.

Installation

FFPACK can be installed via PyPI:

pip install ffpack

Usage

The following example shows the usage of ASTM rainflow counting,

# Import the ASTM rainflow counting function
from ffpack.lcc import astmRainflowCounting

# Prepare the data
data = [ -2.0, 1.0, -3.0, 5.0, -1.0, 3.0, -4.0, 4.0, -2.0 ]

# Get counting results
results = astmRainflowCounting( data )

See the package document for more details and examples.

Status

FFPACK is currently under active development.

Contents

  • Fatigue damage model

    • Palmgren-miner damage model
      • Naive Palmgren-miner damage model
      • Classic Palmgren-miner damage model
  • Load counting and correction

    • ASTM counting
      • ASTM level crossing counting
      • ASTM peak counting
      • ASTM simple range counting
      • ASTM range pair counting
      • ASTM rainflow counting
      • ASTM rainflow counting for repeating history
    • Johannesson counting
      • Johannesson min max counting
    • Rychlik counting
      • Rychlik rainflow counting
    • Four point counting
      • Four point rainflow counting
    • Mean stress correction
      • Goodman correction
      • Soderberg correction
      • Gerber correction
  • Load sequence generator

    • Random walk
      • Uniform random walk
    • Autoregressive moving average model
      • Normal autoregressive (AR) model
      • Normal moving average (MA) model
      • Normal ARMA model
      • Normal ARIMA model
    • Sequence from spectrum
      • Spectral representation
  • Load spectra and matrices

    • Cycle counting matrix
      • ASTM simple range counting matrix
      • ASTM range pair counting matrix
      • ASTM rainflow counting matrix
      • ASTM rainflow counting matrix for repeating history
      • Johannesson min max counting matrix
      • Rychlik rainflow counting matrix
      • Four point rainflow counting matrix
    • Wave spectra
      • Jonswap spectrum
      • Pierson Moskowitz spectrum
      • ISSC spectrum
      • Gaussian Swell spectrum
      • Ochi-Hubble spectrum
    • Wind spectra
      • Davenport spectrum with drag coefficient
      • Davenport spectrum with roughness length
      • EC1 spectrum
      • IEC spectrum
      • API spectrum
    • Sequence spectra
      • Periodogram spectrum
      • Welch spectrum
  • Random and probabilistic model

    • Metropolis-Hastings algorithm
      • Metropolis-Hastings sampler
      • Au modified Metropolis-Hastings sampler
    • Nataf algorithm
      • Nataf transformation
  • Risk and reliability model

    • First order second moment
      • Mean value FOSM
    • First order reliability method
      • Hasofer-Lind-Rackwitz-Fiessler FORM
      • Constrained optimization FORM
    • Second order reliability method
      • Breitung SORM
      • Tvedt SORM
      • Hohenbichler and Rackwitz SORM
    • Simulation based reliability method
      • Subset simulation
  • Utility

    • Aggregation
      • Cycle counting aggregation
    • Counting matrix
      • Counting results to counting matrix
    • Derivatives
      • Derivative
      • Central derivative weights
      • Gradient
      • Hessian matrix
    • Digitization
      • Sequence digitization
    • Fitter
      • SN curve fitter
    • Sequence filter
      • Sequence peakValley filter
      • Sequence hysteresis filter

Document

You can find the latest documentation for setting up FFPACK at the Read the Docs site.

Credits

This project was made possible by the help from DM2L lab.

License

GPLv3

Metadata

Release files for ffpack 0.3.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ffpack 0.3.3
File Size Uploaded
ffpack-0.3.3.tar.gz 45.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ffpack 0.3.3
File Interpreter ABI Platform
ffpack-0.3.3-py3-none-any.whl Python 3 none any Details

Total release size: 106.1 kB

Release files / ffpack-0.3.3.tar.gz

Download URL ffpack-0.3.3.tar.gz
Size 45.6 kB
Tags Source
SHA-256 checksum
How to use checksums
bfac76ca4e390dc157c3ffe5714d935facd01bab5b36d7f6d65964948f475ce6
BLAKE2b-256 checksum
How to use checksums
751526a3379e2e8806f0796af6e552f802c80a59f7277690e78d21a96bd619ec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.13

Release files / ffpack-0.3.3-py3-none-any.whl

Download URL ffpack-0.3.3-py3-none-any.whl
Size 60.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e3955cb3f36ac6fb427ba9cd0289d69f1f87405a4f51d36b634a0bc2f99fdc79
BLAKE2b-256 checksum
How to use checksums
f04140c370b82d9e37c84a6aff4d4b72508dcb7f2e1f00bfcf143493cd530277
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.13

Release history Release notifications | RSS feed

This release

0.3.3 This release

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

0.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page