Dear Materials Studio Experts,
Since I'm working on inhomogeneous materials, I need to apply StressComponent ZX (instead of the built-in StressComponent XZ). Can anyone help me take a look, or modify this script? thank you very much.
I'm in a hurry, and I can also give some compensation.
Delete the suffix .txt to get the original script.pl

Have you tried redefining the lattice (Build | Symmetry | Redefine Lattice, X → −Z, Z → X)? If so, what problem are you experiencing applying a shear stress?
I have solved this problem by adjusting the lattice orientation, thanks.
I failed again, the model after rotating the cell orientation does not allow reasonable stress loading.
So still the initial question, can anyone tell me how to apply the StressComponent ZX ?