Skip to main content

Vibration Fatigue by Spectral Methods.

Project description

FLife - Vibration Fatigue by Spectral Methods

Obtaining vibration fatigue life in the spectral domain.

Installing this package

Use pip to install it by:

$ pip install FLife

Supported methods in the frequency-domain

  • Dirlik,

  • Tovo Benasciutti,

  • Zhao Baker,

  • Narrowband,

  • Alpha 0.75,

  • Wirsching Light,

  • Rice,

  • Gao Moan,

  • Petrucci Zuccarello.

Rainflow (time-domain) is supported using the fatpack package.

Simple examples

Here is a simple example on how to use the code:

import FLife
import numpy as np


dt = 1e-4
x = np.random.normal(scale=100, size=10000)

C = 1.8e+22  # S-N curve intercept [MPa**k]
k = 7.3 # S-N curve inverse slope [/]

# Spectral data
sd = FLife.SpectralData(input=x, dt=dt)

# Rainflow reference fatigue life
# (do not be confused here, spectral data object also holds the time domain data)
rf = FLife.Rainflow(sd)

# Spectral methods
dirlik = FLife.Dirlik(sd)
tb = FLife.TovoBenasciutti(sd)
print(f'          Rainflow: {rf.get_life(C = C, k=k):4.0f} s')
print(f'            Dirlik: {dirlik.get_life(C = C, k=k):4.0f} s')
print(f'Tovo Benasciutti 2: {tb.get_life(C = C, k=k, method="method 2"):4.0f} s')

Reference: Janko Slavič, Matjaž Mršnik, Martin Česnik, Jaka Javh, Miha Boltežar. Vibration Fatigue by Spectral Methods, From Structural Dynamics to Fatigue Damage – Theory and Experiments, ISBN: 9780128221907, Elsevier, 1st September 2020, see Elsevier page.

Build Status

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

FLife-1.1.tar.gz (12.6 kB view details)

Uploaded Source

Built Distribution

FLife-1.1-py3-none-any.whl (21.8 kB view details)

Uploaded Python 3

File details

Details for the file FLife-1.1.tar.gz.

File metadata

  • Download URL: FLife-1.1.tar.gz
  • Upload date:
  • Size: 12.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

File hashes

Hashes for FLife-1.1.tar.gz
Algorithm Hash digest
SHA256 0cac446132b08406bd77403e6498dd17b6225d0f21ea34f7ad441214adad7ddd
MD5 6559b11b4f90c7c8e0722d6d2e2d6478
BLAKE2b-256 5df3cb875c10dd51372c3493dff01f9a1e5b3f8bf30b6ff69192d9aed0780c02

See more details on using hashes here.

File details

Details for the file FLife-1.1-py3-none-any.whl.

File metadata

  • Download URL: FLife-1.1-py3-none-any.whl
  • Upload date:
  • Size: 21.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

File hashes

Hashes for FLife-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 67c7bc1c07d3d8ea8333c085ba7381100d6f9a7b7b620b7c28e29bbb266abe77
MD5 e6a9b5609f6c7ce5b9fef029cb629416
BLAKE2b-256 4b50dfc2260306be06bdd8af5891ec22e88db2a8c7c5dcd809d2c6bf941bb4a6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page