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:
object
Class for storing stress results.
- 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
,lever_arm
)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
,lever_arm
)
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_section
concrete_analysis_sections
concrete_stresses
concrete_forces
steel_geometries
steel_stresses
steel_strains
steel_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