Skip to content

ANN functions to calculate some mechanical properties of unidirectional composites

Notifications You must be signed in to change notification settings

giobrol/ANN_functions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

doi

doi

Description

This project aims to provide functions created to calculate some mechanical properties of unidirectional composites. These functions were created using artificial neural networks (ANN) based on data collected from the literature. For more details see the following articles:

https://doi.org/10.1016/j.jmrt.2023.01.195 (Yt)

https://doi.org/10.1016/j.compositesb.2019.107171 (G12 and Xt)

https://doi.org/10.1016/j.compositesb.2011.04.042 (E2)

The highlighted properties are: longitudinal shear modulus (G12), ultimate longitudinal tensile strength (Xt), transverse elastic modulus (E2) and the ultimate transverse tensile strength (Yt).

How to use

The functions follow a common principle of usage, where the input data needs to be provided, varying according to each property. As an example, let's consider the function that calculates the value of G12. This function requires three input values: volumetric fraction of fiber (Vf), shear modulus of fiber (Gf) and shear modulus of matrix (Gm).

Let's consider a laminate with a volumetric fraction of fibers of 0.6, made of glass fibers (Gf = 35 GPa), and with an epoxy resin (Gm = 2 GPa). To display the results, you can use either Python or MATLAB:

In Python, you can use the following code:

from your_module import G12_M_ANN

Vf = 0.6
Gf = 35
Gm = 2

G12 = G12_M_ANN(0.6, 35, 2)
print(f"G12 = {G12:.2f}")

In MATLAB, you can use the following code:

Vf = 0.6
Gf = 35
Gm = 2

[G12, ~] = G12_M_ANN(0.6, 35, 2)
fprintf("G12 = %.2f\n", G12);

Both codes will yield the same result:

G12 = 7.29

The value obtained, 7.29 GPa, represents the G12 value of the unidirectional composite, measured in gigapascals (GPa).