Fatigue & Fracture Matlab GUI Package

vibrationdata_fatigue_fracture (ver 1.5) is a Matlab GUI for fatigue crack growth, damage tolerance, stress-life fatigue, random vibration fatigue, mission synthesis, multiaxial fatigue, rolling contact fatigue, fretting fatigue, ball bearing life, seam weld fatigue and fatigue maps of finite-element models. It covers the kinds of calculations done in commercial codes such as NASGRO and nCode DesignLife, with every equation open to inspection.

New in ver 1.5: a Mission Synthesis tab that combines random, sine dwell and sine sweep environments into one equivalent random test PSD by the fatigue damage spectrum, and checks the test against the extreme response spectrum (after Lalanne, Vol. 5); a Fretting tab for a cylinder on a flat in partial slip (Mindlin-Cattaneo with a bulk stress), giving the stick and slip zones, the slip amplitude, the Ruiz parameter and SWT and Fatemi-Socie life maps under the contact; and SWT and Fatemi-Socie strain-based critical-plane criteria in the Multiaxial tab. Findley and Fatemi-Socie now take the largest normal stress on each plane within each counted cycle rather than over the whole history, which is more realistic for non-proportional loading and gives equal or longer lives than ver 1.3. The earlier whole-history choice is still available. The 11/26/26a update widens the window so that every box on the Mission Synthesis tab is in view.

New in ver 1.4: a Bearing Life tab for ISO 281 radial and thrust ball bearings: basic and modified rating life with the reliability factor and the life modification factor aISO from lubrication and contamination, a duty cycle of load cases, the ball loads, the Hertz contact stress on each race and the static safety factor.

Matlab R2026b is now required. From ver 1.4 the app is built and saved in Matlab R2026b, and the stand-alone version needs MATLAB Runtime R2026b. The R2024a Runtime used by ver 1.3 does not work with it.

+vdfat is the calculation engine of the app, stored as a MATLAB package. The name stands for vibrationdata fatigue. The GUI calls its functions, and they can also be run from scripts.

Download:
vibrationdata_fatigue_fracture_11_26_26a.zip: Matlab source (about 2.5 MB). Unzip into your Matlab folder and run vibrationdata_fatigue_fracture in Matlab R2026b.
vibrationdata_fatigue_fracture_sa_11_26_26a.zip: Stand-alone Windows executable (about 4.7 MB). This version does not need Matlab, but it needs the free MATLAB Runtime R2026b.

Documents: User guide (PDF, 36 pages) and Equations (PDF, 23 pages, English and metric units). Both are also in the zip files.

Worked examples: Fatigue_Fracture_Worked_Examples_revI.pptx (PowerPoint, 53 slides). Twenty-six examples run through the GUI tab by tab, with the inputs, results and screenshots: crack growth for center, surface and edge cracks, stress gradients, a duty cycle, overload retardation by Willenborg, constant closure and the strip-yield model, fitting FNK constants, rainflow counting, crack initiation, Monte Carlo scatter, residual strength, S-N fatigue, six spectral methods, an FDS test PSD, mission synthesis of two flights, a rotor tone and a resonance survey into a one-hour random test, unit-load superposition, multiaxial stress histories, SWT and Fatemi-Socie critical planes, multiaxial random vibration, ball bearing contact fatigue, fretting of a cylinder on a flat, a fatigue map of a plate model, seam weld fatigue along a weld toe, ISO 281 ball bearing life over a duty cycle, and metric units.

The app was developed and tested in Matlab R2026b and uses base Matlab only, with no toolboxes. Both zip files include the user guide, the equations PDF, sample input files for every loader, and small Nastran test decks for the FE Map tab. The source zip also contains the +vdfat package, a library of 51 materials and the test suite.

WHAT IS IN THE APP

An analysis index on the left opens each tab. Inputs and results can be in English (ksi, in) or metric (MPa, mm) units. Save model and Load model store every input, and Report writes an HTML report with the plots.

Crack Growth

  • Material: the Forman-Newman-de Koning (NASGRO) equation with Newman closure, Paris, Walker and tabulated da/dN, and a fit of FNK constants to da/dN test data.
  • Geometry: twelve crack configurations (center, edge, surface and corner cracks, and cracks at open and pin-loaded holes), user beta tables, and stress gradients by weight functions.
  • Loading: constant amplitude, spectrum files, stress PSDs, sine dwell, sine sweep and sine on random, and a duty cycle that combines events. Load interaction by generalized Willenborg, constant closure, or the strip-yield (Newman) crack-closure model, which tracks the plastic wake behind the crack tip and computes the crack-opening stress as the cycles are applied.
  • Run & Results: crack size versus cycles, Kmax versus crack size, the crack-opening stress, and the transition from a part-through to a through crack.

Damage Tolerance: residual strength by LEFM with net-section yield, a failure assessment diagram (R6 / BS 7910 Option 1) and the R-curve, with inspection intervals; Monte Carlo scatter in life; and crack initiation by stress-life, strain-life and weld S-N.

