Evaluate fluid shear stress similar to what they did in Von Mises stress

As I stated above, project the stresses into a suitable function space, i.e.
follow the code of: Obtain velocity normal to boundary - #2 by dokken
replacing n in that code with Tn or Tt.