U Magnitude Value - SpreadSheetView in Plot Over Line

Hello,

I am trying to represent U Magnitude data in SpreadSheetView of Plot Over line. Please refer to the image below.

In the graph, U Magnitude is represented. But when I hit the button for SpreadSheetView, only Ux, Uy, Uz values are listed but U Magnitudes are not shown.
When exported to a csv file, the same representations without U Magnitues.

Can I add a column for U Magnitude on SpreadSheetView?

Please help,

Thanks.

Compute it using the calculator

@mwestphal Thanks for your answer.

But if I use the calculator filter, can I change all the Ux, Uy, Uz value to U Magnitude at once? I have total 1000 values of Ux, Uy, Uz in the SpreadSheetView.

Otherwise,
Is there any way to add the column for U Magnitude directly in SpreadSheetView?

Please help. Thanks.

Yes, use the following formula with the calculator filter:

sqrt(Ux^2 + Uy^2 + Uz^2)

My mistake, you vector has not been identified as an actual vector, how do you read your data ?

@mwestphal Sorry, I don’t understand what you meant. Can you explain it?

A few questions first.

  1. Which version of ParaView are you using ? From Where ?
  2. Where is your data coming from ? Which format ?

@mwestphal

  1. ParaView 5.6.0 64-bit. From OpenFoam v9
  2. The data is from the results of simpleFoam simulation, using OpenFoam v9.

Ok got it. Just do not use an old version of ParaView, but the last one from https://www.paraview.org/download/. Magnitude should appears.

Ok. Let me try it and will let you know if it works.

Thanks @mwestphal

@mwestphal
That works!
After using the latest version of ParaView, U Magnitudes are shown up.

Thanks, @mwestphal !!!