Skip to content

Walker

For each cycle use the mean stress \(M\) and stress amplitude \(A=\Delta\sigma/2\). The extrema are \(\sigma_{\max}=M+A\) and \(\sigma_{\min}=M-A\). The load ratio is \(R=(M-A)/(M+A)\) when \(M+A\ne0\). For \(R\ne1\), \(M=A(1+R)/(1-R)\). Use the same stress units for all inputs.

Walker combines the maximum stress with the amplitude using a fitted mean-stress sensitivity \(\gamma\). For tensile maxima, the implemented equivalent ordinate is

\[ S_\mathrm{W}=\sigma_\max^{1-\gamma}\sigma_a^\gamma . \]

Use data at multiple stress ratios to establish \(\gamma\). The package's "Walker" selector stores this ordinate in stress_range. Compare the reference convention and units of the material fit before using the result with an S–N curve. Fractional powers of negative maxima fall outside the real-valued expression. The implementation replaces NaN results with zero. Walker, ASTM STP 462.

Mean stress API.

At fixed \(A\) and \(\sigma_{\max}>0\), substitution gives

\[ S_{\mathrm W}=A\left(\frac{2}{1-R}\right)^{1-\gamma}. \]

Thus at \(R=-1\) the equivalent ordinate equals \(A\). With \(\gamma=1\) it depends on amplitude alone. With \(\gamma=0\) it equals the maximum stress. For an intermediate fitted exponent, increasing tensile mean stress at fixed amplitude increases the ordinate. Fit \(\gamma\) to material data before using the result in a life calculation.

Walker at fixed input amplitude

Each curve uses the same 60 MPa amplitude. They meet at zero mean stress, and the lower exponent gives greater sensitivity to tensile mean stress.

Worked example

These four rows represent 50 cycles in an already resolved spectrum. The example uses MPa for ranges, means, and strength.

import matplotlib.pyplot as plt
import numpy as np
from py_fatigue import CycleCount

spectrum = CycleCount(
    count_cycle=np.array([10.0, 20.0, 10.0, 10.0]),
    stress_range=np.array([30.0, 60.0, 50.0, 60.0]),
    mean_stress=np.array([-10.0, -10.0, 30.0, 65.0]),
    lffd_solved=True,
)
corrected = spectrum.mean_stress_correction("Walker", gamma=0.35)
fig, ax = plt.subplots()
ax.scatter(spectrum.mean_stress, spectrum.stress_range, label="Original")
ax.scatter(corrected.mean_stress, corrected.stress_range, label="Corrected")
ax.set(xlabel="Mean stress (MPa)", ylabel="Stress ordinate (MPa)")
ax.legend()

The plotted ordinate is the Walker equivalent stress stored as the corrected range.

The notebook applies the corrections to a combined spectrum and compares the resulting Miner damage and equivalent loads.