Dear all,

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?

Thanks.

Could you please write down mathematically what you want to plot exactly?

Yes.

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.

Thanks.

```
Vh stress = E * dx(u);
plot(stress);
```

It worked well.

Thanks a lot.