HomeArticlesRainflow Counting Tool
Articles

Rainflow Counting Tool

Automation Tools
  SDC Verifier

Last updated: 23 Apr 2026

Most fatigue verification workflows do not fail on theory. They fail in the handoff between results and verification.

You run the FEA model, extract stress histories, export data, process cycles in a separate tool, then try to carry the results back into the fatigue check. That adds time, extra validation work, and plenty of room for mistakes.

The Rainflow Counting Tool in SDC Verifier removes that detour. It extracts fatigue cycles directly from variable-amplitude stress histories and keeps the results inside the same verification workflow as the model, the standards, and the checks.

This article explains what the tool does, how the counting workflow is structured, and how the results are used in fatigue verification.

Why a Rainflow Counting Tool Is Needed

Fatigue damage depends mainly on three things:

  • stress range
  • mean stress
  • number of cycles

Mean stress also matters because each counted cycle can carry a different mean value, and that directly affects fatigue assessment. In variable-amplitude loading, a reliable cycle-counting workflow must preserve not only the range and count of cycles, but also the mean stress associated with each cycle.

Under constant-amplitude loading, these are easy to define. Real structures almost never work that way.

Cranes, offshore equipment, railway structures, wind turbines, and heavy machinery operate under irregular load histories. Stress values rise and fall unpredictably across many time steps or load events. Before these histories can be used in fatigue verification, they must be reduced to counted cycles.

That is the role of rainflow counting.

A typical workflow looks like this:

  1. obtain a stress-time history from measurement data or FEA
  2. extract cycles from the history
  3. use those cycles in fatigue damage calculations based on S–N data and the selected standard

Without cycle counting, the raw history is not directly usable for fatigue life assessment.

Rainflow Counting in SDC Verifier

The Rainflow Counting Tool processes stress histories and converts them into fatigue cycles defined by:

  • stress range
  • mean stress
  • cycle count

The tool has been available in SDC Verifier since version 2021 R2 and is opened from:

Tools → Main → Rainflow Counting

SDC Verifier Rainflow Counting Tool interface showing settings, half-cycle data, residue graph, and rainflow matrix

The Rainflow Counting Tool interface in SDC Verifier, showing the calculation settings, result tables, half-cycle data, residue graph, and rainflow matrix in one workspace.

Because the tool works inside the same environment as the model and the verification setup, the rainflow results can be used directly in fatigue workflows without exporting data to external scripts or spreadsheets.

Typical Engineering Workflow

In practice, the tool is used after structural results are already available.

Step 1 — Run the structural analysis

Perform the analysis in a supported solver such as Ansys, Femap, or Simcenter 3D. This produces stress results for the selected load history, time steps, or load cases.

Step 2 — Define the stress history

Select the relevant Load Group and the result category to be processed. At this stage, the history that will be used for rainflow counting is defined.

Step 3 — Apply rainflow counting

The tool preprocesses the signal, extracts cycles using the selected method, and generates the corresponding outputs such as the rainflow matrix, half-cycle data, or residual stress history.

Step 4 — Use the results in fatigue verification

The counted cycles can then be used directly in custom checks or in fatigue verification workflows aligned with the selected standard.

How the Tool Processes the Stress History

The rainflow workflow in SDC Verifier consists of four main steps.

1. Peak–Valley Filtering

The first step removes intermediate data points between successive peaks and valleys. Only the local minima and maxima relevant for fatigue counting are kept.

SDC Verifier Rainflow Counting Tool showing initial and peak-valley filtered stress history

Peak–valley filtering in SDC Verifier: the initial stress history is reduced to turning points by removing intermediate values that do not affect fatigue cycle counting.

This produces a turning-point sequence that preserves the damage-relevant shape of the stress history while eliminating data that does not affect cycle counting.

2. Hysteresis Filtering

After peak–valley filtering, the tool removes very small stress ranges that have negligible influence on fatigue damage.

SDC Verifier Rainflow Counting Tool showing peak-valley filtered and hysteresis-filtered stress history

Hysteresis filtering in SDC Verifier: small stress ranges are removed from the peak–valley filtered history so negligible fluctuations do not distort fatigue cycle counting.

The hysteresis gate can be defined in two ways:

  • as a percentage of the maximum stress range
  • as an absolute stress value

This helps suppress numerical noise and prevents insignificant micro-cycles from inflating the count.

3. Discretization (Binning)

The filtered history is then mapped to a fixed number of bins. Each stress value is moved to the center of the corresponding bin.

