fatigue-analysis

Specialized skill for fatigue life assessment and durability prediction under cyclic loading conditions

509 stars

Best use case

fatigue-analysis is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Specialized skill for fatigue life assessment and durability prediction under cyclic loading conditions

Teams using fatigue-analysis should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/fatigue-analysis/SKILL.md --create-dirs "https://raw.githubusercontent.com/a5c-ai/babysitter/main/library/specializations/domains/science/mechanical-engineering/skills/fatigue-analysis/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/fatigue-analysis/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How fatigue-analysis Compares

Feature / Agentfatigue-analysisStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Specialized skill for fatigue life assessment and durability prediction under cyclic loading conditions

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Fatigue Life Prediction Skill

## Purpose

The Fatigue Life Prediction skill provides specialized capabilities for assessing fatigue life and durability under cyclic loading conditions, enabling systematic evaluation of component life using stress-life, strain-life, and fracture mechanics approaches.

## Capabilities

- Stress-life (S-N) curve application and analysis
- Strain-life (epsilon-N) methodology implementation
- Fracture mechanics crack growth prediction (NASGRO, AFGROW)
- Load spectrum development and cycle counting (rainflow)
- Damage accumulation using Miner's rule
- Mean stress correction methods (Goodman, Gerber, Soderberg)
- Multiaxial fatigue assessment
- Fatigue report generation with life predictions

## Usage Guidelines

### Fatigue Analysis Approaches

#### Stress-Life Method (S-N)

1. **Application**
   - High-cycle fatigue (N > 10^4 cycles)
   - Elastic stress conditions
   - Rotating machinery, vibration loading

2. **S-N Curve Development**
   ```
   S = A * N^b

   Where:
   S = stress amplitude
   N = cycles to failure
   A, b = material constants
   ```

3. **Endurance Limit Modifiers**
   ```
   Se = Se' * ka * kb * kc * kd * ke * kf

   Where:
   ka = surface factor
   kb = size factor
   kc = load factor
   kd = temperature factor
   ke = reliability factor
   kf = miscellaneous effects
   ```

#### Strain-Life Method (epsilon-N)

1. **Application**
   - Low-cycle fatigue (N < 10^4 cycles)
   - Plastic strain present
   - Notched components

2. **Coffin-Manson Equation**
   ```
   epsilon_a = (sigma_f'/E) * (2Nf)^b + epsilon_f' * (2Nf)^c

   Where:
   epsilon_a = strain amplitude
   sigma_f' = fatigue strength coefficient
   b = fatigue strength exponent
   epsilon_f' = fatigue ductility coefficient
   c = fatigue ductility exponent
   ```

3. **Neuber's Rule for Notches**
   ```
   (Kt * S)^2 / E = sigma * epsilon
   ```

#### Fracture Mechanics

1. **Application**
   - Damage tolerance analysis
   - Crack growth life prediction
   - Inspection interval determination

2. **Paris Law**
   ```
   da/dN = C * (delta_K)^m

   Where:
   da/dN = crack growth rate
   delta_K = stress intensity factor range
   C, m = material constants
   ```

3. **Stress Intensity Factor**
   ```
   K = beta * S * sqrt(pi * a)

   Where:
   beta = geometry factor
   S = remote stress
   a = crack length
   ```

### Load Spectrum Development

1. **Rainflow Cycle Counting**
   - Extract cycles from complex load history
   - Identify cycle ranges and means
   - Generate cycle count matrix

2. **Damage Summation**
   ```
   D = sum(ni/Ni)

   Failure when D >= 1.0
   ```

3. **Load Sequence Effects**
   - Consider overload retardation
   - Evaluate block loading effects
   - Apply appropriate interaction models

### Mean Stress Corrections

| Method | Equation | Application |
|--------|----------|-------------|
| Goodman | Sa/Se + Sm/Su = 1 | Conservative, most common |
| Gerber | Sa/Se + (Sm/Su)^2 = 1 | Less conservative |
| Soderberg | Sa/Se + Sm/Sy = 1 | Very conservative |
| Morrow | Sa/Se + Sm/sigma_f' = 1 | Strain-life approach |

## Process Integration

- ME-008: Fatigue Life Prediction

## Input Schema

```json
{
  "component": "string",
  "material": {
    "name": "string",
    "Su": "number (Pa)",
    "Sy": "number (Pa)",
    "Se_prime": "number (Pa)",
    "sigma_f_prime": "number (Pa)",
    "epsilon_f_prime": "number",
    "b": "number",
    "c": "number"
  },
  "loading": {
    "type": "constant_amplitude|spectrum",
    "stress_amplitude": "number (Pa)",
    "mean_stress": "number (Pa)",
    "spectrum_file": "string (if spectrum)"
  },
  "geometry": {
    "Kt": "number (stress concentration)",
    "surface_finish": "string",
    "size": "number (mm)"
  },
  "target_life": "number (cycles)",
  "reliability": "number (0-1)"
}
```

## Output Schema

```json
{
  "fatigue_life": {
    "predicted_cycles": "number",
    "safety_factor": "number",
    "critical_location": "string"
  },
  "damage_summary": {
    "total_damage": "number",
    "damage_by_range": "array"
  },
  "analysis_details": {
    "method_used": "string",
    "mean_stress_correction": "string",
    "modifying_factors": "object"
  },
  "recommendations": {
    "design_changes": "array",
    "inspection_interval": "number (if applicable)"
  }
}
```

## Best Practices

1. Use appropriate method for expected life regime (HCF vs LCF)
2. Include all relevant modifying factors
3. Account for mean stress effects
4. Validate material properties from tested data
5. Consider multiaxial stress states for complex loading
6. Apply appropriate safety factors per industry standards

## Integration Points

- Connects with FEA Structural for stress inputs
- Feeds into Test Planning for validation requirements
- Supports Material Selection for fatigue-resistant materials
- Integrates with Design Review for life certification

Related Skills

heatmap-analysis

509
from a5c-ai/babysitter

Analyze user interaction heatmaps for attention patterns and click behavior

static-analysis-runner

509
from a5c-ai/babysitter

Run static analysis tools including SonarQube, ESLint, and multi-language linters

Static Analysis Tools Skill

509
from a5c-ai/babysitter

Integration with security-focused static analysis tools

Smart Contract Analysis Skill

509
from a5c-ai/babysitter

Ethereum and blockchain smart contract security analysis

Network Protocol Analysis Skill

509
from a5c-ai/babysitter

Network protocol capture, analysis, and fuzzing capabilities

Code Coverage Analysis

509
from a5c-ai/babysitter

Multi-language code coverage analysis, reporting, and quality gate enforcement

memlab-analysis

509
from a5c-ai/babysitter

Expert skill for JavaScript memory leak detection using Facebook MemLab. Configure MemLab scenarios, execute memory leak detection runs, analyze heap snapshots, identify detached DOM elements, find event listener leaks, and integrate with CI pipelines.

gpu-memory-analysis

509
from a5c-ai/babysitter

Specialized skill for GPU memory hierarchy analysis and optimization. Analyze memory access patterns, detect bank conflicts, optimize cache utilization, profile global memory bandwidth, and generate optimized memory access code patterns.

power-analysis

509
from a5c-ai/babysitter

FPGA power estimation and optimization skill for low-power design

cdc-analysis

509
from a5c-ai/babysitter

Specialized skill for clock domain crossing analysis and synchronizer design in FPGA designs

misra-c-analysis

509
from a5c-ai/babysitter

MISRA C compliance checking and static analysis integration

memory-analysis

509
from a5c-ai/babysitter

Embedded memory analysis, optimization, and leak detection