concreteproperties.results.StressResult#
- class StressResult(concrete_section: ConcreteSection, concrete_analysis_sections: List[AnalysisSection], concrete_stresses: List[np.ndarray], concrete_forces: List[Tuple[float]], steel_geometries: List[Geometry], steel_stresses: List[float], steel_strains: List[float], steel_forces: List[Tuple[float]])[source]#
Bases:
objectClass for storing stress results.
For uncracked and cracked analyses, the lever arm is the distance to the elastic centroid.
For service stress analyses, the lever arm is the distance to the computed centroid.
For ultimate stress analyses, the lever arm is the distance to the plastic centroid.
- Variables
concrete_analysis_sections (List[
AnalysisSection]) – List of concrete analysis section objects present in the stress analysis, which can be visualised by calling theplot_mesh()orplot_shape()concrete_stresses (List[
numpy.ndarray]) – List of concrete stresses at the nodes of each concrete analysis sectionconcrete_forces (List[Tuple[float]]) – List of net forces for each concrete analysis section and its lever arm to the neutral axis (
force,d_x,d_y)steel_geometries (List[
sectionproperties.pre.geometry.Geometry]) – List of steel geometry objects present in the stress analysissteel_stresses (List[float]) – List of steel stresses for each steel geometry
steel_strains (List[float]) – List of steel strains for each steel geometry
steel_forces (List[Tuple[float]]) – List of net forces for each steel geometry and its lever arm to the neutral axis (
force,d_x,d_y)
Methods
Plots concrete and steel stresses on a concrete section.
Returns the sum of the internal forces.
Returns the sum of the internal moments.
Attributes
concrete_sectionconcrete_analysis_sectionsconcrete_stressesconcrete_forcessteel_geometriessteel_stressessteel_strainssteel_forces- plot_stress(title: Optional[str] = 'Stress', conc_cmap: Optional[str] = 'RdGy', steel_cmap: Optional[str] = 'bwr', **kwargs) matplotlib.axes.Axes[source]#
Plots concrete and steel stresses on a concrete section.
- Parameters
title (Optional[str]) – Plot title
conc_cmap (Optional[str]) – Colour map for the concrete stress
steel_cmap (Optional[str]) – Colour map for the steel stress
kwargs – Passed to
plotting_context()
- Returns
Matplotlib axes object
- Return type