-
Notifications
You must be signed in to change notification settings - Fork 7
Description
ℹ️ General Information
Component Name: LCF uniaxial SWT criterion
Component Location: core/energy_life/damage_params/uniaxial_fatigue_criteria/
Suggested Python Name: SWT
FABER WG Relation: 4.1, 4.7
Brief Description: Smith-Watson-Topper (SWT) damage parameter for mean stress correction in strain-life.
Priority: 8
Technical Complexity: 2
Estimated Effort: 2
Dependencies: -
Implementation Details
📋 Specification
For given stress and strain values representing a single load cycle compute the value of SWT parameter,
Mathematical Formulation
The value of N is found by solving the following non-linear equation using, e.g., the Newton's iterative scheme:
Inputs
- Parameters of the e-N curve in the form of Manson-Coffin and Basquin equation
| Parameter | Symbol | Type | Description | Units | Constraints |
|---|---|---|---|---|---|
| fat_strength_coef | array of floats | Manson-Coffin and Basquin equation fatigue strength coefficient | MPa | ||
| fat_ductility_coef | array of floats | Manson-Coffin and Basquin equation fatigue ductility coefficient | - | ||
| fat_strength_exp | array of floats | Manson-Coffin and Basquin equation fatigue strength exponent | - | ||
| fat_ductility_exp | array of floats | Manson-Coffin and Basquin equation fatigue ductility exponent | - | ||
| elastic_modulus | array of ints | Young's / Elastic modulus | MPa |
- Stress / Strain values
| Parameter | Symbol | Type | Description | Units | Range |
|---|---|---|---|---|---|
| strain_amp | array of floats | strain amplitue | - | ||
| stress_amp | array of floats | stress amplitude | MPa | ||
| mean_stress | array of floats | mean stress | MPa |
Outputs
| Parameter | Type | Description | Units | Range |
|---|---|---|---|---|
| N | array of ints | Estimated repetitions N of a given load cycle to failure | - |
Expected Behavior
🔧 Implementation Guidelines
Function Signature
# Suggested function signature
def function_name():
passCode Structure
Error Handling
✅ Validation & Testing
Test Cases
| Test Case | Inputs | Expected Outputs | Notes |
|---|---|---|---|
| Example 1 |
|
||
| Example 2 |
Validation Criteria
- Mathematical accuracy verified against literature
- Edge cases handled appropriately
- Output format matches specification
📚 References & Resources
- S. Suresh: Fatigue of Materials, Cambridge University Press, 1998
📝 Technical Notes
Performance Considerations
Edge Cases to Handle
Condition