![]() |
OpenSeesPyAssistant 1.1
OpenSeesPy for everyone
|
Class that stores funcions, material properties, geometric and mechanical parameters for a rectangular RC fiber section. More...
Public Member Functions | |
def | __init__ (self, int ID, b, d, Ay, D_hoops, e, int unconf_mat_ID, int conf_mat_ID, int bars_mat_ID, np.ndarray bars_x, np.ndarray ranges_y, list discr_core, list discr_cover_lateral, list discr_cover_topbottom, GJ=0.0) |
Constructor of the class. More... | |
def | CreateFibers (self) |
Method that initialises the fiber by calling the OpenSeesPy commands. More... | |
def | ReInit (self) |
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... | |
Public Attributes | |
Ay | |
b | |
bars_mat_ID | |
bars_x | |
conf_mat_ID | |
d | |
D_hoops | |
data | |
discr_core | |
discr_cover_lateral | |
discr_cover_topbottom | |
e | |
fib_sec | |
GJ | |
ID | |
Initialized | |
ranges_y | |
rebarYZ | |
section_name_tag | |
unconf_mat_ID | |
Class that stores funcions, material properties, geometric and mechanical parameters for a rectangular RC fiber section.
Coordinates: plotting coordinte (x, y) = fiber section coordinate (z, y) = (-x, y). For more information, see the OpenSeesPy documentation.
Fibers | Parent abstract class. |
def __init__ | ( | self, | |
int | ID, | ||
b, | |||
d, | |||
Ay, | |||
D_hoops, | |||
e, | |||
int | unconf_mat_ID, | ||
int | conf_mat_ID, | ||
int | bars_mat_ID, | ||
np.ndarray | bars_x, | ||
np.ndarray | ranges_y, | ||
list | discr_core, | ||
list | discr_cover_lateral, | ||
list | discr_cover_topbottom, | ||
GJ = 0.0 |
|||
) |
Constructor of the class.
ID | (int): Unique fiber section ID. |
b | (float): Width of the section. |
d | (float): Depth of the section. |
Ay | (float): Area of one vertical reinforcing bar. |
D_hoops | (float): Diameter of the hoops. |
e | (float): Concrete cover. |
unconf_mat_ID | (int): ID of material model that will be assigned to the unconfined fibers. |
conf_mat_ID | (int): ID of material model that will be assigned to the confined fibers. |
bars_mat_ID | (int): ID of material model that will be assigned to the reinforcing bars fibers. |
bars_x | (np.ndarray): Array with a range of aligned vertical reinforcing bars for each row in x direction. Distances from border to bar centerline, bar to bar centerlines and finally bar centerline to border in the x direction (aligned). Starting from the left to right, from the top range to the bottom one. The number of bars for each range can vary; in this case, add this argument when defining the array " dtype = object" |
ranges_y | (np.ndarray): Array of dimension 1 with the position or spacing in y of the ranges in bars_x. Distances from border to range centerlines, range to range centerlines and finally range centerline to border in the y direction. Starting from the top range to the bottom one. |
discr_core | (list): List with two entries: discretisation in IJ (x/z) and JK (y) for the confined core. |
discr_cover_lateral | (list): List with two entries: discretisation in IJ (x/z) and JK (y) for the lateral unconfined cover. |
discr_cover_topbottom | (list): List with two entries: discretisation in IJ (x/z) and JK (y) for the top and bottom unconfined cover. |
GJ | (float, optional): Linear-elastic torsional stiffness assigned to the section. Defaults to 0.0, assume no torsional stiffness. |
NegativeValue | ID needs to be a positive integer. |
NegativeValue | b needs to be positive. |
NegativeValue | d needs to be positive. |
NegativeValue | Ay needs to be positive. |
NegativeValue | D_hoops needs to be positive. |
NegativeValue | e needs to be positive. |
NegativeValue | unconf_mat_ID needs to be a positive integer. |
NegativeValue | conf_mat_ID needs to be a positive integer. |
NegativeValue | bars_mat_ID needs to be a positive integer. |
WrongDimension | Number of rows in the list bars_x needs to be the same of the length of ranges_y - 1. |
InconsistentGeometry | The sum of the distances for each row in bars_x should be equal to the section's width (tol = 5 mm). |
InconsistentGeometry | The sum of the distances in ranges_y should be equal to the section's depth (tol = 5 mm). |
InconsistentGeometry | e should be smaller than half the depth and the width of the section. |
WrongDimension | discr_core has a length of 2. |
WrongDimension | discr_cover_lateral has a length of 2. |
WrongDimension | discr_cover_topbottom has a length of 2. |
NegativeValue | GJ needs to be positive. |
Reimplemented in FibersRectRCRectShape.
Definition at line 35 of file Fibers.py.
def CreateFibers | ( | self | ) |
Method that initialises the fiber by calling the OpenSeesPy commands.
Definition at line 226 of file Fibers.py.
def ReInit | ( | self | ) |
Implementation of the homonym abstract method.
See parent class DataManagement for detailed information.
Definition at line 122 of file Fibers.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 fiber. 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 199 of file Fibers.py.
def UpdateStoredData | ( | self | ) |
Implementation of the homonym abstract method.
See parent class DataManagement for detailed information.
Definition at line 175 of file Fibers.py.