Maximum tensile and compressive stress in XY plane
aslund
Member Posts: 1 **
I want to plot the maximum tensile stress in the xy-plane and the maximum compressive stress in the xy-plane.
I am able to extract the x and y stress using the python result snippet inside Mechanical, however I'm struggling to perform the math using logic and for loops to evaluate each element:
- If the stress in both directions is positive the maximum tensile stress is the squareroot of the two sums squared.
- If the stress in both directions is negative the maximum compressive stress is minus the squareroot of the two sums squared
- If the stress in one direction is positive and in the other is negative, depending on their magnitutes the element is in tensile or compression.
Could you give me any guidance on how to perform these types of calculations using the dpf library inside Mehcanical?
Tagged:
0
Answers
-
@Ramdane I think can get you pointed in the right direction
0