Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Kathy Pippert <[email protected]>
  • Loading branch information
janvonrickenbach and PipKat authored Jan 5, 2024
1 parent 32ae716 commit 5f541bc
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions examples/012_fatigue_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,11 @@
A random load time series is created. Taking into account that the load is assumed
proportional, rainflow counting is applied to the load time series.
Load ranges are then applied on the stress combination method and damage is evaluated
Load ranges are then applied on the stress combination method, and damage is evaluated
by using a dummy S-N curve.
Be aware that the fatpack package is not developed by Ansys, so it is the responsibility
of the user to verify that it works as expected. For further details:
https://pypi.org/project/fatpack/
of the user to verify that it works as expected. For more information, see the `fatback package <https://pypi.org/project/fatpack/>`_,
"""

Expand Down Expand Up @@ -76,7 +75,7 @@
# Load time series and apply rainflow counting
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# A random time series is created. Load is assumed proportional, so rainflow counting
# can be directly done on load time series, to get load ranges.
# can be directly done on the load time series to get the load ranges.
# No mean stress correction is applied.
#
load_factor_time_series = np.random.normal(-1, 2.5, size=100)
Expand Down

0 comments on commit 5f541bc

Please sign in to comment.