m_n_kappa.RebarLayer#
- class m_n_kappa.RebarLayer(rebar_diameter, centroid_z, rebar_number=None, width=None, left_edge=None, right_edge=None, rebar_horizontal_distance=None)#
Bases:
ComposedGeometry
rebar-layer composed of several reinforcement-bars of
Circle
New in version 0.1.0.
- Parameters:
rebar_diameter (float) – diameter of rebars in the layer
centroid_z (float) – position of the centroid in vertical direction
rebar_number (int = None) – number of rebars within the layer (Alternative to argument
width
)width (float = None) – width of the rebar-layer \(b\) (together with
rebar_horizontal_distance
alternative to argumentrebar_number
). In caserebar_number
is defined, the argumentwidth
as well asrebar_horizontal_distance
value is ignored.rebar_horizontal_distance (float) – distance between the rebars in horizontal direction \(s_\mathrm{y}\) (Default: None). See description in argument
width
.left_edge (float) – horizontal position of the centroid of the left-most circle \(y_\mathrm{left}\) (Default: None).
right_edge (float) – horizontal position of the centroid of the right-most circle \(y_\mathrm{right}\) (Default: None)
rebar_horizontal_distance – horizontal-distance between the rebar-centroids \(s_\mathrm{y}\) (Default: None)
See also
Circle
basic geometric class
IProfile
composed geometry consisting of several
Rectangle
forming anI
UPEProfile
composed geometry consisting of several
Rectangle
forming anU
Example
The following example creates 10 circles with diameter 12 and a vertical position of 10
>>> from m_n_kappa import RebarLayer >>> rebar_layer = RebarLayer(rebar_diameter=12.0, centroid_z=10.0, rebar_number=10, rebar_horizontal_distance=100)
Adding a material to
rebar_layer
creates a cross-section.>>> from m_n_kappa import Reinforcement >>> rebar_steel = Reinforcement(f_s=500, f_su=550, failure_strain=0.25) >>> rebars = rebar_layer + rebar_steel >>> rebars Crosssection(sections=sections)
Attributes
rebar_diameter
centroid_z
rebar_number
width
left_edge
right_edge
rebar_horizontal_distance
geometries