ffpack

Fatigue and fracture package

https://github.com/dpzhux/ffpack

Science Score: 57.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 3 DOI reference(s) in README
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.2%) to scientific vocabulary

Keywords

aerospace-engineering civil-engineering engineering fatigue fracture mechanical-engineering mechanics
Last synced: 6 months ago · JSON representation ·

Repository

Fatigue and fracture package

Basic Info
Statistics
  • Stars: 12
  • Watchers: 1
  • Forks: 1
  • Open Issues: 0
  • Releases: 6
Topics
aerospace-engineering civil-engineering engineering fatigue fracture mechanical-engineering mechanics
Created about 3 years ago · Last pushed almost 3 years ago
Metadata Files
Readme Changelog License Citation

README.md

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:

bash pip install ffpack

Usage

The following example shows the usage of ASTM rainflow counting,

```python

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

Owner

  • Name: Dongping Zhu
  • Login: dpzhuX
  • Kind: user

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- family-names: "Zhu"
  given-names: "Dongping"
- family-names: "Ding"
  given-names: "Zhixia"
- family-names: "Huang"
  given-names: "Xiaogang"
title: "FFPACK - Fatigue and Fracture PACKage"
doi: 10.5281/zenodo.7478424
url: "https://github.com/dpzhuX/ffpack"

GitHub Events

Total
  • Watch event: 3
Last Year
  • Watch event: 3

Committers

Last synced: about 2 years ago

All Time
  • Total Commits: 242
  • Total Committers: 2
  • Avg Commits per committer: 121.0
  • Development Distribution Score (DDS): 0.331
Past Year
  • Commits: 242
  • Committers: 2
  • Avg Commits per committer: 121.0
  • Development Distribution Score (DDS): 0.331
Top Committers
Name Email Commits
Dongping Zhu z****g@h****m 162
Dorothydingzx z****g@o****m 80

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 0
  • Total pull requests: 80
  • Average time to close issues: N/A
  • Average time to close pull requests: about 6 hours
  • Total issue authors: 0
  • Total pull request authors: 2
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 80
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
  • dpzhuX (50)
  • Dorothydingzx (30)
Top Labels
Issue Labels
Pull Request Labels
feature (45) doc (20) bug (12) pipeline (2)

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 302 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 7
  • Total maintainers: 1
pypi.org: ffpack

Fatigue and fracture package

  • Versions: 7
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 302 Last month
Rankings
Dependent packages count: 6.6%
Downloads: 21.9%
Average: 22.6%
Stargazers count: 23.3%
Forks count: 30.5%
Dependent repos count: 30.6%
Maintainers (1)
Last synced: 6 months ago

Dependencies

.github/workflows/python-package.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v3 composite
docs/requirements.txt pypi
  • docutils <0.17
  • ipykernel *
  • myst_parser *
  • nbsphinx *
pyproject.toml pypi
  • python >=3.7,<3.12
  • scipy --- - !ruby/hash:ActiveSupport::HashWithIndifferentAccess version: ">=1.2,<1.8" python: '3.7' - !ruby/hash:ActiveSupport::HashWithIndifferentAccess version: "^1.8" python: ">=3.8,<3.11"