Numerics of "Gradient Of Unstructured DataSet" Filter

Hi Kenneth and Jmuskat,
I’m stack on a similar issue and hope you can help me!
As J, I want to compute Wss from velocity data. My raw data is a little bit different though. I have a volume of velocities (x,y,z) and an .stl file which defines the region of interest I want to study. The geometry is an aorta model. The velocity data came from mri data and the stl from a segmentation of the aorta from images.
This is what I did: GradientOfUnstructuredData of the velocity field to get the velocity tensor–> resample it over the .stl model–> extracted surface normals from the stl geometry.
I would like to ask you:

  1. if what I did so far is correct
  2. How would you compute the WSS having the 9 components of the tensor and the 3 components of the normal to the surface?

This was my idea:
WSS_x= viscosity* (t1n_x + t2n_y + t3n_z);
WSS_y= viscosity
(t4n_x + t5n_y + t6n_z);
WSS_y= viscosity
(t7n_x + t8n_y + t9*n_z);
and then compute the magnitude
Thanks a lot!