Documentation for the composites module#
High-performance methods for analysis and design of composites.
With the composites module, you are able to calculate:
A, B, D, E, F, H plane-stress stiffness matrices, see Laminate stiffness and plate theories
A, B, D, for classical plate theory (CLT, or CLPT)
A44, A45, A55 for first-order shear deformation theory (FSDT), with the shear correction already applied, by default with the equilibrium approach of Rohwer (1988); also available: Vlachoutsis (1992), Whitney (1973), Chow (1971), Birman and Bert (2002), the thickness-shear frequency of Yang, Norris and Stavsky (1966), and a constant 5/6, see Transverse shear stiffness and shear correction
E, F, H for third-order shear deformation theory (TSDT)
The moments of the density through the thickness used in the mass matrices of the CLPT, FSDT and TSDT, see Thickness integrals for mass matrices
Transverse shear stresses through the thickness, from the shear forces or recovered a posteriori from the strain gradients of an FSDT solution (Noor and Peters, 1989), with the corresponding transverse shear strain energies, see Transverse shear stresses and a posteriori energies
Material invariants, trace-normalized or not, see Ply constitutive relations and invariants
Lamination parameters based on material invariants, their gradients, and double-double and N-double laminates, see Lamination parameters and double-double laminates
Stiffness matrices (ABD) based on lamination parameters
Based on Kassapoglou’s book, local buckling under compression, shear, and post-buckling, see Buckling of rectangular plates (Kassapoglou)
Saving and loading of laminates, plies, materials and lamination parameters in JSON, see Saving and loading (JSON)
composites also runs in the browser with Pyodide, see Running composites in the browser with Pyodide.
Code repository#
Citing this library#
Castro, S. G. P. Methods for analysis and design of composites (Version 0.10.4) [Computer software]. 2026. https://doi.org/10.5281/zenodo.2871782
Bibtex:
@misc{composites2026,
author = {Castro, Saullo G. P.},
doi = {10.5281/zenodo.2871782},
title = {{Methods for analysis and design of composites (Version 0.10.4)}},
year = 2026
}
Theory and conventions#
- Defining a laminate: conventions
- Ply constitutive relations and invariants
- Laminate stiffness and plate theories
- Transverse shear stiffness and shear correction
- Transverse shear stresses and a posteriori energies
- Lamination parameters and double-double laminates
- Thickness integrals for mass matrices
- Buckling of rectangular plates (Kassapoglou)
- Saving and loading (JSON)
Worked examples
Tutorials
- Getting started: plate properties for CLPT, FSDT and TSDT
- Transverse shear stresses through the thickness
- Tutorial: polar plots for laminate stiffness
- Tutorial: discrete-based lightweight optimisation using the ghost layer method
- Tutorial: Lightweight optimisation using a gradient-based lamination parameter approach
- Tutorial: Lightweight optimisation using a gradient-based smeared approach
- Tutorial: Lightweight optimisation using a gradient-based smeared approach
composites API#
- API reference
- composites API (
composites) get_include()- Composites Core Module (
composites.core) GradABDLaminaLaminateLaminationParametersMatLaminalaminate_from_LaminationParameters()laminate_from_lamination_parameters()make_balanced_LP()make_orthotropic_LP()make_symmetric_LP()n_double_laminate()- Composites Core Utils Module (
composites.utils) double_double_laminate()double_double_plate()isotropic_plate()laminated_plate()n_double_laminate()n_double_plate()read_laminaprop()- Saving and loading in JSON (
composites.json_io) from_dict()from_json()load_json()save_json()to_dict()to_json()- Kassapoglou’s methods (
composites.kassapoglou) calc_Nxx_crit()calc_Nxx_crit_combined_shear()calc_Nxx_crit_combined_shear_full()calc_Nxy_crit()calc_beff()
- composites API (
Installing composites#
About the documentation
Changelog
License#
Copyright (c) 2012-2026, Saullo G. P. Castro (S.G.P.Castro@tudelft.nl).
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.