API reference#

See also

API for developers : overview of all functions

Geometry#

Basic geometries

Geometry()

basic geometry class

Rectangle(top_edge, bottom_edge[, width, ...])

Represents a rectangle

Circle(diameter, centroid_y, centroid_z)

New in version 0.1.0.

Trapezoid(top_edge, bottom_edge, top_width)

Represents a trapezoidal

Composed geometries

geometry.ComposedGeometry()

Geometry consisting of basic geometries

IProfile(top_edge, t_w, h_w[, t_fo, b_fo, ...])

I-Profile composed of Rectangle instances

UPEProfile(top_edge, t_f, b_f, t_w[, h_w, ...])

UPE-Profile composed of class Rectangles forming a reversed U

RebarLayer(rebar_diameter, centroid_z[, ...])

rebar-layer composed of several reinforcement-bars of Circle

Material#

Material(section_type[, stress_strain])

Provides basic functionality for materials

Concrete(f_cm[, f_ctm, use_tension, ...])

Concrete material

Steel([f_y, f_u, failure_strain, E_a])

Steel material

Reinforcement([f_s, f_su, failure_strain, E_s])

Reinforcement material

Sections and Cross-section#

Section(geometry, material)

Combines material and geometric entity

Crosssection([sections, slab_effective_widths])

Combines a number of sections

Strain-based-design#

MKappaByStrainPosition(cross_section, ...[, ...])

computation of one Moment-Curvature-Point by fixed stress-strain_value-point and varying the neutral axis

MKappaByConstantCurvature(cross_section, ...)

computation of one Moment-Curvature-Point by fixed curvature and varying the neutral axis

MomentAxialForce(sub_cross_sections[, ...])

compute moment and axial-force at zero curvature

MomentAxialForceCurvature(...[, ...])

compute a moment-axial-force-curvature point with moment-axial-force and strain-position-point

Moment-Curvature-Curve#

MKappaCurve(cross_section[, ...])

computation of Moment-Curvature-Curve assuming full interaction

curves_m_kappa.MKappaCurvePoint(moment, ...)

Container for single point on Moment-Curvature-Curve

curves_m_kappa.MKappaCurvePoints()

Container for points on computed \(M\)-\(\kappa\)-Curve

Moment-Axial-Force-Curvature Curve#

MNCurve(sub_cross_sections)

compute the moment and axial-force curve of a cross-section in case of no curvature

MNKappaCurve(sub_cross_sections[, ...])

computation of Moment-Axial-Force-Curvature curve (M-N-Kappa)

Shear connector#

Classes

LoadSlip(load, slip)

Load-Slip point of a shear connector

ShearConnector(load_slips[, position])

Base-Class for the shear-connectors

HeadedStud(d, h_sc, f_u, f_cm[, s_max, h_p, ...])

Headed stud shear-connector

Loading#

SingleSpanUniformLoad(length[, load])

single span with uniform load

SingleLoad(position_in_beam, value)

container for single load

SingleSpanSingleLoads(length, loads)

single span with single load(s)

SingleSpan(length[, loads, uniform_load])

Compute a single-span-beam either with uniform-load or :py:class:`~m_n_kappa.SingleSpan`s.

Node#

Node(cross_section, position[, m_kappa_curve])

Beam-Node

CompositeNode(cross_section, position[, ...])

Beam-Node for Composite sections

Deformation#

Beam(cross_section, element_number, load[, ...])

Beam consisting of nodes with computed moment-curvature-curves

CompositeBeam(cross_section, loading, ...[, ...])

Beam for composite sections

API for developers#

For a more in-depth study of the internals of the program, beside the Theory guide, the API for developers guide gives further information.