Code covered by the BSD License  

Highlights from
WTS (formerly Leonov) + GUI

image thumbnail
from WTS (formerly Leonov) + GUI by Michael Wendlandt
Calculates stress vs. strain curves of plastically deformed glassy polymers. GUI available.

dp=dplas(sig,tau0,A0,H0,T)
function dp=dplas(sig,tau0,A0,H0,T)

%Calculates the plastic strain rate as a function of the stress tensor sig
if taueq(sig)==0
    dp=dev(sig)/ (2 * A(A0,H0,T) * tau0);
else
    dp=dev(sig)* sinh(taueq(sig)/tau0) / (2 * A(A0,H0,T) * taueq(sig));
end

Contact us at files@mathworks.com