StressResult#

class concreteproperties.results.StressResult(concrete_section: ConcreteSection, concrete_analysis_sections: list[AnalysisSection], concrete_stresses: list[np.ndarray], concrete_forces: list[tuple[float, float, float]], meshed_reinforcement_sections: list[AnalysisSection], meshed_reinforcement_stresses: list[np.ndarray], meshed_reinforcement_forces: list[tuple[float, float, float]], lumped_reinforcement_geometries: list[CPGeom], lumped_reinforcement_stresses: list[float], lumped_reinforcement_strains: list[float], lumped_reinforcement_forces: list[tuple[float, float, float]], strand_geometries: list[CPGeom] = <factory>, strand_stresses: list[float] = <factory>, strand_strains: list[float] = <factory>, strand_forces: list[tuple[float, float, float]] = <factory>, _m_net: float | None = 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 the plot_mesh() or plot_shape()

  • concrete_stresses (list[np.ndarray]) – List of concrete stresses at the nodes of each concrete analysis section

  • concrete_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 analysis

  • meshed_reinforcement_stresses (list[np.ndarray]) – List of meshed reinforcement stresses at the nodes of each meshed reinforcement analysis section

  • meshed_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 analysis

  • lumped_reinforcement_stresses (list[float]) – List of lumped reinforcement stresses for each lumped geometry

  • lumped_reinforcement_strains (list[float]) – List of lumped reinforcement strains for each lumped geometry

  • lumped_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]) – List of strand geometry objects present in the stress analysis

  • strand_stresses (list[float]) – List of strand stresses for each strand

  • strand_strains (list[float]) – List of strand strains for each strand

  • strand_forces (list[tuple[float, float, float]]) – List of net forces for each strand geometry and its lever arm (force, d_x, d_y)

Methods

get_concrete_stress_limits

Returns the minimum and maximum concrete stress.

plot_stress

Plots concrete and steel stresses on a concrete section.

sum_forces

Returns the sum of the internal forces.

sum_moments

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: str = 'Stress', conc_cmap: str = 'RdGy', reinf_cmap: str = 'bwr', **kwargs) matplotlib.axes.Axes[source]#

Plots concrete and steel stresses on a concrete section.

Parameters:
  • title (str) – Plot title

  • conc_cmap (str) – Colour map for the concrete stress

  • reinf_cmap (str) – Colour map for the reinforcement stress

  • kwargs – Passed to plotting_context()

Returns:

Matplotlib axes object

Return type:

matplotlib.axes.Axes

sum_forces() float[source]#

Returns the sum of the internal forces.

Returns:

Sum of internal forces

Return type:

float

sum_moments() tuple[float, float, float][source]#

Returns the sum of the internal moments.

Returns:

Sum of internal moments about each axis and resultant moment (m_x, m_y, m)

Return type:

tuple[float, float, float]

get_concrete_stress_limits() tuple[float, float][source]#

Returns the minimum and maximum concrete stress.

Returns:

Minimum concrete stress, maximum concrete stress

Return type:

tuple[float, float]