SDC Verifier Rainflow Counting Tool showing hysteresis-filtered and binned stress history

Discretization (binning) in SDC Verifier: the hysteresis-filtered stress history is mapped to bin centers so cycle counting can be performed on a consistent set of stress levels.

This makes the cycle-counting process consistent and produces a manageable output matrix. In practice, more bins improve resolution, while fewer bins reduce calculation time.

4. Cycle Counting

After preprocessing, the tool applies the selected counting method and generates the cycle data used in the next stages of fatigue verification.

Counting Methods Available

The tool supports two counting methods.

Four-Point Method

This is the standard software-style implementation used in many fatigue workflows.

The algorithm evaluates each set of four points (A), (B), (C), and (D) in the binned history and checks whether the inner range is bounded by the outer range.

Step-by-step four-point rainflow cycle evaluation in the SDC Verifier Rainflow Counting Tool

Four-point counting in SDC Verifier: the binned turning-point sequence is evaluated in successive groups, and inner points are removed when they form a closed cycle.

When that condition is met, a closed cycle is counted and stored.

Residue graph and rainflow matrix output from the Four-Point Method in the SDC Verifier Rainflow Counting Tool

Four-point method output in SDC Verifier: closed cycles are stored in the rainflow matrix, while the remaining unclosed turning points are shown in the residue graph.

The four-point method produces:

  • a Rainflow Matrix
  • a Residual Stress graph showing unclosed cycles

Residual stress history after four-point rainflow counting in the SDC Verifier Rainflow Counting Tool

Residual output in SDC Verifier: after closed cycles are extracted by the four-point method, the remaining unclosed turning points are stored as the residual stress history.

This is the method most users will choose when they want matrix-based output and direct use in fatigue checks.

Half-Cycle Method

The half-cycle method, also known as the Pagoda Roof method, traces the flow path from peaks and valleys and counts half-cycles first. Matching ranges are then combined in the results.

SDC Verifier Rainflow Counting Tool showing upper and lower half-cycle paths on the binned stress history

Half-cycle counting in SDC Verifier: the binned stress history is traced in upper and lower directions to identify half-cycles before they are accumulated in the results.

The direction of counting can be set as:

  • Valley-to-Peak (Left-to-Right)
  • Peak-to-Valley (Right-to-Left)
  • Both

The output is a Half Cycle Data table with counted stress ranges and their accumulated occurrences.

Half-cycle results aggregated into the Half Cycle Data table in the SDC Verifier Rainflow Counting Tool

Half-cycle results in SDC Verifier: individual upper and lower half-cycles are counted as 0.5 and then accumulated by stress range in the Half Cycle Data table.

Main Configuration Options

The tool interface is built around a few practical settings.

Load Group

Defines the load-time history used for calculations.

Category

Defines which result type will be used for rainflow counting, such as stress or another selected result category.

Load History

Specifies the stress history used in the calculations. When a Load Group is selected, the corresponding history is applied automatically.

Hysteresis Gate Percent

Ignores stress ranges smaller than or equal to the selected percentage of the maximum stress range.

Actual Hysteresis Gate

Ignores stress ranges smaller than or equal to a fixed stress value.

Number of Bins

Defines the bin resolution used during discretization. More bins increase accuracy and matrix resolution, but also increase processing time.

Half Cycle Calculation

Defines whether half-cycle counting is performed Left-to-Right, Right-to-Left, or in both directions.

LG Parameter

Used when one Load Group contains another Load Group. The tool can use the Minimum, Maximum, or Absolute Maximum result in those calculations.

Selection

Allows the user to limit the calculation to the relevant part of the model using the standard selector controls.

Rainflow Matrix Output

For the four-point method, the main output is the Rainflow Matrix.

This matrix stores cycles using two coordinates:

  • From stress
  • To stress

Each matrix cell contains the number of cycles that occur between those two stress levels.

This representation is useful because it preserves both cycle range and cycle mean. Large cycles, small repeated cycles, and dominant loading patterns become visible immediately in the matrix.

That distinction matters because two cycles with the same range may still have different fatigue impact if their mean stresses differ. The matrix therefore captures more than just amplitude distribution; it preserves the information needed for realistic fatigue damage evaluation.

The tool also stores the residual stress history, which represents unclosed excursions that remain after closed cycles are extracted.

Variables Available for Checks

Rainflow results are stored as named system variables. These are available directly in Custom Checks and in standard-based fatigue workflows inside SDC Verifier, which means you can write verification logic against the actual cycle data without any intermediate export step.

