Composite Laminate Stress GUI

composite_laminate_stress_a is a Matlab GUI for the stress analysis of composite laminates by Classical Lamination Theory. Enter the ply properties, the lay-up and the applied loads, and the app gives the laminate stiffness matrices, the mid-plane strains and curvatures, the stress in every ply, and five ply failure criteria with the first-ply failure load.

New in ver 1.7 (11/26/26): the LaRC05 failure criterion from NASA Langley: matrix cracking on the fracture plane with friction, fiber kinking and splitting from the fiber misalignment, optional in-situ strengths for thin plies, and an option to use LaRC05 in the progressive ply failure. Ver 1.7 needs MATLAB R2026b, or the MATLAB Runtime R2026b for the stand-alone version.

New in ver 1.6 (11/25/26): the Puck failure criterion, with the fiber and inter-fibre failure modes A, B and C and the fracture-plane angle, and an option to use Puck in the progressive ply failure. The window is wider so that every table column shows in full. Thanks to the reader who suggested Puck.

New in ver 1.5 (11/23/26): a Fatigue & Fracture tab with thermal residual stress, progressive ply failure, open-hole strength, free-edge delamination onset, ply fatigue for constant amplitude, random and block spectrum loads, and a damage-tolerance strain check.

Download:
composite_laminate_stress_11_26_26.zip: Matlab source (about 0.4 MB), for Matlab R2026b or later. Unzip into one folder and run composite_laminate_stress_a in Matlab.
composite_laminate_stress_sa_11_26_26.zip: Stand-alone Windows executable (about 1.1 MB). This version does not need Matlab, but it needs the free MATLAB Runtime R2026b.

Worked examples: composite_laminate_stress_a_worked_examples_revD.pptx (PowerPoint, 26 slides). Six examples run through the GUI and checked against independent hand calculations: a [0/90]s cross-ply under Nx, quasi-isotropic moduli, Tsai-Wu failure of a 30° ply, a [0/90]s laminate in bending, the Puck mode C fracture of a 75° ply in compression, with its fracture angle, and LaRC05 fiber kinking of a 0° ply in compression with shear, where 5 ksi of shear lowers the failure load by a third compared with Puck. The examples cover the stress analysis tabs, not yet the Fatigue & Fracture tab.

Ver 1.7 was developed and tested in Matlab R2026b and needs R2026b or later. It uses base Matlab only, with no toolboxes. The source zip contains the app, the calculation functions clt_laminate_analysis.m, clt_fatigue_fracture.m, clt_puck_2d.m and clt_larc05.m, and the equations PDF.

INPUTS

The Enter Data tab holds the inputs, in English or metric units:

  • Lamina properties, entered directly (E1, E2, G12, ν12) or calculated by the Rule of Mixtures from the fiber and matrix moduli, Poisson ratios and the fiber volume fraction.
  • Lay-up: the angle and thickness of each ply, with ply 1 at the bottom. A Mirror button makes the lay-up symmetric.
  • Ply strengths: longitudinal and transverse tension and compression, in-plane shear, the transverse shear strength used by the Hashin criterion, the Puck inclination parameters p⊥∥(+) and p⊥∥(−), and the LaRC05 inputs: the fracture angle in transverse compression α0 (53°), in-situ strengths on or off, and the toughnesses GIc and GIIc used for the in-situ strengths.
  • Applied loads per unit width: the in-plane forces Nx, Ny, Nxy and the moments Mx, My, Mxy.

The defaults are a typical carbon/epoxy in an eight-ply [0/45/−45/90]s lay-up, as example values.

RESULTS

Press Calculate and the Results tab opens with:

  • The reduced stiffness matrix Q, and the laminate A, B and D matrices.
  • Whether the laminate is symmetric and balanced, and its effective in-plane and flexural properties.
  • The mid-plane strains and curvatures.
  • A ply table with the stresses σ1, σ2, τ12 in the lamina axes at the bottom and top of every ply.
  • The Tsai-Hill, Tsai-Wu and Hashin-Rotem failure indices for every ply, with the Hashin failure mode and the Tsai-Wu strength ratio.
  • The Puck stress exposure for every ply, with the mode (fiber tension or compression, or inter-fibre mode A, B or C) and, for mode C, the fracture-plane angle. Mode C is an oblique crack whose wedge effect can drive delamination, and the results flag it.
  • The LaRC05 failure index for every ply, with the mode (fiber tension, fiber kinking, fiber splitting, or matrix cracking with the fracture-plane angle). Fiber kinking includes the effect of shear on compressive strength through the fiber misalignment. With in-situ strengths on, thin embedded plies get the higher transverse and shear strengths measured in laminates.
  • The maximum index for each criterion, with its ply, and the first-ply failure load factor by Tsai-Wu, Puck and LaRC05: the multiple of the applied loads at which the first ply fails.
