CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[General] Paraview - How to operate multiple integrated values

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By foamF

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 7, 2019, 00:22
Default Paraview - How to operate multiple integrated values
  #1
Member
 
Join Date: Aug 2018
Posts: 47
Rep Power: 7
foamF is on a distinguished road
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.
Светлана likes this.
foamF is offline   Reply With Quote

Old   August 8, 2019, 03:16
Default
  #2
Senior Member
 
Mikko
Join Date: Jul 2014
Location: The Hague, The Netherlands
Posts: 243
Rep Power: 12
Flowkersma is on a distinguished road
You can use Calculator filter with the integrated values.
Flowkersma is offline   Reply With Quote

Old   August 10, 2019, 19:18
Default
  #3
Member
 
Join Date: Aug 2018
Posts: 47
Rep Power: 7
foamF is on a distinguished road
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?
foamF is offline   Reply With Quote

Old   August 11, 2019, 07:41
Default
  #4
Senior Member
 
Mikko
Join Date: Jul 2014
Location: The Hague, The Netherlands
Posts: 243
Rep Power: 12
Flowkersma is on a distinguished road
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
Flowkersma is offline   Reply With Quote

Old   August 12, 2019, 06:08
Default
  #5
Member
 
Join Date: Aug 2018
Posts: 47
Rep Power: 7
foamF is on a distinguished road
thanks for yr information
foamF is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[General] Viewing multiple visualizations in one window with paraview arieljeds ParaView 2 October 15, 2019 03:40
Set cell volume integrated field values to preserve integral Diro7 OpenFOAM Pre-Processing 2 June 3, 2018 10:44
[OpenFOAM] Different Initial values in Paraview fredicenci ParaView 1 March 28, 2017 18:14
[OpenFOAM] Contour maps of integrated values ozzythewise ParaView 0 March 29, 2011 16:09
paraview installation woes vex OpenFOAM Installation 15 January 30, 2011 07:11


All times are GMT -4. The time now is 05:52.