Fatigue

  • S-N Fatigue: Basquin or two-point S-N curves with a knee, Marin factors and six mean stress corrections.
  • Vibration Fatigue: damage from a stress PSD by Dirlik, Zhao-Baker, Tovo-Benasciutti, Lalanne, narrowband and Steinberg three-band methods, with a non-Gaussian (Hermite) correction; the fatigue damage spectrum and extreme response spectrum; a test PSD from an FDS envelope; time compression; and damage from Nastran SOL 111 transfer functions.
  • Mission Synthesis: a life-cycle profile of random, sine dwell and sine sweep events with repeats. The FDS and ERS of each event, the reference FDS summed over the events in series or enveloped, an equivalent random test PSD for a chosen test duration that covers every fatigue exponent, and the test ERS checked against the reference to show where the test under-reaches or over-tests.
  • Superposition: unit-load stresses times load histories for many elements, with critical plane and biaxiality checks.
  • Multiaxial: 3D stress histories by the Findley, normal-stress, SWT and Fatemi-Socie critical-plane methods (the strain-based criteria use the strain-life constants from the Initiation tab), Crossland and Sines endurance checks, and multiaxial random vibration by the von Mises stress PSD and frequency-domain critical plane.
  • Contact: Hertz line contact with traction, spur gears at the pitch point, circular and elliptical point contact, and a ball on the inner or outer race of a bearing. The subsurface stress history at each depth gives the Tresca and orthogonal shear, the Dang Van endurance index and diagram, and an optional Findley life, with residual stress. An EHL film check gives the film thickness and the specific film thickness lambda.
  • Fretting: a cylindrical pad on a flat specimen with a constant normal load, a cyclic tangential load and an in-phase bulk stress. The stick zone shifts and reverses through the cycle; the tab gives the stick and slip zones, the slip amplitude, the surface tractions, the Ruiz parameter to locate the crack site, and SWT and Fatemi-Socie life maps under the contact, with the stress history at the hot spot.
  • Bearing Life: ISO 281 radial and thrust ball bearings, basic and modified rating life L10 and Lnm with the reliability factor a1 and aISO from the viscosity ratio and contamination, a duty cycle of load cases, Stribeck ball loads, the Hertz contact stress on each race and the static safety factor s0.
  • Seam Weld: fatigue at each point along a weld toe under load histories, by the structural stress method (membrane and bending stresses, or shell nodal forces and moments converted by work equivalence) with the master S-N curve, by the IIW hot-spot stress with five extrapolation rules and the thickness correction, or by the IIW effective notch stress (FAT 225).

FE Map: a fatigue map of a finite-element model. The mesh comes from a Nastran bulk data file and the element stresses from Nastran punch files (SOL 101 unit loads or SOL 111 transfer functions) or text tables. Every element, both surfaces of shells, is assessed by the Superposition or multiaxial PSD method, and the damage is drawn on the mesh and exported to CSV and ParaView (VTK).

Tools: rainflow counting (ASTM E1049) with histograms and range-mean matrices, and Nastran punch file import.

VERIFICATION

The package has 169 automated tests. They check closed-form results (Paris life, Newman-Raju, ASTM E1049 rainflow, narrowband damage, R-curve tangency, exact weight-function cases, multiaxial uniaxial, torsion and rotated-stress cases, Hertz contact stresses against the Flamant integral, axis solutions and equilibrium, elliptical contact against its circle and line limits, the Dang Van limits, the strip-yield model against the Dugdale solution and Newman’s closure equations, the weld extrapolation rules and master S-N curve, and the ISO 281 factors), the worked-example lives, the sample files and the GUI itself. Mission synthesis is checked against Lalanne Vol. 5 (the white-noise FDS, eq. 4.9, and Example 4.3) and the sine sweep FDS against a time-domain SDOF response with rainflow counting. The fretting solution is checked against the closed-form stick-zone size and offset, equilibrium of the surface tractions, the friction limit and the stick condition through the cycle. The Dirlik, Zhao-Baker and Tovo-Benasciutti methods were checked against the open-source FLife package. The Nastran punch reader was checked on Simcenter Nastran runs of the included test decks.

LIMITATIONS

The built-in material constants are representative values for demonstration, not design allowables, and no source is recorded for them. The Material tab shows this. Use your own constants, or fit them to test data, and verify the inputs, methods and results independently before using them for design. The strip-yield model is written from Newman’s published model, not a copy of FASTRAN, with an infinite-plate opening stress and a fixed constraint factor. Seam weld stresses are entered as tables from your model; the master S-N constants are taken as published from ASME VIII-2. There are no spot weld or composite fatigue methods. Contact fatigue assumes smooth elastic surfaces with Hertz pressure; point and elliptical contacts are frictionless. Fretting covers a cylinder on a flat of the same material in partial slip with in-phase loading, with no gross slip, wear, plasticity or size-effect correction, and is not yet checked against fretting test data. Mission synthesis uses an SDOF absolute-acceleration basis and treats sweeps as quasi-steady. The FE Map uses element centroid stresses as given. The README in each zip file lists the other limits.

In the stand-alone version, the Export to workspace buttons save .mat files instead, and the +vdfat functions cannot be called from scripts.

The app is free to use and is provided as is, with no warranty. Please send me an email if you have questions or suggestions.

See also the Matlab Engineering GUI Packages Hub.

Tom Irvine

Learn This in a Live Course

S-N curves, fracture, rainflow counting, spectral fatigue and multiaxial fatigue are covered in depth in the Fatigue course. The February 2027 series includes live one-hour classes, IACET CEUs, recorded sessions and slides. See the schedule and fees or register here.

Leave a Comment