diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..5dd3d1b --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,3 @@ +1.2.0 + +- Added separated classes of beam, shell properties, inherited from MaterialSection diff --git a/ms/beam2.py b/ms/beam2.py new file mode 100644 index 0000000..0007eaf --- /dev/null +++ b/ms/beam2.py @@ -0,0 +1,15 @@ +import numpy as np +import msgpi.sg as sg + + +class Beam(object): + """[summary] + + Parameters + ---------- + object : [type] + [description] + """ + + def __init(self): + self.name = '' diff --git a/sg.py b/sg.py index 51f8691..01275a0 100644 --- a/sg.py +++ b/sg.py @@ -344,6 +344,66 @@ def offsetBeamRefCenter(self, offset_x2, offset_x3): +class BeamProperty(MaterialSection): + """A beam property class (smdim = 1) + + Parameters + ---------- + MaterialSection : [type] + [description] + + label : str + Label of the property that will be returned. + + Mass + + * msijo - Entry (i, j) of the 6x6 mass matrix at the origin + * msijc - Entry (i, j) of the 6x6 mass matrix at the mass center + * mpl - Mass per unit length + * mmoi1/mmoi2/mmoi3 - Mass moment of inertia about x1/x2/x3 axis + + Stiffness + + * stfijc - Entry (i, j) of the 4x4 classical stiffness matrix + * stfijr - Entry (i, j) of the 6x6 refined stiffness matrix + * eac/ear - Axial stiffness of the classical/refined model + * gjc/gjr - Torsional stiffness of the classical/refined model + * ei2c/eifc/ei2r/eifr - Bending stiffness around x2 (flapwise) of the classical/refined model + * ei3c/eicc/ei3r/eicr - Bending stiffness around x3 (chordwise or lead-lag) of the classical/refined model + + Compliance + + * cmpijc - Entry (i, j) of the 4x4 classical compliance matrix + * cmpijr - Entry (i, j) of the 6x6 refined compliance matrix + + Centers + + * mcy/mc2 - y (or x2) component of the mass center + * mcz/mc3 - z (or x3) component of the mass center + * tcy/tc2 - y (or x2) component of the tension center + * tcz/tc3 - z (or x3) component of the tension center + * scy/sc2 - y (or x2) component of the shear center + * scz/sc3 - z (or x3) component of the shear center + + Returns + ------- + [type] + [description] + """ + + def __init__(self): + #: list of floats: (beam model) Neutral axes/Tension center. [x1, x2, x3] + self.tension_center = None + #: list of floats: (beam model) Elastic axis/Shear center. [x1, x2, x3] + self.shear_center = None + + + + + + + + class StructureGene(object): """ A finite element level structure gene model in the theory of MSG.