Skip to content

Commit ff8f4dc

Browse files
authored
Added modules docstrings based on ComponentList.xlsx (#48)
* Added modules docstrings based on ComponentList.xlsx * Modified material laws docstrings
1 parent e99d803 commit ff8f4dc

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+199
-20
lines changed
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
"""Damage cumulation module.
22
3-
This module contains the classes and functions for damage cumulation methods.
3+
The module implements various fatigue damage accumulation rules used to estimate the
4+
total damage under variable amplitude loading. They include both classical linear
5+
models, such as Palmgren–Miner’s rule, and more advanced non-linear approaches that
6+
account for load sequence effects, mean stress influence, and material-specific
7+
behavior for improved fatigue life prediction.
48
"""
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Decompositions module.
22
3-
This module contains the classes and functions for decomposition methods.
3+
Methods for breaking down complex load signals to cycles.
4+
Contains both the uniaxial and the multiaxial procedures.
45
"""
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
"""Multiaxial decompositions methods.
2+
3+
These routines provide tools for decomposing multiaxial stress and strain states into
4+
their individual components, such as normal and shear parts, principal values, and
5+
others. They are essential for analyzing complex loading conditions, enabling accurate
6+
evaluation of material behavior under multiaxial fatigue.
7+
"""
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
"""Load Path Analysis 5D methods of multiaxial decompositions.
2+
3+
These methods compute the amplitude (J_2,a) and mean (J_2,m) values of the second
4+
invariant of the deviatoric stress tensor in five-dimensional deviatoric space. This
5+
evaluation is particularly useful in advanced multiaxial fatigue models, where accurate
6+
representation of cyclic loading paths and stress states in the deviatoric space is
7+
critical for predicting material response.
8+
"""
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
"""Shear Path Analysis 2D methods of multiaxial decompositions.
2+
3+
These methods are designed to evaluate the mean shear stress and shear stress amplitude
4+
acting on a specified material plane, typically used in multiaxial fatigue analysis. By
5+
projecting the stress tensor onto the plane of interest, they provide key parameters
6+
for assessing crack initiation risks and fatigue life under complex loading paths.
7+
"""
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
"""Uniaxial decompositions methods.
2+
3+
Implements algorithms designed to decompose one-dimensional signals into individual load
4+
cycles, enabling detailed analysis of variable amplitude loading. By identifying turning
5+
points and extracting cycles based on established criteria (e.g., rainflow counting),
6+
they facilitate fatigue analysis, damage assessment, and other time-domain signal
7+
evaluations.
8+
"""
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""Energy-based fatigue life analysis methods.
22
3-
This package provides implementations of energy-based approaches for
4-
fatigue life prediction and analysis.
3+
Fatigue analysis methods based on the relationship between the strain energy
4+
(usually strain energy density) and number of cycles to failure.
55
"""
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"""Correction methods for the energy-life."""
1+
"""Correction methods for the energy-life approach."""
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Plane-based methods module.
22
3-
This module contains the classes and functions for plane-based methods.
3+
Methods for processing stress tensor path on a material plane. Provides basic
4+
infrastructure for prediction methods based on critical-plane and integral approaches.
45
"""
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
"""Plane Search methods.
2+
3+
Algorithms to identify a subset of potentially critical planes for further detailed
4+
analysis and processing by critical-plane and integral methods.
5+
"""

0 commit comments

Comments
 (0)