Skip to content

Allow fitting the Young's modulus to TensileTest data #12

Description

@aplowman

We would need to modify TensileTest in the following ways:

  • Add an elastic_range attribute (analogous to the current plastic_range attribute). Sensible default range would perhaps be [0, 0.01]
  • Remove the default value of the Young's modulus - this doesn't make much sense. Instead, we should raise an exception when the Young's modulus is not set but a method that requires it is invoked.
  • Add a method fit_youngs_modulus which should fit the true stress-strain data within the elastic_range to a straight line model and then set the youngs_modulus attribute (overwriting the previous value)
  • Add more visualisations to the TensileTest.show method:
    • Elastic and plastic ranges
    • Fitted elastic data

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions