Chapter 16: Fatigue Analysis of a Simple Shaft Under Combined Bending and Torsion

In this tutorial, you will perform a fatigue analysis of a simple shaft under combined bending and torsion using the Mechanical DesignLife Add-on. The example uses linear stresses from two load steps in a Mechanical simulation, and combines them with two measured non-proportional load histories.

Analysis TypeFatigue
Features DemonstratedDesignLife Add-on, DesignLife system, analysis settings for fatigue calculation, inputs and loading conditions
Licenses RequiredAnsys Mechanical Enterprise PrepPost and Ansys nCode Premium/Enterprise
Help ResourcesDesignLife Add-on
Tutorial FilesFatigueShaft.zip

16.1. Access Data Files

Data files for this tutorial can be found here on the Ansys customer site.

The files you need are:

  • sae_shaft_1_Addon.wbpz - this is the input model that you will set up during the steps defined below. Copy this file to a working folder and complete the worked example using the copy.

  • sae_shaft_1_Addon_completed.wbpz - this is an example of the completed model once all the steps have been followed.

16.2. Configure the DesignLife Add-on

  1. Start Workbench, and select File > Open.

  2. Browse to the working folder and select sae_shaft_1_Addon.wbpz.

  3. This Workbench project contains the Static Structural system.

  4. Double click the Results cell to open Mechanical.

  5. To make the DesignLife capabilities available, click the DesignLife icon in the Add-ons ribbon.

    The icon is highlighted in blue, indicating that the add-on is loaded.

    Once the add-on is loaded, the Ansys nCode DesignLife ribbon is visible, exposing all the DesignLife capabilities.

16.3. Static Structural Model

The model consists of a single part, named Solid.

  1. Expand the geometry list, select the Solid part, and verify in the Details window for Solid that the Material Assignment is Carbon Steel SAE1045_450_QT.


    Note:  Carbon Steel SAE1045_450_QT is available as part of the ncode material library. This can be found in the Ansys nCode DesignLife installation under GlyphWorks\mats\nCode_matml.xml.


  2. The model contains a single analysis with two load steps. The left end of the shaft is fully fixed, and the right end has two loads defined. The first load is a force applied in the global Y direction, with a magnitude of 1 N at time 1 s, and a magnitude of 0 N at time 2 s.

  3. The resulting Equivalent Stress (von Mises) state is displayed, and shows a classic bending stress distribution concentrated around the shoulder radius of the shaft.

  4. The second load is a torque applied in the global X direction, with a magnitude of 0 Nmm at time 1 s, and a magnitude of 1000 Nmm at time 2 s.

    The resulting stress state from the torque loading is shown below.

    The structural analysis is completed and has stress results available for DesignLife.

16.4. Insert a DesignLife system

  1. From the DesignLife toolbar, select DesignLife Analysis to insert a new DesignLife analysis directly from Mechanical.

  2. Click the DesignLife Analysis icon and verify that the nCode DesignLife (C5) object is inserted into Mechanical.

  3. If you return to the Project schematic in Workbench, the system is also visible connected to the Static Structural system. The Mechanical Embedded DesignLife system is incorporated into the schematic, sharing Engineering Data, Geometry and Model cells with the Mechanical system.

16.5. Set Up the DesignLife Analysis for Fatigue Calculation

For this example, you will perform a fatigue calculation using Time Series loading. The Analysis Domain defaults to the Time based option when the DesignLife system is connected to a Static Structural system.

  1. Set the Analysis Type to Stress Life. The main objects required for a DesignLife analysis are then generated automatically. These are the Solution Group, Load Mapper and Materials objects.

  1. Defining inputs and loading conditions

    The Solution Group defines the portion of the geometry that will be calculated for the fatigue analysis. By default, all bodies are selected. In this case, there is only one geometry, so there is no need to modify the setting.

    The fatigue loads can be either Constant Amplitude, Time Step or Time Series for the Time based domain.

    1. Select the Load Mapper and click the Add button under Add Loading Event. This adds the first Loading Event.


      Note:  Loading Events in the Time based Analysis Domain can include multiple loadings of the same type. The Time Series loading reads a time series data file from disk.


      If any of the time series test list are schedules, or any files have a Repeat Count other than 1, then a Repeat Count is written to the metadata for each test output. Repeat counts can also be added to each test set to define a schedule.

    2. Define the loading events

      Loading Event 1

      Set the Repeat Count to 1000 and set the following options for the Time Series Load in Loading Event 1:

      1. Environment: This selects the system from which the .rst file, which will be picked for the nCode fatigue analysis. Select the Static Structural environment so that the results of the static system system are picked.

      2. Define By: The loading can be defined by time or step. In this case, pick the loading corresponding to 1.0 s in the Static Structural system.

      3. Scale Factor: All the coefficients set in the input time series are multiplied by this factor. Set it to 8000.

      4. Static: You will not include static offset loading.

      5. Input File Definition: When importing a time series file you have two ways of defining how the imported files are stored. If you want the file to be local to your machine, load it with the Input File Definition set to an Absolute Path. If you want the file to be contained within the project, load it as a Relative Path. For this scenario, use Absolute Path.

      6. Input File: Load the smallhistory.dat from the input files.

      Loading Event 2

      Set the Repeat Count to 5000 and set the following options for the Time Series Load in Loading Event 2:

      1. Environment: Select the Static Structural environment.

      2. Define By: The loading can be defined by time or step. In this case, pick the loading corresponding to 2.0 s in the Static Structural system.

      3. Scale Factor: Set to 2000.

      4. Static: You will not include static offset loading.

      5. Input File Definition: Set to Absolute Path.

      6. Input File: Load the smallhistory2.dat from the input files.

16.6. Solve and Review the Results

  1. Right-click the Solution (C6) object in the project tree and select Solve.

    While solving, selecting Solution Information will show the solver's progress and display errors as they are encountered.

  2. The fatigue results may be viewed as either life or damage. You can add a result by selecting the DesignLife toolbar with Solution active in the tree. Alternatively, right-click the Solution (C6) object and insert the following results:

    • Select Insert > Life and scope to Loading Event 1

    • Select Insert > Damage

    • Select Insert > Life and scope to Loading Event 2

    • Select Insert > Life

  3. Right-click the Solution (C6) object in the project tree and evaluate all the results (see below).

Life Result for Loading Event 1

Damage Results for all Loading Events

Life Result for Loading Event 2

Life Results for all Loading Events

You have completed the fatigue analysis and accomplished the overall objective for this tutorial.

Congratulations! You have completed the tutorial.