m_n_kappa.points.MKappa#

class m_n_kappa.points.MKappa(cross_section, 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: Point

base class for computation of one Moment-Curvature-Point by varying the neutral axis

New in version 0.1.0.

works as base-class for MKappaByStrainPosition and MKappaByConstantCurvature

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

  • 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: Newton)

  • 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_iterations

maximum iterations

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

solver

used solver to computed equilibrium

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_iterations: int#

maximum iterations

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 solver: Solver#

used solver to computed equilibrium

property successful: bool#

indicates if strain has been computed successfully

property variable#

name variable that is changed to reach equilibrium of axial force