![]() |
OpenSeesPyAssistant 1.1
OpenSeesPy for everyone
|
Class that stores funcions, geometric and mechanical properties of RC rectangular shape profile. More...
Public Member Functions | |
def | __init__ (self, b, d, L, e, fc, D_bars, np.ndarray bars_position_x, np.ndarray bars_ranges_position_y, fy, Ey, D_hoops, s, fs, Es, name_tag="Not Defined", rho_s_x=-1, rho_s_y=-1, Ec=-1) |
The conctructor of the class. More... | |
def | ComputeA (self) |
Compute the area for a rectangular section. More... | |
def | ComputeAc (self) |
Compute the confined area (area inside the centerline of the hoops, according to Mander et Al. More... | |
def | ComputeEc (self) |
Compute Ec using the formula from Mander et Al. More... | |
def | ComputeIy (self) |
Compute the moment of inertia of the rectangular section with respect to the strong axis. More... | |
def | ComputeIz (self) |
Compute the moment of inertia of the rectangular section with respect to the weak axis. More... | |
def | ComputeNrBars (self) |
Compute the number of vertical bars in the array bars_position_x (note that this list of lists can have different list sizes). More... | |
def | ReInit (self, rho_s_x=-1, rho_s_y=-1, Ec=-1) |
Implementation of the homonym abstract method. More... | |
def | ShowInfo (self) |
Implementation of the homonym abstract method. More... | |
def | UpdateStoredData (self) |
Implementation of the homonym abstract method. More... | |
Public Attributes | |
A | |
Ac | |
As | |
Ay | |
b | |
bars_position_x | |
bars_ranges_position_y | |
bc | |
cl_bars | |
cl_hoops | |
d | |
D_bars | |
D_hoops | |
data | |
dc | |
e | |
Ec | |
Es | |
Ey | |
fc | |
fs | |
fy | |
Iy | |
Iz | |
L | |
name_tag | |
nr_bars | |
rho_bars | |
rho_s_x | |
rho_s_y | |
s | |
Class that stores funcions, geometric and mechanical properties of RC rectangular shape profile.
Note that for the validity of the formulas, at least one bar per corner and at least one hoop closed (with 135 degress possibly).
Section | Parent abstract class. |
Definition at line 264 of file Section.py.
def __init__ | ( | self, | |
b, | |||
d, | |||
L, | |||
e, | |||
fc, | |||
D_bars, | |||
np.ndarray | bars_position_x, | ||
np.ndarray | bars_ranges_position_y, | ||
fy, | |||
Ey, | |||
D_hoops, | |||
s, | |||
fs, | |||
Es, | |||
name_tag = "Not Defined" , |
|||
rho_s_x = -1 , |
|||
rho_s_y = -1 , |
|||
Ec = -1 |
|||
) |
The conctructor of the class.
b | (float): Width of the section. |
d | (float): Depth of the section. |
L | (float): Effective length of the element associated with this section. If the panel zone is present, exclude its dimension. |
e | (float): Concrete cover. |
fc | (float): Unconfined concrete compressive strength (cylinder test). |
D_bars | (float): Diameter of the reinforcing bars. |
bars_position_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". |
bars_ranges_position_y | (np.ndarray): Array of dimension 1 with the position or spacing in y of the ranges in bars_position_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. |
fy | (float): Yield stress for reinforcing bars. |
Ey | (float): Young modulus for reinforcing bars. |
D_hoops | (float): Diameter of the hoops. |
s | (float): Centerline distance for the hoops. |
fs | (float): Yield stress for the hoops. |
Es | (float): Young modulus for the hoops |
name_tag | (str, optional): A nametag for the section. Defaults to "Not Defined". |
rho_s_x | (float, optional): Ratio of the transversal area of the hoops to the associated concrete area in the x direction. Defaults to -1, e.g. computed in init() and ReInit() assuming one range of hoops. |
rho_s_y | (float, optional): Ratio of the transversal area of the hoops to the associated concrete area in the y direction. Defaults to -1, e.g. computed in init() and ReInit() assuming one range of hoops. |
Ec | (float, optional): Young modulus for concrete. Defaults to -1, e.g. computed in init() and ReInit(). |
NegativeValue | b needs to be positive. |
NegativeValue | d needs to be positive. |
NegativeValue | L needs to be positive. |
NegativeValue | e needs to be positive. |
PositiveValue | fc needs to be negative. |
NegativeValue | D_bars needs to be positive. |
NegativeValue | fy needs to be positive. |
NegativeValue | Ey needs to be positive. |
NegativeValue | D_hoops needs to be positive. |
NegativeValue | s needs to be positive. |
NegativeValue | fs needs to be positive. |
NegativeValue | Es needs to be positive. |
NegativeValue | rho_s_x needs to be positive if different from -1. |
NegativeValue | rho_s_y needs to be positive if different from -1. |
NegativeValue | Ec needs to be positive if different from -1. |
WrongDimension | Number of lists in the list bars_position_x needs to be the same of the length of bars_ranges_position_y - 1. |
InconsistentGeometry | The sum of the distances for each list in bars_position_x should be equal to the section's width (tol = 5 mm). |
InconsistentGeometry | The sum of the distances in bars_ranges_position_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. |
Reimplemented in RCSquareShape.
Definition at line 271 of file Section.py.
def ComputeA | ( | self | ) |
Compute the area for a rectangular section.
Definition at line 495 of file Section.py.
def ComputeAc | ( | self | ) |
Compute the confined area (area inside the centerline of the hoops, according to Mander et Al.
1988).
Definition at line 504 of file Section.py.
def ComputeEc | ( | self | ) |
Compute Ec using the formula from Mander et Al.
1988.
Definition at line 485 of file Section.py.
def ComputeIy | ( | self | ) |
Compute the moment of inertia of the rectangular section with respect to the strong axis.
Definition at line 513 of file Section.py.
def ComputeIz | ( | self | ) |
Compute the moment of inertia of the rectangular section with respect to the weak axis.
Definition at line 522 of file Section.py.
def ComputeNrBars | ( | self | ) |
Compute the number of vertical bars in the array bars_position_x (note that this list of lists can have different list sizes).
Definition at line 472 of file Section.py.
def ReInit | ( | self, | |
rho_s_x = -1 , |
|||
rho_s_y = -1 , |
|||
Ec = -1 |
|||
) |
Implementation of the homonym abstract method.
See parent class DataManagement for detailed information.
rho_s_x | (float, optional): Ratio of the transversal area of the hoops to the associated concrete area in the x direction. Defaults to -1, e.g. computed assuming one range of hoops. |
rho_s_y | (float, optional): Ratio of the transversal area of the hoops to the associated concrete area in the y direction. Defaults to -1, e.g. computed assuming one range of hoops. |
Ec | (float, optional): Young modulus for concrete. Defaults to -1, e.g. computed according to Mander et Al. 1988. |
Definition at line 374 of file Section.py.
def ShowInfo | ( | self | ) |
Implementation of the homonym abstract method.
See parent class DataManagement for detailed information.
Definition at line 448 of file Section.py.
def UpdateStoredData | ( | self | ) |
Implementation of the homonym abstract method.
See parent class DataManagement for detailed information.
Definition at line 410 of file Section.py.
A |
Definition at line 399 of file Section.py.
Ac |
Definition at line 400 of file Section.py.
As |
Definition at line 390 of file Section.py.
Ay |
Definition at line 401 of file Section.py.
b |
Definition at line 354 of file Section.py.
bars_position_x |
Definition at line 360 of file Section.py.
bars_ranges_position_y |
Definition at line 361 of file Section.py.
bc |
Definition at line 388 of file Section.py.
cl_bars |
Definition at line 387 of file Section.py.
cl_hoops |
Definition at line 386 of file Section.py.
d |
Definition at line 355 of file Section.py.
D_bars |
Definition at line 359 of file Section.py.
D_hoops |
Definition at line 364 of file Section.py.
data |
Definition at line 415 of file Section.py.
dc |
Definition at line 389 of file Section.py.
e |
Definition at line 357 of file Section.py.
Ec |
Definition at line 395 of file Section.py.
Es |
Definition at line 367 of file Section.py.
Ey |
Definition at line 363 of file Section.py.
fc |
Definition at line 358 of file Section.py.
fs |
Definition at line 366 of file Section.py.
fy |
Definition at line 362 of file Section.py.
Iy |
Definition at line 403 of file Section.py.
Iz |
Definition at line 404 of file Section.py.
L |
Definition at line 356 of file Section.py.
name_tag |
Definition at line 368 of file Section.py.
nr_bars |
Definition at line 398 of file Section.py.
rho_bars |
Definition at line 402 of file Section.py.
rho_s_x |
Definition at line 393 of file Section.py.
rho_s_y |
Definition at line 394 of file Section.py.
s |
Definition at line 365 of file Section.py.