Please let me know how to plot the stress field for a model of beam. I have gone through the example beam-3D available in the examples. What changes can I make to plot the stress field?
Could you please write down mathematically what you want to plot exactly?
The variational form is as follows:
∫︁𝜆∇.𝑢∇.𝑣 + 2𝜇𝜖(u) : 𝜖(v) 𝑑𝑥 −∫︁v𝑓 𝑑𝑥 = 0;
and the expression that I want to plot is:
Stress=E*(du/dx), where E is a constant.
Vh stress = E * dx(u); plot(stress);
It worked well.
Thanks a lot.