![]() |
OpenSeesPyAssistant 1.1
OpenSeesPy for everyone
|
Class that is the children of SpringBasedElement and combine the class SteelIShape (section) to retrieve the information needed. More...
Public Member Functions | |
def | __init__ (self, int iNode_ID, int jNode_ID, SteelIShape section, int geo_transf_ID, new_mat_ID_i=-1, new_mat_ID_j=-1, N_G=0, L_0=-1, L_b=-1, ele_ID=-1) |
Constructor of the class. More... | |
![]() | |
def | __init__ (self, int iNode_ID, int jNode_ID, A, E, Iy_mod, int geo_transf_ID, mat_ID_i=-1, mat_ID_j=-1, ele_ID=-1) |
Constructor of the class. More... | |
def | CreateMember (self) |
Method that initialises the member by calling the OpenSeesPy commands through various functions. More... | |
def | Record (self, str spring_or_element, str name_txt, str data_dir, force_rec=True, def_rec=True, time_rec=True) |
Implementation of the homonym abstract method. More... | |
def | RecordNodeDef (self, str name_txt, str data_dir, time_rec=True) |
Implementation of the homonym abstract method. More... | |
def | ReInit (self, ele_ID=-1) |
Implementation of the homonym abstract method. More... | |
def | ShowInfo (self, plot=False, block=False) |
Implementation of the homonym abstract method. More... | |
def | UpdateStoredData (self) |
Implementation of the homonym abstract method. More... | |
def | Record (self, ele_ID, str name_txt, str data_dir, force_rec=True, def_rec=True, time_rec=True) |
Abstract method that records the forces, deformation and time of the member associated with the class. More... | |
def | RecordNodeDef (self, int iNode_ID, int jNode_ID, str name_txt, str data_dir, time_rec=True) |
Abstract method that records the deformation and time of the member's nodes associated with the class. More... | |
Public Attributes | |
section | |
section_name_tag | |
![]() | |
A | |
data | |
E | |
ele_orientation | |
element_array | |
element_ID | |
geo_transf_ID | |
Initialized | |
iNode_ID | |
iNode_ID_spring | |
iSpring_ID | |
Iy_mod | |
jNode_ID | |
jNode_ID_spring | |
jSpring_ID | |
mat_ID_i | |
mat_ID_j | |
section_name_tag | |
Class that is the children of SpringBasedElement and combine the class SteelIShape (section) to retrieve the information needed.
If there are two springs and the inflection point not in the middle, use two spring elements, connect them rigidly in the inflection point with one spring each in the extremes. L_b is assumed the same for top and bottom springs.
SpringBasedElement | Parent class. |
Definition at line 891 of file MemberModel.py.
def __init__ | ( | self, | |
int | iNode_ID, | ||
int | jNode_ID, | ||
SteelIShape | section, | ||
int | geo_transf_ID, | ||
new_mat_ID_i = -1 , |
|||
new_mat_ID_j = -1 , |
|||
N_G = 0 , |
|||
L_0 = -1 , |
|||
L_b = -1 , |
|||
ele_ID = -1 |
|||
) |
Constructor of the class.
iNode_ID | (int): ID of the first end node. |
jNode_ID | (int): ID of the second end node. |
section | (SteelIShape): SteelIShape section object. |
geo_transf_ID | (int): A geometric transformation (for more information, see OpenSeesPy documentation). |
new_mat_ID_i | (int, optional): New ID for the definition of the material model for the spring in the node i. If -1 is passed, the class generate no material model and no spring. If 0 is passed, no i spring. Defaults to -1. |
new_mat_ID_j | (int, optional): New ID for the definition of the material model for the spring in the node j. If -1 is passed, the class generate no material model and no spring. If 0 is passed, no j spring. Defaults to -1. |
N_G | (float, optional): Axial load. Defaults to 0. |
L_0 | (float, optional): Distance from the maximal moment to zero. Defaults to -1, e.g. computed in init(). |
L_b | (float, optional): Maximal unbraced lateral buckling length. Defaults to -1, e.g. computed in init(). |
ele_ID | (int, optional): Optional ID of the element. Defaults to -1, e.g. use IDConvention to define it. |
NegativeValue | ID needs to be a positive integer. |
NegativeValue | ID needs to be a positive integer. |
NameError | at least one spring needs to be defined. |
NegativeValue | ID needs to be a positive integer. |
ZeroLength | The two nodes are superimposed. |
Reimplemented from SpringBasedElement.
Definition at line 899 of file MemberModel.py.
section |
Definition at line 923 of file MemberModel.py.
section_name_tag |
Definition at line 958 of file MemberModel.py.