Calculating Fluctuation in Paraview
This is to show the way to calculate variable (e.g. pressure) fluctuation in Paraview.
To calculate the \(\tilde{p} = p - \bar{p}\) in Paraview, where \(\bar{p}\) is the time average.
- Open the data (.vtk files) as object
p
and saying it contains the variablepressure
. - Calculate the time average using the filter Temporal Statistics (Filters -> Temporal -> Temporal Statistices) and the output is the object
TemporalStatistics1
. - Selecte the
p
and theTemporalStatistics1
, and apply the filter Append Attributes. The output isAppendAttributes1
. - Use a Calculator to subtract pressure_average from pressure.
Reference
Paraview Forum Discussion: https://public.kitware.com/pipermail/paraview/2012-May/024845.html