concreteproperties.results.StressResult#
- class StressResult(concrete_section, concrete_analysis_sections, concrete_stresses, concrete_forces, meshed_reinforcement_sections, meshed_reinforcement_stresses, meshed_reinforcement_forces, lumped_reinforcement_geometries, lumped_reinforcement_stresses, lumped_reinforcement_strains, lumped_reinforcement_forces, strand_geometries=<factory>, strand_stresses=<factory>, strand_strains=<factory>, strand_forces=<factory>, _m_net=None)[source]#
Bases:
object
Class for storing stress results.
The lever arm is computed to the elastic centroid.
- Parameters
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
[ndarray
]) – List of concrete stresses at the nodes of each concrete analysis sectionconcrete_forces (
List
[Tuple
[float
,float
,float
]]) – List of net forces for each concrete analysis section and its lever arm (force
,d_x
,d_y
)meshed_reinforcement_sections (
List
[AnalysisSection
]) – List of meshed reinforcement section objects present in the stress analysismeshed_reinforcement_stresses (
List
[ndarray
]) – List of meshed reinforcement stresses at the nodes of each meshed reinforcement analysis sectionmeshed_reinforcement_forces (
List
[Tuple
[float
,float
,float
]]) – List of net forces for each meshed reinforcement analysis section and its lever arm (force
,d_x
,d_y
)lumped_reinforcement_geometries (
List
[CPGeom
]) – List of lumped reinforcement geometry objects present in the stress analysislumped_reinforcement_stresses (
List
[float
]) – List of lumped reinforcement stresses for each lumped geometrylumped_reinforcement_strains (
List
[float
]) – List of lumped reinforcement strains for each lumped geometrylumped_reinforcement_forces (
List
[Tuple
[float
,float
,float
]]) – List of net forces for each lumped reinforcement geometry and its lever arm (force
,d_x
,d_y
)strand_geometries (
List
[CPGeom
], default:<factory>
) – List of strand geometry objects present in the stress analysisstrand_stresses (
List
[float
], default:<factory>
) – List of strand stresses for each strandstrand_strains (
List
[float
], default:<factory>
) – List of strand strains for each strandstrand_forces (
List
[Tuple
[float
,float
,float
]], default:<factory>
) – List of net forces for each strand geometry and its lever arm (force
,d_x
,d_y
)
Methods
Returns the minimum and maximum concrete stress.
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
meshed_reinforcement_sections
meshed_reinforcement_stresses
meshed_reinforcement_forces
lumped_reinforcement_geometries
lumped_reinforcement_stresses
lumped_reinforcement_strains
lumped_reinforcement_forces
strand_geometries
strand_stresses
strand_strains
strand_forces
- plot_stress(title='Stress', conc_cmap='RdGy', reinf_cmap='bwr', **kwargs)[source]#
Plots concrete and steel stresses on a concrete section.
- Parameters
title (
str
, default:'Stress'
) – Plot titleconc_cmap (
str
, default:'RdGy'
) – Colour map for the concrete stressreinf_cmap (
str
, default:'bwr'
) – Colour map for the reinforcement stresskwargs – Passed to
plotting_context()
- Returns
Axes
– Matplotlib axes object
- sum_forces()[source]#
Returns the sum of the internal forces.
- Returns
float
– Sum of internal forces