Calculator filter is used to derive new variables from existing variables (e.g. Total Stress from Effective Stress and Pore Pressure, K ratios from Horizontal and Vertical Effective Stresses, etc). To do this:
1.Select the group dataset in the Pipeline Browser which contains the variable data to be used to calculate new derived variable. This can be either, original loaded data or a filtered dataset.
2.Click on the icon in the task bar or on Filters/Alphabetical/Calculator.
3.In the Calculator properties window (below Pipeline Browser) select either Point Data (nodes) or Cell Data (elements) to be used to calculate the derived variable
4.Write the name of the derived variable. After calculation this name will appear on the list of variables to plot and on the legend title. In the picture below it is "K ratio".
5.Define the calculated variable formula. Any of the operators shown in the properties window and any existing variables shown in the list from "Scalars" drop down menu can be used. Alternatively the formula may be typed directly. In the picture below "K ratio" is defined as Stress XX/Stress ZZ.
6.Click on . Note that it is common for an error message may pop up. This can be ignored and the calculated variable displayed by selecting it from the variable list in ParaView's drop down menu.
Calculator properties menu
Calculated effective stress ratio values