### Vector field decomposed in tang and normal component

Posted:

**24 Nov 2023, 20:15**Hi all

Using Paraview, I would like to split the 2D vector field along the edge of two materials in its tangential and normal components. In other words: I'm interested in the scalar value of the projection of the 2D vector field onto the tangential edge vector.

The normal and tangential vectors on the lower material I did get with following filters: 1) Threshold, 2) Extract Surface, 3) Feature Edges and lastly with a 4) Programmable Filter. You can see the vectors in yellow.

But I don't understand how to access now the electric field E and calculate the projection (proj=dot(E,tang)/tang_norm) to finally visualize it using a line chart.

Any help warmly welcomed... thx

*****

I posted the question already on the Paraview support page but did not get any help so far. There you can download the files. Here is the link:

https://discourse.paraview.org/t/vector ... duct/13100

*****

Using Paraview, I would like to split the 2D vector field along the edge of two materials in its tangential and normal components. In other words: I'm interested in the scalar value of the projection of the 2D vector field onto the tangential edge vector.

The normal and tangential vectors on the lower material I did get with following filters: 1) Threshold, 2) Extract Surface, 3) Feature Edges and lastly with a 4) Programmable Filter. You can see the vectors in yellow.

But I don't understand how to access now the electric field E and calculate the projection (proj=dot(E,tang)/tang_norm) to finally visualize it using a line chart.

Any help warmly welcomed... thx

*****

I posted the question already on the Paraview support page but did not get any help so far. There you can download the files. Here is the link:

https://discourse.paraview.org/t/vector ... duct/13100

*****