How to calculate difference of variables in Paraview Calculator

Dear Cummunity,

First and foremost, thanks for developing such great tool like Paraview.
I am importing an exodus file (.e) containing the results of a transient simulation.
For some of my variebles (both the Point Data and Cell Data types) I want to calculate the difference between that variable in each time step with the value at time step 1. It should give me kind of difference between each time step and time step 1. With the calculator I can do calculations on each variable but I could not find a way to subtract the variable from its own value at a especific time step.

I very much appreciate any help.
Cheers

Hi,

Filters → TemporalArrayOperator

Thanks @mwestphal ,
I tried it and to somehow it is what I neede, but is there any other way to make the substraction dynamic? At the moment this filter explicitely asks for two time steps but I am looking for a way subtract all the existing time steps from time step 1.

This can be done but it a bit more complex.

  • run ParaView
  • File → Open → yourFile, Apply
  • Filters → ForceTime → select timestep 1 → Apply
  • Select both yourFile and ForceTime in the pipeline using control
  • Add a python Calculator and use an expression like:

inputs[0].PointData["arrayName"] - inputs[1].PointData["arrayName"]

  • Apply