m_n_kappa.curves_m_kappa.MKappaCurvePoints#

class m_n_kappa.curves_m_kappa.MKappaCurvePoints#

Bases: object

Container for points on computed \(M\)-\(\kappa\)-Curve

New in version 0.1.0.

Methods

add(moment, curvature, neutral_axis, ...)

add moment-curvature point to list

curvature(by_moment)

get curvature at given moment

maximum_moment()

computes the maximum moment of the curve

maximum_neutral_axis()

determine maximum neutral-axis

minimum_neutral_axis()

determine minimum neutral axis

moment(curvature)

determine the moment from the moment-curvature associated with the given curvature value

results_as_dict([moment_factor])

The moment-curvature points as descriptive Dictionary.

Attributes

curvatures

computed curvatures of the Moment-Curvature-Curve

materials

materials the strain-position-points is obtained from that lead to moment-curvature pair

moments

computed moments of the Moment-Curvature-Curve

points

\(M\)-\(\kappa\)-curve points

positions

positions that lead to moment-curvature pair

strains

strains that lead to moment-curvature pair

add(moment, curvature, neutral_axis, cross_section, strain_position)#

add moment-curvature point to list

Parameters:
  • moment (float) – computed moment of the point

  • curvature (float) – computed curvature of the point

  • neutral_axis (float) – computed neutral-axis leading to equilibrium (after variation)

  • cross_section (MKappaByStrainPosition) – computed cross-section

  • strain_position (StrainPosition) – strain and its position

Return type:

None

curvature(by_moment)#

get curvature at given moment

Parameters:

by_moment (float) – moment the curvature is to be computed from

Returns:

curvature \(\kappa\) computed from the given moment

Return type:

float

Raises:

ValueError – in case the moment is outside the computed moment-range

maximum_moment()#

computes the maximum moment of the curve

Return type:

float

maximum_neutral_axis()#

determine maximum neutral-axis

Return type:

float

minimum_neutral_axis()#

determine minimum neutral axis

Return type:

float

moment(curvature)#

determine the moment from the moment-curvature associated with the given curvature value

Parameters:

curvature (float) – curvature-value a moment is looked for

Returns:

moment associated with the given curvature-value

Return type:

float

results_as_dict(moment_factor=1.0)#

The moment-curvature points as descriptive Dictionary.

Following keys are given with the corresponding lists:

  • 'Moment': computed moments of the moment curvature curve

  • 'Curvature': computed curvatures of the moment-curvature curve

  • 'Strain': strains that lead to the above given moment-curvature-pair

  • 'Position': position that corresponds to the above given strain

  • 'Material': material strain and position are obtained from

Parameters:

moment_factor (float) – factor to compute the moment (default: 1.0)

Returns:

moment-curvature points

Return type:

dict

property curvatures: list[float]#

computed curvatures of the Moment-Curvature-Curve

property materials: list[str]#

materials the strain-position-points is obtained from that lead to moment-curvature pair

property moments: list[float]#

computed moments of the Moment-Curvature-Curve

property points: list[m_n_kappa.curves_m_kappa.MKappaCurvePoint]#

\(M\)-\(\kappa\)-curve points

property positions: list[float]#

positions that lead to moment-curvature pair

property strains: list[float]#

strains that lead to moment-curvature pair