![]() |
OpenSeesPyAssistant 1.1
OpenSeesPy for everyone
|
Class that handles the storage and manipulation of a elastic 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, int geo_transf_ID, 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 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 | |
A | |
data | |
E | |
element_array | |
element_ID | |
geo_transf_ID | |
Initialized | |
iNode_ID | |
Iy | |
jNode_ID | |
section_name_tag | |
Class that handles the storage and manipulation of a elastic element's information (mechanical and geometrical parameters, etc) and the initialisation in the model.
MemberModel | Parent abstract class. |
Definition at line 496 of file MemberModel.py.
def __init__ | ( | self, | |
int | iNode_ID, | ||
int | jNode_ID, | ||
A, | |||
E, | |||
Iy, | |||
int | geo_transf_ID, | ||
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 | (float): Second moment of inertia (strong axis). |
geo_transf_ID | (int): A geometric transformation (for more information, see OpenSeesPy documentation). |
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 needs to be positive. |
NegativeValue | ID needs to be a positive integer. |
NegativeValue | ID needs to be a positive integer. |
Reimplemented in ElasticElementSteelIShape.
Definition at line 502 of file MemberModel.py.
def CreateMember | ( | self | ) |
Method that initialises the member by calling the OpenSeesPy commands through various functions.
Definition at line 605 of file MemberModel.py.
def Record | ( | self, | |
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 619 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 627 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 544 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 579 of file MemberModel.py.
def UpdateStoredData | ( | self | ) |
Implementation of the homonym abstract method.
See parent class DataManagement for detailed information.
Definition at line 562 of file MemberModel.py.
A |
Definition at line 534 of file MemberModel.py.
data |
Definition at line 567 of file MemberModel.py.
E |
Definition at line 535 of file MemberModel.py.
element_array |
Definition at line 609 of file MemberModel.py.
element_ID |
Definition at line 555 of file MemberModel.py.
geo_transf_ID |
Definition at line 537 of file MemberModel.py.
Initialized |
Definition at line 541 of file MemberModel.py.
iNode_ID |
Definition at line 532 of file MemberModel.py.
Iy |
Definition at line 536 of file MemberModel.py.
jNode_ID |
Definition at line 533 of file MemberModel.py.
section_name_tag |
Definition at line 540 of file MemberModel.py.