Python Forum
Finding the Young's Modulues in a curve stress strain
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Finding the Young's Modulues in a curve stress strain
#1
Hello !


I am working on my scrip, I import some date and I plot a curve stress x strain, I have to get the Young's Modulus, the Limit of Elasticity and the Stress at 0,2% of plastic deformation. Does anyone know how can I get the young's modulus ?

I did the following for importing my data and plotting it:

import numpy as np
import math 
import matplotlib.pyplot as plt
import os.path

def founction_chemin ():
    print ("\nEntrez le chemin des données expérimentales de l'essai de traction:\n")
    chemin_entre=[]
    chemin_entre=input()
    return chemin_entre

def Variables():
    variable = []
    variable=input()
    return (float(variable))

#déclaration des variables

chemin= founction_chemin()
data_from_file = np.loadtxt(chemin)

print ("\nEntrez le rayon en mm")
rayon = Variables () 
surface= (((rayon)*10.**(-3.))**2)*math.pi
print ("\nEntrez la longuer en mm")
longueur = Variables()

deformations = ((data_from_file[:,1])/longueur)*100 #100%
contraintes = ((data_from_file[:,2])/surface)

#paramètres matériaux
#contrainte maximale
contrainte_maximale = contraintes.max()

plt.plot(deformations, contraintes)
plt.title("Courbe contrainte x déformation")
plt.xlabel('Déformation (%)')
plt.ylabel('Contrainte (Pa)')
PS: variables and descriptions are in French

Thank you very much !
Reply
#2
According to wikipedia, Young's modulus is the stress divided by the strain, or in french the "contrainte" divided by the "déformation". As you are plotting the stress versus the strain, I think it shouldn't be too difficult.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Maths and python: Compute stress level cheerful 1 2,676 Oct-20-2021, 10:05 AM
Last Post: Larz60+
  Line of best fit for forward bias curve? StillAnotherDave 6 3,098 Feb-05-2020, 12:46 PM
Last Post: jefsummers
  [Maya] MASH Curve node in Python Tomatoprincess 1 2,675 Jun-17-2019, 03:21 PM
Last Post: Tomatoprincess

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020