m_n_kappa.general.strain#

m_n_kappa.general.strain(neutral_axis_value, curvature_value, position_value)#

compute the strain from its position, the neutral axis and the curvature value

This method assumes a linear strain distribution over the height.

Parameters:
  • neutral_axis_value (float) – position where strain is zero

  • curvature_value (float) – value of the curvature

  • position_value (float) – geometric position of the strain

Returns:

strain from its position, neutral axis and curvature value

Return type:

float

Raises:

ValueError – if curvature is zero

See also

curvature()

compute curvature from strain, its position and neutral axis

neutral_axis()

compute curvature from strain, its position and curvature

position()

compute position of strain from neutral-axis and curvature

Examples

>>> from m_n_kappa.general import strain
>>> strain(neutral_axis_value=10, curvature_value=0.0001, position_value=0.0)
-0.001