![]() |
OpenSeesPyAssistant 1.1
OpenSeesPy for everyone
|
Class that handles the storage and manipulation of a Gradient-Inelastic Flexibility-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, int fiber_ID, D_bars, fy, int geo_transf_ID, lambda_i=-1, lambda_j=-1, Lp=-1, Ip=-1, new_integration_ID=-1, min_tol=TOL_INTEGRATION, max_tol=TOL_INTEGRATION *1e4, max_iter=MAX_ITER_INTEGRATION, ele_ID=-1) |
Constructor of the class. More... | |
def | ComputeIp (self) |
Compute the number of integration points with equal distance along the element. More... | |
def | ComputeLp (self) |
Method that computes the plastic length using Paulay 1992. 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, lambda_i=-1, lambda_j=-1, Lp=-1, Ip=5, new_integration_ID=-1, 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 | |
D_bars | |
data | |
element_array | |
element_ID | |
fiber_ID | |
fy | |
geo_transf_ID | |
Initialized | |
iNode_ID | |
Ip | |
jNode_ID | |
L | |
lambda_i | |
lambda_j | |
Lp | |
max_iter | |
max_tol | |
min_tol | |
new_integration_ID | |
section_name_tag | |
Class that handles the storage and manipulation of a Gradient-Inelastic Flexibility-based element's information (mechanical and geometrical parameters, etc) and the initialisation in the model.
The integration technique is Simpson. For more information, see Sideris and Salehi 2016, 2017 and 2020.
MemberModel | Parent abstract class. |
Definition at line 1221 of file MemberModel.py.
def __init__ | ( | self, | |
int | iNode_ID, | ||
int | jNode_ID, | ||
int | fiber_ID, | ||
D_bars, | |||
fy, | |||
int | geo_transf_ID, | ||
lambda_i = -1 , |
|||
lambda_j = -1 , |
|||
Lp = -1 , |
|||
Ip = -1 , |
|||
new_integration_ID = -1 , |
|||
min_tol = TOL_INTEGRATION , |
|||
max_tol = TOL_INTEGRATION*1e4 , |
|||
max_iter = MAX_ITER_INTEGRATION , |
|||
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. |
fiber_ID | (int): ID of the fiber section. |
D_bars | (float): Diameter of the vertical reinforcing bars. |
fy | (float): Yield stress of the reinforcing bars. |
geo_transf_ID | (int): The geometric transformation (for more information, see OpenSeesPy documentation). |
lambda_i | (float, optional): Fraction of beam length over the plastic hinge length at end i (0 = no plastic hinge). Defaults to -1, e.g. plastic hinge in the end i. |
lambda_j | (float, optional): Fraction of beam length over the plastic hinge length at end j (0 = no plastic hinge). Defaults to -1, e.g. plastic hinge in the end j. |
Lp | (float, optional): Plastic hinge length. Defaults to -1, e.g. computed in ReInit(). |
Ip | (int, optional): Number of integration points (min. 3). Defaults to 5. |
new_integration_ID | (int, optional): ID of the integration technique. Defaults to -1, e.g. computed in ReInit(). |
min_tol | (float, optional): Minimal tolerance for the integration convergence. Defaults to TOL_INTEGRATION (Units). |
max_tol | (float, optional): Maximal tolerance for the integration convergence. Defaults to TOL_INTEGRATION*1e4. |
max_iter | (int, optional): Maximal number of iteration to reach the integretion convergence. Defaults to MAX_ITER_INTEGRATION (Units). |
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 | ID needs to be a positive integer. |
NegativeValue | D_bars needs to be positive. |
NegativeValue | fy needs to be positive. |
NegativeValue | ID needs to be a positive integer. |
NegativeValue | lambda_i needs to be positive. |
NegativeValue | lambda_j needs to be positive. |
NegativeValue | No plastic length defined. |
NegativeValue | Lp needs to be positive, if different from -1. |
NegativeValue | Ip needs to be a positive integer bigger than 3, if different from -1. |
NegativeValue | ID needs to be a positive integer. |
NegativeValue | min_tol needs to be positive. |
NegativeValue | max_tol needs to be positive. |
NegativeValue | max_iter needs to be a positive integer. |
NegativeValue | ID needs to be a positive integer, if different from -1. |
Reimplemented in GIFBElementFibersCircRCCircShape, GIFBElementFibersRectRCRectShape, GIFBElementRCCircShape, and GIFBElementRCRectShape.
Definition at line 1229 of file MemberModel.py.
def ComputeIp | ( | self | ) |
Compute the number of integration points with equal distance along the element.
For more information, see Salehi and Sideris 2020.
Definition at line 1439 of file MemberModel.py.
def ComputeLp | ( | self | ) |
Method that computes the plastic length using Paulay 1992.
Definition at line 1430 of file MemberModel.py.
def CreateMember | ( | self | ) |
Method that initialises the member by calling the OpenSeesPy commands through various functions.
Definition at line 1396 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 1414 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 1422 of file MemberModel.py.
def ReInit | ( | self, | |
lambda_i = -1 , |
|||
lambda_j = -1 , |
|||
Lp = -1 , |
|||
Ip = 5 , |
|||
new_integration_ID = -1 , |
|||
ele_ID = -1 |
|||
) |
Implementation of the homonym abstract method.
See parent class DataManagement for detailed information.
lambda_i | (float, optional): Fraction of beam length over the plastic hinge length at end i (0 = no plastic hinge). Defaults to -1, e.g. plastic hinge in the end i. |
lambda_j | (float, optional): Fraction of beam length over the plastic hinge length at end j (0 = no plastic hinge). Defaults to -1, e.g. plastic hinge in the end j. |
Lp | (float, optional): Plastic hinge length. Defaults to -1, e.g. computed here. |
Ip | (int, optional): Number of integration points (min. 3). Defaults to 5. |
new_integration_ID | (int, optional): ID of the integration technique. Defaults to -1, e.g. computed in ReInit(). |
ele_ID | (int, optional): Optional ID of the element. Defaults to -1, e.g. use IDConvention to define it. |
Definition at line 1304 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 1365 of file MemberModel.py.
def UpdateStoredData | ( | self | ) |
Implementation of the homonym abstract method.
See parent class DataManagement for detailed information.
Definition at line 1339 of file MemberModel.py.
D_bars |
Definition at line 1291 of file MemberModel.py.
data |
Definition at line 1344 of file MemberModel.py.
element_array |
Definition at line 1400 of file MemberModel.py.
element_ID |
Definition at line 1322 of file MemberModel.py.
fiber_ID |
Definition at line 1294 of file MemberModel.py.
fy |
Definition at line 1292 of file MemberModel.py.
geo_transf_ID |
Definition at line 1293 of file MemberModel.py.
Initialized |
Definition at line 1301 of file MemberModel.py.
iNode_ID |
Definition at line 1289 of file MemberModel.py.
Ip |
Definition at line 1326 of file MemberModel.py.
jNode_ID |
Definition at line 1290 of file MemberModel.py.
L |
Definition at line 1321 of file MemberModel.py.
lambda_i |
Definition at line 1327 of file MemberModel.py.
lambda_j |
Definition at line 1328 of file MemberModel.py.
Lp |
Definition at line 1325 of file MemberModel.py.
max_iter |
Definition at line 1297 of file MemberModel.py.
max_tol |
Definition at line 1296 of file MemberModel.py.
min_tol |
Definition at line 1295 of file MemberModel.py.
new_integration_ID |
Definition at line 1329 of file MemberModel.py.
section_name_tag |
Definition at line 1300 of file MemberModel.py.