FATIGUE & FRACTURE

The Fatigue & Fracture tab holds the inputs for these checks, and Calculate shows the results on the F&F Results tab. The applied loads on the Enter Data tab are the maximum static loads.

  • Thermal residual stress from the lamina expansion coefficients and the temperature change from the stress-free (cure) state. It is added as a static stress in the checks below, and the first-ply failure load factor is given with and without it.
  • Progressive ply failure by the ply-discount method, with either Tsai-Wu onset and the Hashin-Rotem mode, or Puck or LaRC05 for both onset and mode, deciding whether the matrix or the whole ply is discounted. The table lists each failure, and the results give the first-ply, first-fiber (ultimate) and last-ply load factors.
  • Open-hole strength by the Whitney-Nuismer point-stress and average-stress criteria, with the orthotropic stress concentration factor and a finite-width correction, in tension (OHT) and compression (OHC). The unnotched strength is the first fiber failure, or the collapse load for a laminate with no fibers near the load direction.
  • Free-edge delamination onset by O’Brien’s strain energy release rate for the chosen interfaces, compared with Gc, with the onset strain and a G-N onset life.
  • Ply fatigue by the Hashin-Rotem fiber and matrix fatigue criteria, with a linear constant-life diagram for mean stress and Miner’s rule. The cyclic load can be constant amplitude (load ratio R), narrowband random (applied loads = 1-sigma, Rayleigh peaks) or a block spectrum.
  • Damage-tolerance strain check: the laminate surface strains against open-hole and compression-after-impact (BVID) strain allowables with an environmental knockdown, as margins of safety.

Plot Notched Strength & Laminate S-N plots the notched/unnotched strength ratio against hole diameter and the laminate S-N curve for the fiber and matrix modes. The default S-N slopes, toughness, characteristic distances and strain allowables are illustrative. Use test values for your material.

HOW THE APP WORKS
  • Plot Through-Thickness Stress plots σx, σy, τxy and σ1, σ2, τ12 through the laminate thickness, with the ply interfaces marked.
  • Export Inputs & Results to Excel writes one workbook with the inputs and lay-up, the laminate matrices and results, and the ply-by-ply stresses, strains and failure indices (including Puck and LaRC05), plus two sheets with the fatigue and fracture inputs and results and the ply-by-ply residual stress and fatigue damage.
  • Save Ply Results to Workspace saves the ply table and the full results to the Matlab workspace (Matlab version only).
  • Equations opens a PDF with the equations for both unit systems.
  • Changing any input clears the results, so the results shown always match the inputs.
  • The app can also be opened from the vibrationdata GUI.
SOURCE

The equations follow T. Irvine, Composite Material Stress, Chapters 8, 9 and 24: lamina stiffness, Classical Lamination Theory and the Tsai-Hill, Tsai-Wu and Hashin-Rotem failure criteria, in plane stress. The default material properties and strengths are illustrative. Use the values for your own material where they are known.

The Puck criterion follows A. Puck and H. Schürmann, Composites Science and Technology 62 (2002) 1633, in its plane-stress form. The default inclination parameters (0.35 and 0.30) are typical guideline values for carbon/epoxy.

The LaRC05 criterion follows S.T. Pinho et al., Composites Part A 43 (2012) 1293, and NASA/TM-2005-213530 (LaRC04), in plane stress with linear shear. The in-situ strengths follow P.P. Camanho et al., Composites Part A 37 (2006) 165.

The fatigue and fracture methods follow Whitney and Nuismer, J. Composite Materials 8 (1974) 253; O’Brien, ASTM STP 775 (1982); Hashin and Rotem, J. Composite Materials 7 (1973) 448; and the damage-tolerance approach of CMH-17-3G Vol. 3 and FAA AC 20-107B.

The app is also part of the Vibrationdata Matlab Signal Analysis & Structural Dynamics Package. Please send me an email if you have questions or suggestions.

See also: Composite Stress ebook

Tom Irvine

More stand-alone Matlab GUIs: Matlab Engineering GUI Packages Hub

Learn This in a Live Course

Random and block spectrum fatigue, mean stress corrections and Miner’s rule, as used in this GUI’s ply fatigue checks, are covered 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