OpenSeesPyAssistant 1.1
OpenSeesPy for everyone
GIFBElementRCRectShape Class Reference

Class that is the children of GIFBElement and combine the class RCRectShape (section) to retrieve the information needed. More...

Inheritance diagram for GIFBElementRCRectShape:
GIFBElement MemberModel

Public Member Functions

def __init__ (self, int iNode_ID, int jNode_ID, int fiber_ID, RCRectShape section, 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...
 
- Public Member Functions inherited from GIFBElement
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

 section
 
 section_name_tag
 
- Public Attributes inherited from GIFBElement
 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
 

Detailed Description

Class that is the children of GIFBElement and combine the class RCRectShape (section) to retrieve the information needed.


Parameters
GIFBElementParent class.

Definition at line 1452 of file MemberModel.py.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
int  iNode_ID,
int  jNode_ID,
int  fiber_ID,
RCRectShape  section,
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.

Parameters
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.
section(RCRectShape): RCRectShape section object.
geo_transf_ID(int): A 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.

Reimplemented from GIFBElement.

Definition at line 1458 of file MemberModel.py.

1460 min_tol = TOL_INTEGRATION, max_tol = TOL_INTEGRATION*1e4, max_iter = MAX_ITER_INTEGRATION, ele_ID = -1):
1461 """
1462 Constructor of the class.
1463
1464 @param iNode_ID (int): ID of the first end node.
1465 @param jNode_ID (int): ID of the second end node.
1466 @param fiber_ID (int): ID of the fiber section.
1467 @param section (RCRectShape): RCRectShape section object.
1468 @param geo_transf_ID (int): A geometric transformation (for more information, see OpenSeesPy documentation).
1469 @param lambda_i (float, optional): Fraction of beam length over the plastic hinge length at end i (0 = no plastic hinge).
1470 Defaults to -1, e.g. plastic hinge in the end i.
1471 @param lambda_j (float, optional): Fraction of beam length over the plastic hinge length at end j (0 = no plastic hinge).
1472 Defaults to -1, e.g. plastic hinge in the end j.
1473 @param Lp (float, optional): Plastic hinge length. Defaults to -1, e.g. computed in ReInit().
1474 @param Ip (int, optional): Number of integration points (min. 3). Defaults to 5.
1475 @param new_integration_ID (int, optional): ID of the integration technique. Defaults to -1, e.g. computed in ReInit().
1476 @param min_tol (float, optional): Minimal tolerance for the integration convergence. Defaults to TOL_INTEGRATION (Units).
1477 @param max_tol (float, optional): Maximal tolerance for the integration convergence. Defaults to TOL_INTEGRATION*1e4.
1478 @param max_iter (int, optional): Maximal number of iteration to reach the integretion convergence. Defaults to MAX_ITER_INTEGRATION (Units).
1479 @param ele_ID (int, optional): Optional ID of the element. Defaults to -1, e.g. use IDConvention to define it.
1480 """
1481 self.section = deepcopy(section)
1482 super().__init__(iNode_ID, jNode_ID, fiber_ID, section.D_bars, section.fy, geo_transf_ID,
1483 lambda_i=lambda_i, lambda_j=lambda_j, Lp=Lp, Ip=Ip, new_integration_ID=new_integration_ID,
1484 min_tol=min_tol, max_tol=max_tol, max_iter=max_iter, ele_ID = ele_ID)
1485 self.section_name_tag = section.name_tag
1486 self.UpdateStoredData()
1487 # Check length
1488 self._CheckL()
1489
1490

Member Data Documentation

◆ section

section

Definition at line 1481 of file MemberModel.py.

◆ section_name_tag

section_name_tag

Definition at line 1485 of file MemberModel.py.


The documentation for this class was generated from the following file: