|
[Sponsors] |
[General] Paraview - How to operate multiple integrated values |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 7, 2019, 01:22 |
Paraview - How to operate multiple integrated values
|
#1 |
Member
Join Date: Aug 2018
Posts: 47
Rep Power: 8 |
Hi, everyone.
After applying a Slice filter, I further execute a series of filters and then apply Integrate Variables filter to obtain two integrated values (which are scalar). I wanna do further calculation on the integrated values, say one integrated value divided by another value. In Paraview, it doesn't allow me to apply Calculator filter to operate the integrated values (pls correct me if i missed sth). One approach is to export the value as csv file, and do the calculation in excel, but it is not a user friendly way. my question is how to operate the integrated values directly in Paraview, without exporting to csv. Hope someone here can help. Many thanks in advance. |
|
August 8, 2019, 04:16 |
|
#2 |
Senior Member
Mikko
Join Date: Jul 2014
Location: The Hague, The Netherlands
Posts: 243
Rep Power: 13 |
You can use Calculator filter with the integrated values.
|
|
August 10, 2019, 20:18 |
|
#3 |
Member
Join Date: Aug 2018
Posts: 47
Rep Power: 8 |
can you tell more how to operate calculator filter to handle two "separated" integrated values; whilst "separated" means that the integrated values come from different series of preceding filters? i tried but no "separated" integrated values can be chosen at a single calculator filter.
i found append attributes work in my case. but, when i try to further do the plot selection over time, the results are strange that the variable title and the values are mismatching and some values are missing. anyone can suggest alternative workaround? |
|
August 11, 2019, 08:41 |
|
#4 |
Senior Member
Mikko
Join Date: Jul 2014
Location: The Hague, The Netherlands
Posts: 243
Rep Power: 13 |
I would use Python and fetch the integrated values and plot them with matplotlib. Here is an example script: Integral average of velocity values on a slice
|
|
August 12, 2019, 07:08 |
|
#5 |
Member
Join Date: Aug 2018
Posts: 47
Rep Power: 8 |
thanks for yr information
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[General] Viewing multiple visualizations in one window with paraview | arieljeds | ParaView | 2 | October 15, 2019 04:40 |
Set cell volume integrated field values to preserve integral | Diro7 | OpenFOAM Pre-Processing | 2 | June 3, 2018 11:44 |
[OpenFOAM] Different Initial values in Paraview | fredicenci | ParaView | 1 | March 28, 2017 19:14 |
[OpenFOAM] Contour maps of integrated values | ozzythewise | ParaView | 0 | March 29, 2011 17:09 |
paraview installation woes | vex | OpenFOAM Installation | 15 | January 30, 2011 08:11 |