Stress Strain calculation in matlab

31 vues (au cours des 30 derniers jours)
Ilksen Altuntas
Ilksen Altuntas le 18 Fév 2023
I have about 1000 force and stroke values from a tensile test data. How can I transfer these values to matlab program? I need to show these operations on code. But since it is close to 1000, how should I find stress strain for each value by writing code?
  2 commentaires
the cyclist
the cyclist le 18 Fév 2023
How are these values stored now? The method for getting them into MATLAB will depend on that. Can you upload the data? (You can use the paper clip icon in the INSERT section of the toolbar.)
It sounds like you might have very little MATLAB experience. I suggest you try the free MATLAB Onramp tutorial.
Cameron
Cameron le 22 Fév 2023
Force and stroke won't get you a stress-strain curve. You need to divide the force by the cross sectional area to get stress, and you need either an extensometer or strain gage to monitor strain. In the case of a dog-bone specimen, you can make an assumption that all straining occurs in the reduced area section, but this will likely not be very accurate of local strain. So as it stands, you cannot get an accurate value for yield, elongation at fracture, etc. for your given force and stroke inputs.

Connectez-vous pour commenter.

Réponses (1)

William Rose
William Rose le 22 Fév 2023
Good advice from @the cyclist, as always. And from @Cameron also.
If you just have a text file with 2 columns of numbers, do something like
A=load('testdata1.txt');
and you will get a matrix 'A' with two columns of data, which you can manipulate as you wish.
If you have a text file with headers, then you can do
B=importdata('testdata.txt');
which creates a structure 'B'. The column headers are in the cell array B.colheaders, and the data is in the double array B.data, which you can use for your calculations.
Try it.

Catégories

En savoir plus sur Stress and Strain dans Help Center et File Exchange

Produits


Version

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by