Matlab Functions

The software consists of a library of MATLAB functions that students can use to develop programs for lamina and laminate analysis. Each function is paired with a MATLAB test file that demonstrates its use, and a usage document is provided to clearly explain the function’s purpose, inputs, and outputs. This software originated as a community class project created by students in the Fall 2012 and Fall 2013 Composites elective course at USF, and was finalized by Daniel Boston, Trey Moore, and Autar Kaw.

Chapter 2 – Macromechanical Analysis of a Lamina

Transformation Matrices T and T-Inverse [MATLAB] [TEST] [USAGE]

Q and S Matrices for Unidirectional Lamina [MATLAB] [TEST] [USAGE]

Qbar and Sbar Matrices for Angle Lamina [MATLAB] [TEST] [USAGE]

Local to Global Stresses [MATLAB] [TEST] [USAGE]

Global to Local Stresses [MATLAB] [TEST] [USAGE]

Local to Global Strains [MATLAB] [TEST] [USAGE]

Global to Local Strains [MATLAB] [TEST] [USAGE]

Principal Stresses [MATLAB] [TEST] [USAGE]

Principal Strains [MATLAB] [TEST] [USAGE]

Illustrating Transformation of Stresses [MATLAB]

Elastic Moduli of Angle Lamina [MATLAB] [TEST] [USAGE]

Maximum Stress Failure Theory [MATLAB] [TEST] [USAGE]

Maximum Strain Failure Theory [MATLAB] [TEST] [USAGE]

Tsai-Hill Failure Theory [MATLAB] [TEST] [USAGE]

Tsai-Wu Failure Theory [MATLAB] [TEST] [USAGE]

Thermal Expansion Coefficients for an Angle Lamina [MATLAB] [TEST] [USAGE]

Moisture Expansion Coefficients for an Angle Lamina [MATLAB] [TEST] [USAGE]

All test and usage files for this chapter [ZIP]


Chapter 3 – Macromechanical Analysis of a Laminate

Density of a Composite [MATLAB] [TEST] [USAGE]

Fiber Volume to Weight Fraction [MATLAB] [TEST] [USAGE]

Weight Fraction to Volume Fraction [MATLAB] [TEST] [USAGE]

Elastic Moduli of a Composite – Mechanics of Materials Approach [MATLAB] [TEST] [USAGE]

Elastic Moduli of a Composite – Halpin Approach [MATLAB] [TEST] [USAGE]

Elastic Moduli of a Composite – Elasticity Approach [MATLAB] [TEST] [USAGE]

Coefficients of Thermal Expansion for Angle Lamina [MATLAB] [TEST] [USAGE]

Coefficients of Moisture Expansion for Angle Lamina [MATLAB] [TEST] [USAGE]”
All test and usage files for this chapter [ZIP]


Chapter 4 – Classical Laminate Theory for Angle-Ply Laminates

ABD Stiffness Matrices [MATLAB] [TEST] [USAGE]

Compliance Matrices Normalized Also [MATLAB] [TEST] [USAGE]

Mid-plane Strains [MATLAB] [TEST] [USAGE]

Fictitious Thermal Loads [MATLAB] [TEST] [USAGE]

Stiffness Lamina Matrices for Laminate [MATLAB] [TEST] [USAGE]

Laminate Moduli [MATLAB] [TEST] [USAGE]

Global Strains from Mid-plane Strains [MATLAB] [TEST] [USAGE]

Local Strains from Global Strains [MATLAB] [TEST] [USAGE]

Global Stresses from Global Strains [MATLAB] [TEST] [USAGE]

Local Stresses from Global Stresses [MATLAB] [TEST] [USAGE]

All test and usage files for this chapter [ZIP]