I am trying to calculate the second and third invariants for a turbulent flow. I have the second order statistics (both transient and averaged). i.e $uu$, $vv$, $ww$, $uv$, $vw$ and $uw$. These are supposed to be expanded as
$$II = b_{ij} / 2 \, ,$$
and
$$III = b_{ij} b_{jk} b_{ki}/3 \, ,$$
but I am stuck at this point on how to expand them further to get the second and third invariants.