function [STR,ALP,EP,D]=COMBHARD(MP,D,DEPS,STRN,ALPN,EPN,LTAN) %****************************************************************************** % Linear combined isotropic/kinamtic hardening plasticity model % %****************************************************************************** %% % IDEN = [1 1 1 0 0 0]'; TWO3=2/3; STWO3=sqrt(TWO3); % Identity tensor & const. MU=MP(2); BETA=MP(3); H=MP(4); Y0=MP(5); % Material properties STRTR=STRN + D*DEPS; % Trial stress I1=sum(STRTR(1:3)); % Trace(sigmatr) STR=STRTR - I1*IDEN/3; % Deviatoric stress ETA=STR - ALPN; % Shifted stress ETAT=sqrt(ETA(1)^2+ETA(2)^2+ETA(3)^2+2*(ETA(4)^2+ETA(5)^2+ETA(6)^2)); % Norm FYLD=ETAT - STWO3*(Y0+(1-BETA)*H*EPN); % Trial yield function if FYLD