Hi,
In mumax3, the Slonczewski STT only works with currents in the z direction. When you use this type of set up for SOT, you are repuporpising the existing Slonczewski STT to do SOT (which is not natively built into mumax3). This is normally fine, but with the one limitation is that it still only sees currents in the z directions.
To fix this, there are two options. One is to rotate your entire sample, so that the x direction becomes z. The second is instead of repurposing STT, you use a Custom Fields approach. An example of Custom fields to do STT is given in the mumax tutorial
here. See session 4. Custom fields does not have any restrictions in terms of directions and but is otherwise equivalent to reusing STT.
The current effect you're seeing is due solely to Zhangli STT, which is not currently disabled and has a very different form from STT (see Eqs 26 and 28 in the mumax paper "The Design and verification of mumax3". Slonczewski type
torques go as mxm_pxm and mxm_p, where m_p is the polarization layer , whereas Zhangli go as mx(mx(udotgrad))m and mx(udotgrad)m ). You can set disableZhanglitorque=true to fully disable this, if you don't think it plays any role in your simulation.
Best regards,
Josh L.