Rainflow Summation Check in SDC Verifier using rainflow variables in a custom fatigue formula

Custom Rainflow Summation Check in SDC Verifier: named rainflow variables are used directly in the fatigue formula, so cycle data can feed verification logic without external scripts or manual transfer.

Because the cycle data remains inside the same model environment, the engineer does not need to manually transfer stress ranges, mean stresses, or cycle counts into a separate verification tool.

These include:

  • Rainflow.From — start value of the calculated range
  • Rainflow.To — end value of the calculated range
  • Rainflow.Range — calculated stress range
  • Rainflow.Cycles — number of repeated cycles
  • Rainflow.Min — minimum of From and To
  • Rainflow.Max — maximum of From and To
  • Rainflow.Abs — absolute maximum of From and To

These variables can be used directly in Custom Checks and in custom fatigue summation logic.

Using Rainflow Results in Fatigue Verification

The counted cycles are not the final result. They are the input to fatigue verification.

In SDC Verifier, rainflow results can be used in workflows aligned with standards such as:

This is especially relevant in heavy lifting, crane, and related structural applications where variable-amplitude fatigue is part of the design check.

Because the counting is performed inside the same environment as the model and the verification logic, the workflow stays consistent from stress history to counted cycles to fatigue result.

In many standards, rainflow counting is not always named as an explicit mandatory method, but proper cycle counting under variable-amplitude loading is required in practice. That is why ASTM E1049 remains the core methodological reference for compliant implementation.

Example: Crane Structure Fatigue Assessment

Consider a crane structure under variable operational loading.

A dynamic analysis is performed in the solver. Stress histories are extracted from critical weld locations and grouped in the relevant Load Group. The Rainflow Counting Tool is then applied to that history.

The tool filters the signal, bins it, and counts cycles using either the four-point or half-cycle method. The resulting ranges and cycle counts are then used in the fatigue evaluation, for example through the relevant standard-based workflow or through a custom rainflow summation check.

Instead of moving results through external tools, the engineer keeps the full sequence inside one model environment.

Why an Integrated Workflow Matters

When rainflow counting is handled outside the verification environment, the usual costs are obvious:

  • export and reformatting work
  • separate scripts or spreadsheets to maintain
  • manual transfer of cycle results into fatigue checks
  • extra effort to keep the workflow traceable
SDC Verifier External tool (MATLAB / Python) Manual (Excel)
Integrated with FEA results ❌ Export required ❌ Export required
ASTM E1049 compliant Depends on library ❌ Impractical
Feeds fatigue standard checks directly ❌ Manual re-import ❌ Manual re-import
Traceable in one model
Supports EN 13001, EC3, DIN 15018 natively

An integrated rainflow workflow does not make the engineering easier in the sense of lowering rigor. It makes the workflow cleaner by keeping the counting logic, variables, and fatigue checks connected to the same model.

That is the main value of the tool.

Summary

The Rainflow Counting Tool in SDC Verifier extracts fatigue cycles from variable-amplitude stress histories and keeps the results inside the same verification workflow as the model and the checks.

It supports both four-point and half-cycle counting, includes preprocessing steps such as peak–valley filtering, hysteresis filtering, and binning, and provides outputs that can be used directly in fatigue verification.

For engineers working with irregular loading histories, the main advantage is simple: cycle counting, fatigue variables, and verification logic stay connected to the same model instead of being split across multiple tools.

Frequently Asked Questions

Can I apply the tool to only part of the model?

Yes. The Selection block lets you define which elements or nodes are included.

How are residual half-cycles handled?

The residual is displayed separately and stored alongside the rainflow results. These unclosed excursions can then be considered in the chosen fatigue workflow.

How many bins should I use?

That depends on the required balance between accuracy and speed. More bins give better amplitude resolution, especially for steep S–N curves, but also increase processing time.

Can I define a custom fatigue formula?

Yes. The rainflow variables can be used in Custom Checks, including custom summation logic.

Which solvers are supported?

The tool is used directly in SDC Verifier, or within SDC Verifier workflows connected to Ansys, Femap, and Simcenter 3D.

Can the tool be used with hotspot stress-based fatigue assessment?

Yes. In workflows where hotspot stress is used for weld fatigue assessment, rainflow counting can still be applied to the resulting histories. This makes the tool relevant not only for nominal-stress workflows, but also for more detailed weld verification approaches.

Join our newsletter

    What would you like to know more about SDC Verifier?
    Loading