Skip to content

Merge the fatigue capability#7

Merged
reverendbedford merged 4 commits intomainfrom
fatigue
Jun 25, 2025
Merged

Merge the fatigue capability#7
reverendbedford merged 4 commits intomainfrom
fatigue

Conversation

@reverendbedford
Copy link
Contributor

Adds (basic) fatigue analysis to the suite.

@reverendbedford reverendbedford requested a review from Copilot June 25, 2025 15:15

This comment was marked as outdated.

reverendbedford and others added 2 commits June 25, 2025 11:22
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@reverendbedford reverendbedford requested a review from Copilot June 25, 2025 15:26
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces basic fatigue analysis capabilities into the suite by adding new helper functions and classes.

  • Added a helper function, find_nearest_index, to support numerical operations.
  • Implemented fatigue analysis classes (FatigueAnalysis, LumpedTemperatureFatigueAnalysis, DiercksEquation, DiercksFit) to perform temperature-binned fatigue analysis and prediction.
  • Provided a demo example and a corresponding dataset to illustrate the new functionality.

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
pycreep/methods.py Added a helper function that finds the nearest index in a sorted list.
pycreep/fatigue.py Introduced classes for fatigue analysis and prediction using Diercks' method.
examples/fatigue-demo.py Added a demo script to visualize fatigue analysis predictions.
examples/A617-fatigue.csv Included a new dataset for use with the fatigue analysis demo.

@reverendbedford reverendbedford merged commit 80e6599 into main Jun 25, 2025
3 checks passed
@reverendbedford reverendbedford deleted the fatigue branch June 25, 2025 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants