필터 지우기
필터 지우기

How can I do a drawing of this shape؟

조회 수: 1 (최근 30일)
HAMZA NASSAR
HAMZA NASSAR 2018년 8월 17일
댓글: HAMZA NASSAR 2019년 12월 1일
%File of Result of stress by FEM v=0.35;% Poission ratio sv=66;% vertical stress sh=45;% min horizontal stress Pp=30;% pore pressure sH=75; % max horizontal stress a=0.08;
m=0:39; r=a+(5..*10.^-3+0.1.*m); n=linspace(1,120,40) theta= (3./2+3.*(n-1)) az=0; inc=0; b=((a.^2)./(r.^2)); N=40; % eqn 3.2.6 sx = sH.*(cos(az).* cos(r)).^2 + sh.*(sin(az).*cos(inc)).^2 + sv.*(-sin(inc).^2); sy = sH.*(-sin(az)).^2 + sh.*(cos(az)^2); sz = sH.*((cos(az).* sin(inc)).^2) + sh.*(sin(az).^2).*(sin(inc).^2)+ sv.*(cos(inc).^2); syz = (sH.*-sin(az).*sin(inc).*cos(az))+(sh.*cos(az).* sin(inc).*sin(az))+(sv.*cos(inc).*0); sxz = (sH.*cos(az).* cos(az).*sin(r).*sin(r))+(sh.*sin(az).*cos(inc).*sin(az).*sin(inc))+(sv.*- sin(r).*cos(inc)); sxy =(sH*cos(az)* cos(inc)*-sin(az))+ (sh*sin(az)*cos(inc)*cos(az))+(sv*-sin(inc)*0); sigma_tt = 0.5.*(sx + sy).*(1 +b) - 0.5.*(sx - sy).*(1 + 3.*b).*cos(2.*theta) - sxy.*(1 + 3.*b).*sin(2.*theta);
  댓글 수: 3
Image Analyst
Image Analyst 2018년 8월 17일
Not sure what the code does. I guess it does something but not what you want.
Please Read this link and format your code.
For what it's worth, I've attached my color wheel demo. Adapt as needed.
HAMZA NASSAR
HAMZA NASSAR 2018년 8월 18일
Is it possible to give me a code format that achieves the same code

댓글을 달려면 로그인하십시오.

채택된 답변

Chad Greene
Chad Greene 2018년 8월 18일
It looks like a polar pcolor plot , where color indicates the magnitude of stress?

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Stress and Strain에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by