DNV-RP-C203¶
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.
For a cycle crossing zero stress, the compression-relief factor and corrected range are
The implementation caps \(f_m\) at one and uses one for fully tensile cycles.
For detail factor \(f=0.8\), it floors the result at 0.8. For \(f=0.6\),
values below 0.6 are set to zero. For a wholly compressive cycle these
branches give 0.8 and zero, respectively. Select the factor for the detail
and residual-stress conditions specified by your applicable edition.
The API selector is "DNVGL-RP-C203".
DNV-RP-C203.
For \(A>0\), the factor used after evaluating the formula above is
Here \(f_{\rm raw}=(M+A+f|M-A|)/(M+A+|M-A|)\). For a wholly compressive nonzero cycle the numerator can give a factor below the detail factor. Select the permitted factor from the relevant detail and residual-stress conditions. Apply the resulting range with the S–N data for that detail.
At 60 MPa input amplitude, both curves reach 120 MPa when the cycle is fully tensile. The compressive branch separates the detail factors.
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("DNVGL-RP-C203", detail_factor=0.8)
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()
Compare the change in range as the cycles enter compression.
The notebook applies the corrections to a combined spectrum and compares the resulting Miner damage and equivalent loads.