N2PSandwich Module#

class NaxToPy.Modules.static.composite.sandwich.N2PSandwich.N2PSandwichFailure[source]#

Bases: object

Class to calculate sandwich structures failure modes Examples: >>> sandwich = N2PSandwichFailure() >>> sandwich.Model = model >>> sandwich.FailureMode = ‘Wrinkling’ >>> sandwich.FailureTheory = ‘HyperSizer’ >>> sandwich.LoadCases = n2ploadcases >>> sandwich.ElementList = n2pelems >>> sandwich.CoreType = ‘Honeycomb’ >>> sandwich.Parameters[‘K1’] = 0.8 >>> sandwich.HDF5.FilePath = r”file output” >>> sandwich.calculate()

calculate()[source]#
property AllowableDisplacement: float#

Property that returns allowable displacement

property BagAngle: float#

Property that returns the local angle between bag side and tool side (in degrees)

property CellSize: float#

Property that returns the cell size

property CoreType: str#

Property that returns the type of core

property ElementList: list[N2PElement]#

Property that returns the list of N2PElement

property FailureMode: str#

Property that returns the failure mode

property FailureTheory: str#

Property that returns the failure theory

property HDF5: HDF5_NaxTo#

Property which returns the HDF5 attribute which contains all the necessary info to create it

property LaminateCriteria: float#

Property that returns failure criteria for laminate

property LoadCases: list[N2PLoadCase]#

Property that returns the list of N2PLoadCase

property Materials: dict[tuple[int, str], Orthotropic]#

Returns the dictionary with all the materials in the elements selected

property Model: N2PModelContent#

Property that returns the N2PModelContent object

property Parameters: float#

Property that returns parameters for each failure mode

property RampRadius: float#

Property that returns the ramp radius

property SandwichDict: dict#

Property that returns the dict mapping each element with its corresponding Sandwich class