You are on page 1of 5

Theory of Elasticity and Plasticity

Assignment-1
SAIKRISHNA ABBURI
CE19MTECH11019

STRESS vs STRAIN WITH ISOTROPIC AND KINEMATIC HARDENING

PROGRAM

clear all;
clc;
E=2*10^5; %Modulus of elasticity
K=2000; %Assumed Isotropic hardening modulus
H=1000; %Assumed Kinematic hardening modulus
sigy=250; %Yield stress
%%Stored variables
n=400;
A=zeros(n,1);
B=zeros(n,1);
en=zeros(1,1); %Total strain
epn=zeros(1,1); %Plastic strain
an=zeros(1,1); %Isotropic hardening variable
qn=zeros(1,1); %Back stress in Kinematic hardening
sign1=zeros(1,1); %Initial stres
den=0.0001; % Strain increment
x=zeros(1,1);

for i=1:n %Number of iteration to be done


en=en+den; %Strain increment
ant=an; %trail Isotropic hardening variable
qnt=qn; %trial Back stress
epnt=epn; %trial Plastic strain
sigt=E*(en-epn); %trial stress
xt=sigt-qn; %sigma(n+1)-q(n+1)
Ytr=abs(xt)-(sigy+K*an); %Yield function
if Ytr<=0
%% Elastic Step

an(1,1)=ant;
qn(1,1)=qnt;
sign1(1,1)=sigt;
epn=epnt;
Cep=E; % elastic modulus
else
%% Plastic Step
delL=Ytr/(E+H+K); % error calculation(slip rate)
sign1(1,1)=sigt-delL*E*sign(xt); %Stress calculation
epn(1,1)=epn(1,1)+delL*sign(xt); %Plastic strain
qn(1,1)=qn(1,1)+delL*sign(xt); %Back strain
an(1,1)=an(1,1)+delL; %Isotropic hardening variable
Cep=E*(K+H)/(E+K+H); %Tangent modulus
end

A(i,1)=sign1(1,1); % stress vector


B(i,1)=en(1,1); %strain vector
end
plot(B,A)
xlim([0 0.02]);
title('Stress vs Strain for Isotropic and Kinematic hardening');
xlabel('Strain');
ylabel('Stress');
Initial strain of 0.0001 is considered thus the curve does not start
from (0,0) instead start from (0.0001,20). Isotropic hardening and
Kinematic hardening modulus is assumed to be 2000 and 1000 accordingly the
curve will change.
STRESS vs STRAIN WITH ISOTROPIC HARDENING

clear all;
clc;
E=2*10^5; %Modulus of elasticity
K=2000; %Assumed Isotropic hardening modulus
sigy=250; %Yield stress
%%Stored variables
n=400;
A=zeros(n,1);
B=zeros(n,1);
en=zeros(1,1); %Total strain
epn=zeros(1,1); %Plastic strain
an=zeros(1,1); %Isotropic hardening variable
sign1=zeros(1,1); %Initial stres
den=0.0001; % Strain increment
x=zeros(1,1);

for i=1:n %Number of iteration to be done


en=en+den; %Strain increment
ant=an; %trail Isotropic hardening variable
epnt=epn; %trial Plastic strain
sigt=E*(en-epn); %trial stress
xt=sigt; %sigma(n+1)-q(n+1)
Ytr=abs(xt)-(sigy+K*an); %Yield function
if Ytr<=0

%% Elastic Step

an(1,1)=ant;
sign1(1,1)=sigt;
epn=epnt;
Cep=E; % elastic modulus
else
%% Plastic Step
delL=Ytr/(E+K); % error calculation(slip rate)
sign1(1,1)=sigt-delL*E*sign(xt); %Stress calculation
epn(1,1)=epn(1,1)+delL*sign(xt); %Plastic strain
%qn(1,1)=qn(1,1)+delL*sign(xt); %Back strain
an(1,1)=an(1,1)+delL; %Isotropic hardening variable
Cep=E*(K)/(E+K); %Tangent modulus
end

A(i,1)=sign1(1,1); % stress vector


B(i,1)=en(1,1); %strain vector
end
plot(B,A)
xlim([0 0.02]);
title('Stress vs Strain for Isotropic and Kinematic hardening');
xlabel('Strain');
ylabel('Stress');
Initial strain of 0.0001 is considered thus the curve does not start from
(0,0) instead start from (0.0001,20). Isotropic hardening modulus is assumed
to be 2000 accordingly the curve will change.

You might also like