I want to plot all the yield criterion (Tresca,Von-Mises,Mohr-Coulomb,Drucker-Prager) in sigma1-sigma2-sigma3 stress space using matlab . If anybody does have any experience on doing this, kindly help me.
a) Make a function in Matlab that accepts stress tensor. Calculate the Eigenvectors and Eigenvalues using eig() function.
b) Use the analytical definitions of Tresca, Von Mises, M-C and DP to set up the analytical functions with respect to sig1, sig2 and sig3. Use symbolic sig1, sig2 and sig3 variables.
c) Make a loop over values of sig1, sig2 and sig3 to form different triads of (sig1, sig2, sig3) using each analytical definition of Tresca, VM, MC and DP separately.
d) plot each triad of (sig1, sig2, sig3) using plotting functions depending on your desired method of representation.
Try to use meshgrid(), and ezmesh() functions to form triads and plot 'em.
a) Make a function in Matlab that accepts stress tensor. Calculate the Eigenvectors and Eigenvalues using eig() function.
b) Use the analytical definitions of Tresca, Von Mises, M-C and DP to set up the analytical functions with respect to sig1, sig2 and sig3. Use symbolic sig1, sig2 and sig3 variables.
c) Make a loop over values of sig1, sig2 and sig3 to form different triads of (sig1, sig2, sig3) using each analytical definition of Tresca, VM, MC and DP separately.
d) plot each triad of (sig1, sig2, sig3) using plotting functions depending on your desired method of representation.
Try to use meshgrid(), and ezmesh() functions to form triads and plot 'em.
This is what I would do.. probably there are some things to fix... e.g. when traction is on probably axes must be shifted... but try it your self... cheers
In the use of 3D plot options in MATLAB, you can draw your diagrams. A 3D plot programming of my research was appended in the bellow. It is hoped that it will be useful.