m_n_kappa.UPEProfile#
- class m_n_kappa.UPEProfile(top_edge, t_f, b_f, t_w, h_w=None, h=None, centroid_y=0.0)#
Bases:
ComposedGeometry
UPE-Profile composed of class Rectangles forming a reversed
U
New in version 0.1.0.
- Parameters:
top_edge (float) – top-edge of the rectangle \(z_\mathrm{top}\)
t_f (float) – flange-thickness \(t_\mathrm{f}\)
b_f (float) – flange-width \(b_\mathrm{f}\)
t_w (float) – web-thickness \(t_\mathrm{w}\)
h_w (float = None) – web-height \(h_\mathrm{w}\) (Default: None). Alternative argument
h
must be given, otherwise an exception will be risen.h (float = None) – overall height of the steel-profile \(h\) (Default: None). Alternative arguments
h_w
andt_f
must be given.centroid_y (floats) – horizontal position of the centroid of the UPE-profile \(y_\mathrm{centroid}\) (Default: 0.0)
See also
IProfile
composed geometry consisting of several
Rectangle
forming anI
RebarLayer
composed geometry consisting of several
Circle
Example
The following example creates
Rectangle
instances forming an UPE 200 profile>>> from m_n_kappa import UPEProfile >>> upe200_geometry = UPEProfile(top_edge=10, t_f=5.2, b_f=76, t_w=9.0, h=200) >>> upe200_geometry UPEProfile(top_edge=10, t_f=5.2, b_f=76, t_w=9.0, h_w=189.6, h=200, centroid_y=0.0, geometries=[Rectangle(top_edge=10.00, bottom_edge=86.00, width=5.20, left_edge=-100.00, right_edge=-94.80), Rectangle(top_edge=10.00, bottom_edge=19.00, width=189.60, left_edge=-94.80, right_edge=94.80), Rectangle(top_edge=10.00, bottom_edge=86.00, width=5.20, left_edge=94.80, right_edge=100.00)])
As
UPEProfile
inherits fromComposedGeometry
it also inherits its functionality tranforming to am_n_kappa.Crosssection
by addingm_n_kappa.Material
.>>> from m_n_kappa import Steel >>> steel = Steel(f_y = 300.0, f_u = 350.0, failure_strain=0.25) >>> cross_section = upe200_geometry + steel >>> cross_section Crosssection(sections=sections)
Attributes
top_edge
t_f
b_f
t_w
h_w
h
centroid_y
geometries