Partial Differential Equation Toolbox | ![]() ![]() |
Calculate structural mechanics tensor functions
Syntax
Description
ux=pdesmech(p,t,c,u,p1,v1,...)
returns a tensor expression evaluated at the center of each triangle. The tensor expressions are stresses and strains for structural mechanics applications with plane stress or plane strain conditions. pdesmech
is intended to be used for postprocessing of a solution computed using the structural mechanics application modes of the pdetool
GUI, after exporting the solution, the mesh, and the PDE coefficients to the MATLAB main workspace. Poisson's ratio, nu
, has to be supplied explicitly for calculations of shear stresses and strains, and for the von Mises effective stress in plane strain mode.
Valid property name/property value pairs include the following.
The available tensor expressions are
exx
, the x-direction strain (eyy
, the y-direction strain (exy
, the shear strain (sxx
, the x-direction stress (syy
, the y-direction stress (sxy
, the shear stress (e1
, the first principal strain (e2
, the second principal strain (s1
, the first principal stress (s2
, the second principal stress (von Mises
, the von Mises effective stress, for plane stress conditions
Examples
Assuming that a problem has been solved using the application mode "Structural Mechanics, Plane Stress," discussed in Structural Mechanics -- Plane Stress, and that the solution u
, the mesh data p
and t, and the PDE coefficient c
all have been exported to the MATLAB main workspace, the x-direction strain is computed as
To compute the von Mises effective stress for a plane strain problem with Poisson's ratio equal to 0.3, type
![]() | pdesdp, pdesde, pdesdt | pdesurf | ![]() |