ASME section VIII requires the sum of the principal stresses. I would like a plot of the sum of the principal stresses at every node. I need to find the node that has the maximum sum of the principal stresses. Can I do this in workbench somehow?


If you are familiar with ANSYS commands, you could insert a command object under the "Solution" branch with commands like those below. This will retrieve the S1 principal stress value for every corner node and then add S2 and add S3. The data overwrites the UX data and a png plot is made of it. The UX data is then put back in place. The /view sets how the model is oriented. I used the *STAT lines to check a point in a model of mine.

If you are not familiar with ANSYS commands, you should not use the below command stream. ANSYS Workbench does not have this quantity available directly.

*get,nd_mx,node,,num,maxd
*dim,sdat,array,nd_mx,3
nsle,u,mid
*vget,sdat(1,1),node,1,nsel
*vmask,sdat(1,1)
*vget,sdat(1,2),node,1,s,1
!*stat,sdat(1,1),31,31,2,2
*vcum,1
*vmask,sdat(1,1)
*vget,sdat(1,2),node,1,s,2
!*stat,sdat(1,1),31,31,2,2
*vcum,1
*vmask,sdat(1,1)
*vget,sdat(1,2),node,1,s,3
!*stat,sdat(1,1),31,31,2,2
*vscfun,nd_loc_mx,lmax,sdat(1,2)
*stat,sdat(1,1),nd_loc_mx,nd_loc_mx,2,2
!
*vmask,sdat(1,1)
*vget,sdat(1,3),node,1,u,x
*vmask,sdat(1,1)
*vput,sdat(1,2),node,1,u,x
nsel,all
/sho,png
/view,1,1,2,3
plns,u,x
!
*vmask,sdat(1,1)
*vput,sdat(1,3),node,1,u,x ! return original data





Show Form
No comments yet. Be the first to add a comment!