UltimateBendingResults¶
- class concreteproperties.results.UltimateBendingResults(default_units: UnitDisplay, theta: float, d_n: float = 0, k_u: float = 0, n: float = 0, m_x: float = 0, m_y: float = 0, m_xy: float = 0, label: str | None = None)[source]¶
Bases:
objectClass for storing ultimate bending results.
- Parameters:
default_units (UnitDisplay) – Default units to use for reporting
theta (float) – Angle (in radians) the neutral axis makes with the horizontal axis (\(-\pi \leq \theta \leq \pi\))
d_n (float) – Ultimate neutral axis depth
k_u (float) – Neutral axis parameter (d_n / d)
n (float) – Resultant axial force
m_x (float) – Resultant bending moment about the x-axis
m_y (float) – Resultant bending moment about the y-axis
m_xy (float) – Resultant bending moment
label (str | None) – Result label
Methods
Prints the ultimate bending results to the terminal.
Attributes
d_nk_ulabelm_xm_xym_yndefault_unitstheta- print_results(eng: bool = True, prec: int = 3, units: UnitDisplay | None = None) None[source]¶
Prints the ultimate bending results to the terminal.
- Parameters:
eng (bool) – If set to
True, formats with engineering notation. If set toFalse, formats with fixed notation. Defaults toTrue.prec (int) – The desired precision (i.e. one plus this value is the desired number of digits). Defaults to
3.units (UnitDisplay | None) – Unit system to display. Defaults to
None.