Function stress
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Write a user defined funtion that determines the principle stress for the stress components.
Here is what I did:
function [ Smax,Smin ] = princstress( Sxx,Syy,Sxy )
%This function is going to be used to calculate the principal stresses
a=(Sxx+Syy)/2;
b=sqrt(((Sxx-Syy)/2)^2+Sxy^2);
Smax=a+b
Smin=a-b
end
Does that look right?
0 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Stress and Strain finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!