Syntax
Get the second stress invariant. The tensor must be of size three. This is defined as I2=σx∗σy+σy∗σz+σx∗σz−τxy2−τyz2−τxz2 .