How to Plot Stress Contour??

62 views (last 30 days)
Shubhang Jain
Shubhang Jain on 28 Jun 2020
Commented: darova on 4 Jul 2020
I am a beginner , My doubt is that I have to Plot Stress Contour of tapered cantilever beam analysed using FEA now I have the value of element Stresses like sigmax , sigmay , tauxy ? How to proceed ?? Please Help..
  11 Comments
darova
darova on 1 Jul 2020
Edited: darova on 1 Jul 2020
Here is an example using pcolor
[x,y] = meshgrid(-2:0.1:2);
stress = x.^2+y.^2;
pcolor(x,y,stress)
Shubhang Jain
Shubhang Jain on 1 Jul 2020
Sigma_X, Sigma_Y , Tau_XY are the stress components values at each nodes (18) in this case . X and Y axis are the boundary of the problem .

Sign in to comment.

Answers (1)

darova
darova on 1 Jul 2020
Reshape your data to create a matrix
stress = reshape(Sigma_X,6,3);
And use pcolor
[x,y] = meshgrid(1:3,1:6);
Sigma_X = 1.0e+03 * [-4299.57587958638 -3965.44553517593 -3204.63754334495 -2292.69609509300 -1230.97384069952 -654.515387137445 7.73070496506989e-12 8.64019966684282e-12 1.11413100967184e-11 1.02318153949454e-11 2.84217094304040e-12 -1.93267624126747e-12 4299.57587958640 3965.44553517595 3204.63754334497 2292.69609509302 1230.97384069952 654.515387137441];
Sigma_Y = [-321.901962451787 -171.276004860075 -78.8000793342068 -101.167806049306 -108.580704946648 -151.775909194735 -43.0911561819484 -52.5066078518920 -96.8460482931672 -92.9813362559606 -169.657107326625 -285.121579205828 235.719650087890 66.2627891562907 -114.892017252128 -84.7948664626148 -230.733509706602 -418.467249216922];
Tau_XY =[ -795.818460340878 -847.839977192489 -889.271783271534 -792.615142694200 -700.220084886960 -693.891956884487 -669.856459330285 -655.783844638485 -684.491978609799 -643.356643356871 -610.298792117163 -661.157024793497 -543.894458319692 -463.727712084480 -479.712173948064 -494.098144019542 -520.377499347365 -628.422092702508] ;
stress = reshape(Sigma_X,6,3);
pcolor(x,y,stress)
  2 Comments
Shubhang Jain
Shubhang Jain on 3 Jul 2020

Thanks for the tip . It really helped .

Sign in to comment.

Categories

Find more on Stress and Strain in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!