This package intends to perform composite material calculations
Project description
Composipy
What it is
Composipy is a Python-based library designed to address the challenges of composite plate analysis and optimization in the aerospace industry, where weight reduction is crucial for efficient and profitable aircraft design. The library offers tools for plate buckling analysis and lamination parameter optimization, empowering engineers to streamline the design process and enhance structural performance. Utilizing object-oriented programming and native Python structures, Composipy ensures a seamless workflow and easy integration into existing engineering practices. Through continuous integration and delivery practices, Composipy maintains reliability and efficiency.
Composipy is able to perform buckling calculation considering different boundary conditions and in-plane load applications. See Examples.
How to install
Directly From PYPI
pip install composipy
Built from source
python setup.py install
Documentation
Quick start
Create the Material Properties.
from composipy import OrthotropicMaterial
E1 = 60800
E2 = 58250
v12 = 0.07
G12 = 4550
t = 0.21
mat_1 = OrthotropicMaterial(E1, E2, v12, G12, t)
See OrthotropicMaterial for reference.
Define the Laminate.
from composipy import LaminateProperty
stacking = [-45, 45, 90, 0, 0, 0, 0, 90, 45, -45]
laminate1 = LaminateProperty(stacking, mat_1)
See LaminateProperty for reference.
Calculate Stiffnnes Matrix and Lamination Parameters
print(laminate1.ABD) # prints the ABD matrix as a np.ndarray
print(laminate1.xiA) # prints lamination parameters of extension as a np.ndarray
print(laminate1.xiD) # prints lamination parameters of bending as a np.ndarray
Create a Plate Structure.
from composipy import PlateStructure
constraints = {
'x0' : ['TX', 'TY', 'TZ', 'RX', 'RY', 'RZ'],
'xa' : ['TX', 'TY', 'TZ', 'RX', 'RY', 'RZ'],
'y0' : ['TX', 'TY', 'TZ', 'RX', 'RY', 'RZ'],
'yb' : ['TX', 'TY', 'TZ', 'RX', 'RY', 'RZ']
}
panel = PlateStructure(laminate1, 360, 360, m=10, n=10, Nxx=-1, constraints=constraints)
See PlateStructure for reference.
Calculate Buckling
print(panel.buckling_analysis()) # solve the eigenvalue problem.
Plot Buckling shape mode
print(panel.plot_eigenvalue())
Theoretical References
The implementation of composipy is based on the following reference:
- SILVA, Rafael Pereira da. Composite Plate optimization combining semi-analytical model, Lamination Parameters and a Gradient-Based Optimizer. 2023. 82f. Dissertation of Master of Science – Instituto Tecnológico de Aeronáutica, São José dos Campos.
- rafaelpsilva07. (2024). rafaelpsilva07/rafaelmscdissertation: v1.0.0 (1.0.0). Zenodo. https://doi.org/10.5281/zenodo.10546621
- Application repository: https://github.com/rafaelpsilva07/rafaelmscdissertation
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file composipy-1.3.tar.gz
.
File metadata
- Download URL: composipy-1.3.tar.gz
- Upload date:
- Size: 281.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c69b8aa5885f16c0d51d30a93ed689264031f3fc3191bb03072ca34fe937879 |
|
MD5 | 12a269f5d13d297a1b5ad5da9db1c8bd |
|
BLAKE2b-256 | dfcee7ac447ecc4eceaf0099a2ec5976d87ffc661c88a976149ac29c5cc595b7 |
File details
Details for the file composipy-1.3-py3-none-any.whl
.
File metadata
- Download URL: composipy-1.3-py3-none-any.whl
- Upload date:
- Size: 283.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f393ab2cf2172ef805d7003ddeadb192c11c14462477d1d68d2a2321b6b8492b |
|
MD5 | dc084487fc408fd700a00f1b8d372b2e |
|
BLAKE2b-256 | 1ef9d081689dff3741d696477ecb393ec4937cf891ae1003a7114edea19fdb18 |