m_n_kappa.MKappaByStrainPosition#

class m_n_kappa.MKappaByStrainPosition(cross_section, strain_position, maximum_curvature=None, minimum_curvature=None, positive_curvature=None, applied_axial_force=0.0, maximum_iterations=10, axial_force_tolerance=5.0, solver=<class 'm_n_kappa.solver.Newton'>, is_called_by_user=True)#

Bases: MKappa

computation of one Moment-Curvature-Point by fixed stress-strain_value-point and varying the neutral axis

New in version 0.1.0.

Parameters:
  • cross_section (Crossection) – cross-section to compute

  • strain_position (StrainPosition) – position_value of the given strain_value (Default: None)

  • maximum_curvature (float) – maximum positive or negative allowed curvature (Default: None)

  • minimum_curvature (float) – minimum positive or negative allowed curvature (needs same sign as edge_strains, Default: None)

  • applied_axial_force (float) – applied axial force (Default: 0.0)

  • maximum_iterations (int) – maximum allowed iterations (Default: 10) In case the given number of iterations before axial force within desired tolerance, the computation is classified as not successful and will be stopped

  • axial_force_tolerance (float) – if axial force within this tolerance the computation is terminated and classified as successful (Default: 5.0)

  • solver (Solver) – used solver (Default: solver.Newton)

  • positive_curvature (bool) –

  • is_called_by_user (bool) –

Methods

axial_force_equilibrium()

latest computed axial-force-value

compute()

compute the cross-section with given initial values (curvature and neutral axis) and save it

initialize_boundary_curvatures()

Attributes

applied_axial_force

axial-force the strain is to be computed

axial_force

latest computed axial-force-value

axial_force_tolerance

tolerance the axial_force_equilibrium() must be within for a successful computation

computations

conducted computations

computed_cross_section

computed cross_section of the current iteration

cross_section

cross-section to be computed

curvature

iteration

number of iteration

maximum_curvature

maximum positive or negative allowed curvature

maximum_iterations

maximum iterations

minimum_curvature

minimum positive or negative allowed curvature

moment

computed moment of the cross_section

neutral_axis

point where strain_value is zero

not_successful_reason

In case computation was not successful gives a reason

positive_curvature

True indicates a positive curvature

solver

used solver to computed equilibrium

strain_position

position_value of the given strain_value

successful

indicates if strain has been computed successfully

variable

name variable that is changed to reach equilibrium of axial force

axial_force_equilibrium()#

latest computed axial-force-value

Return type:

float

compute()#

compute the cross-section with given initial values (curvature and neutral axis) and save it

Return type:

None

property applied_axial_force: float#

axial-force the strain is to be computed

property axial_force: float#

latest computed axial-force-value

property axial_force_tolerance: float#

tolerance the axial_force_equilibrium() must be within for a successful computation

property computations: list[m_n_kappa.points.Computation]#

conducted computations

property computed_cross_section: m_n_kappa.crosssection.ComputationCrosssectionStrain | m_n_kappa.crosssection.ComputationCrosssectionCurvature#

computed cross_section of the current iteration

property cross_section: Crosssection#

cross-section to be computed

property curvature: float#
property iteration: int#

number of iteration

property maximum_curvature: float#

maximum positive or negative allowed curvature

property maximum_iterations: int#

maximum iterations

property minimum_curvature: float#

minimum positive or negative allowed curvature

property moment: float#

computed moment of the cross_section

property neutral_axis: float#

point where strain_value is zero

property not_successful_reason: NotSuccessfulReason#

In case computation was not successful gives a reason

property positive_curvature: bool#

True indicates a positive curvature

property solver: Solver#

used solver to computed equilibrium

property strain_position: StrainPosition#

position_value of the given strain_value

property successful: bool#

indicates if strain has been computed successfully

property variable#

name variable that is changed to reach equilibrium of axial force

New in version 0.2.0.