m_n_kappa.Node#
- class m_n_kappa.Node(cross_section, position, m_kappa_curve=None)#
Bases:
object
Beam-Node
New in version 0.1.0.
stores the cross-section, the position_value in the beam and the computed M-Kappa-Curve
- Parameters:
cross_section (
Crosssection
) – Cross-section at this nodeposition (float) – position of the node along the beam
m_kappa_curve (
MKappaCurvePoints
) – if moment-curvature-curve has already been computed, then this may be passed here
Examples
For computation of a Node, first a :py:class.`~m_n_kappa.Crosssection` is needed.
>>> from m_n_kappa import Concrete, Steel, Rectangle >>> concrete = Concrete(f_cm=35.0) >>> concrete_geometry_1 = Rectangle( ... top_edge=0.0, bottom_edge=10.0, width=20.0) >>> concrete_section_1 = concrete + concrete_geometry_1 >>> steel = Steel(f_y=355.0) >>> steel_geometry = Rectangle( ... top_edge=10.0, bottom_edge=20.0, width=10.0) >>> steel_section = steel + steel_geometry >>> cross_section = concrete_section_1 + steel_section >>> cross_section Crosssection(sections=sections)
The node is initialized by:
>>> from m_n_kappa import Node >>> node = Node(cross_section=cross_section, position=0.0)
During initialization the Moment-Curvature-Curve is computed.
curvature()
allows us to determine the corresponding curvature to a given moment>>> node.curvature_by(moment=100) 1.4443096916449083e-07
For computation of the incremental deformation at this node use
incremental_deformation()
.Methods
curvature_by
(moment)compute curvature
incremental_deformation
(load, single_load)determine incremental deformation at this node
Attributes
Crosssection
at the nodecomputed Moment-Curvature-Curve at the node
node_number
number of the node
position of the node along the beam
- curvature_by(moment)#
compute curvature
- Parameters:
moment (float) – moment that is associated with the curvature
- Return type:
float
- incremental_deformation(load, single_load)#
determine incremental deformation at this node
for the deformation the curvature and single-load-moment at the node under given loading are computed
- Parameters:
load (
ABCSingleSpan
) – load applied to the beamsingle_load (
SingleSpanSingleLoads
) – single-load applied at the point, where deformation is computed
- Returns:
product from curvature and moment of the single-load at this node
- Return type:
float
- property cross_section: Crosssection#
Crosssection
at the node
- property curve_points: m_n_kappa.curves_m_kappa.MKappaCurvePoints | m_n_kappa.curves_m_n_kappa.MNKappaCurvePoints#
computed Moment-Curvature-Curve at the node
- property number: int#
number of the node
- property position: float#
position of the node along the beam