concreteproperties.results.MomentCurvatureResults#
- class MomentCurvatureResults(theta, kappa=<factory>, n=<factory>, m_x=<factory>, m_y=<factory>, m_xy=<factory>, _n_i=0, _m_x_i=0, _m_y_i=0, _failure=False)[source]#
Bases:
objectClass for storing moment curvature results.
- Parameters
theta (
float) – Angle (in radians) the neutral axis makes with the horizontal axis (\(-\pi \leq \theta \leq \pi\))kappa (
List[float], default:<factory>) – List of curvaturesn (
List[float], default:<factory>) – List of axial forcesm_x (
List[float], default:<factory>) – List of bending moments about the x-axism_y (
List[float], default:<factory>) – List of bending moments about the y-axism_xy (
List[float], default:<factory>) – List of resultant bending momentsfailure_geometry – Geometry object of the region of the cross-section that failed, ending the moment curvature analysis
Methods
Given a moment, uses the moment-curvature results to interpolate a curvature.
Plots the geometry that fails in the moment curvature analysis.
Plots multiple moment curvature results.
Plots the moment curvature results.
Attributes
thetakappanm_xm_ym_xyfailure_geometry- plot_results(m_scale=1e-06, fmt='o-', **kwargs)[source]#
Plots the moment curvature results.
- Parameters
m_scale (
float, default:1e-06) – Scaling factor to apply to bending momentfmt (
str, default:'o-') – Plot format stringkwargs – Passed to
plotting_context()
- Returns
Axes– Matplotlib axes object
- static plot_multiple_results(moment_curvature_results, labels, m_scale=1e-06, fmt='o-', **kwargs)[source]#
Plots multiple moment curvature results.
- Parameters
moment_curvature_results (
List[MomentCurvatureResults]) – List of moment curvature results objectslabels (
List[str]) – List of labels for each moment curvature diagramm_scale (
float, default:1e-06) – Scaling factor to apply to bending momentfmt (
str, default:'o-') – Plot format stringkwargs – Passed to
plotting_context()
- Returns
Axes– Matplotlib axes object