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:
ComposedGeometryUPE-Profile composed of class Rectangles forming a reversed
UNew 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
hmust be given, otherwise an exception will be risen.h (float = None) – overall height of the steel-profile \(h\) (Default: None). Alternative arguments
h_wandt_fmust be given.centroid_y (floats) – horizontal position of the centroid of the UPE-profile \(y_\mathrm{centroid}\) (Default: 0.0)
UPE-Profile - dimensions#
See also
IProfilecomposed geometry consisting of several
Rectangleforming anIRebarLayercomposed geometry consisting of several
Circle
Example
The following example creates
Rectangleinstances 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
UPEProfileinherits fromComposedGeometryit also inherits its functionality tranforming to am_n_kappa.Crosssectionby 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_edget_fb_ft_wh_whcentroid_ygeometries