N2PProperty#
N2PComp#
- class NaxToPy.Core.Classes.N2PProperty.N2PComp(information, model_father)[source]#
Bases:
N2PProperty
Class for defining compound properties. It derives from N2PProperty.
- property ABDMatrix: tuple[ndarray, ndarray, ndarray]#
Calculate extensional (A), coupling (B), and bending (D) stiffness matrices
Returns A, B, C (numpy 2D arrays) of the laminate
- property AllowShear: float#
- property DampCoef: float#
- property EqBenProps: tuple[float, float, float, float]#
Calculate the Equivalent Bending Properties of the laminate using D matrix
- Returns:
A tuple containing (Ex, Ey, nu, G).
Ex: Equivalent Bending modulus in the x-direction.
Ey: Equivalent Bending modulus in the y-direction.
nu: Equivalent Bending Poisson’s ratio.
G: Equivalent Bending shear modulus.
- Return type:
tuple[float, float, float, float]
Example
>>> pcomp: n2p.AllClasses.N2PComp = model.PropertyDict((20001, "0")) >>> Ex, Ey, nu, G = pcomp.EqBenProps()
- property EqMemProps: tuple[float, float, float, float]#
Calculate the Equivalent Membrane Properties of the laminate using A matrix.
- Returns:
A tuple containing (Ex, Ey, nu, G).
Ex: Equivalent Membrane modulus in the x-direction.
Ey: Equivalent Membrane modulus in the y-direction.
nu: Equivalent Membrane Poisson’s ratio.
G: Equivalent Membrane shear modulus.
- Return type:
tuple[float, float, float, float]
Example
>>> pcomp: n2p.AllClasses.N2PComp = model.PropertyDict((10001, "0")) >>> Ex, Ey, nu, G = pcomp.EqMemProps()
- property EqQBenMatrix: list#
Returns the lamina bending stiffness matrix. It is calculated from the D matrix.
- property EqQMatrix: list#
Returns the lamina membrane stiffness matrix (Q-Bar)
- property FailTh: str#
- property ID: int#
- property InternalID: int#
- property IsSymetric: bool#
- property MatID: tuple[tuple[int, str]]#
- property NSM: float#
- property Name: str#
- property NumPiles: int#
- property PartID: int#
- property Plies: list[tuple]#
(MatID, Thickness, Theta, SOut)
- Type:
It returns a list of tuple. A tuple for a ply. Plies have four data
- property PropertyType: str#
- QMatrix(i) ndarray [source]#
Returns the lamina stiffness matrix (Q-Bar) as a numpy 2D array | σx | | ε | | σy | = [Q]*| ε | | τxy| | γ/2 |
- property SOut: tuple[bool]#
- property Theta: tuple[float]#
- property Thickness: tuple[float]#