![]() |
OpenSeesPyAssistant 1.1
OpenSeesPy for everyone
|
Class that handles the storage and manipulation of a spring-based element's information (mechanical and geometrical parameters, etc) and the initialisation in the model. More...
Public Member Functions | |
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... | |
Class that handles the storage and manipulation of a spring-based element's information (mechanical and geometrical parameters, etc) and the initialisation in the model.
MemberModel | Parent abstract class. |
Definition at line 659 of file MemberModel.py.
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.
iNode_ID | (int): ID of the first end node. |
jNode_ID | (int): ID of the second end node. |
A | (float): Area of the member. |
E | (float): Young modulus. |
Iy_mod | (float): Second moment of inertia (strong axis). |
geo_transf_ID | (int): A geometric transformation (for more information, see OpenSeesPy documentation). |
mat_ID_i | (int, optional): ID of the material model for the spring in the node i (if present). Defaults to -1. |
mat_ID_j | (int, optional): ID of the material model for the spring in the node j (if present). Defaults to -1. |
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. |
NegativeValue | A needs to be positive. |
NegativeValue | E needs to be positive. |
NegativeValue | Iy_mod needs to be positive. |
NegativeValue | ID needs to be a positive integer. |
NegativeValue | ID needs to be a positive integer, if different from -1. |
NegativeValue | ID needs to be a positive integer, if different from -1. |
NameError | at least one spring needs to be defined. |
NegativeValue | ID needs to be a positive integer, if different from -1. |
Reimplemented in SpringBasedElementSteelIShape, and SpringBasedElementModifiedIMKSteelIShape.
Definition at line 665 of file MemberModel.py.
def CreateMember | ( | self | ) |
Method that initialises the member by calling the OpenSeesPy commands through various functions.
Definition at line 799 of file MemberModel.py.
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.
See parent class MemberModel for detailed information.
Reimplemented from MemberModel.
Definition at line 825 of file MemberModel.py.
def RecordNodeDef | ( | self, | |
str | name_txt, | ||
str | data_dir, | ||
time_rec = True |
|||
) |
Implementation of the homonym abstract method.
See parent class MemberModel for detailed information.
Reimplemented from MemberModel.
Definition at line 846 of file MemberModel.py.
def ReInit | ( | self, | |
ele_ID = -1 |
|||
) |
Implementation of the homonym abstract method.
See parent class DataManagement for detailed information.
ele_ID | (int, optional): Optional ID of the element. Defaults to -1, e.g. use IDConvention to define it. |
Definition at line 718 of file MemberModel.py.
def ShowInfo | ( | self, | |
plot = False , |
|||
block = False |
|||
) |
Implementation of the homonym abstract method.
See parent class DataManagement for detailed information.
plot | (bool, optional): Option to show the plot of the material model. Defaults to False. |
block | (bool, optional): Option to wait the user command 'plt.show()' (avoiding the stop of the program everytime that a plot should pop up). Defaults to False. |
Definition at line 771 of file MemberModel.py.
def UpdateStoredData | ( | self | ) |
Implementation of the homonym abstract method.
See parent class DataManagement for detailed information.
Definition at line 749 of file MemberModel.py.
A |
Definition at line 705 of file MemberModel.py.
data |
Definition at line 754 of file MemberModel.py.
E |
Definition at line 706 of file MemberModel.py.
ele_orientation |
Definition at line 728 of file MemberModel.py.
element_array |
Definition at line 803 of file MemberModel.py.
element_ID |
Definition at line 742 of file MemberModel.py.
geo_transf_ID |
Definition at line 708 of file MemberModel.py.
Initialized |
Definition at line 714 of file MemberModel.py.
iNode_ID |
Definition at line 703 of file MemberModel.py.
iNode_ID_spring |
Definition at line 732 of file MemberModel.py.
iSpring_ID |
Definition at line 807 of file MemberModel.py.
Iy_mod |
Definition at line 707 of file MemberModel.py.
jNode_ID |
Definition at line 704 of file MemberModel.py.
jNode_ID_spring |
Definition at line 737 of file MemberModel.py.
jSpring_ID |
Definition at line 813 of file MemberModel.py.
mat_ID_i |
Definition at line 709 of file MemberModel.py.
mat_ID_j |
Definition at line 710 of file MemberModel.py.
section_name_tag |
Definition at line 713 of file MemberModel.py.