CFD Online Logo CFD Online URL
Home > Forums > Visualization & Post-Processing Software > ParaView

[General] Merge data from multiple slices

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Search this Thread Display Modes
Old   December 10, 2017, 17:10
Default Merge data from multiple slices
New Member
leotsixri's Avatar
Join Date: Oct 2016
Location: UK
Posts: 5
Rep Power: 6
leotsixri is on a distinguished road

I am trying to merge cell/point data from multiple slices in ParaView so as to find the average values of each cell/point (over the same geometry and for a particular timestep).

Any ideas?

Many thanks, Leonidas
leotsixri is offline   Reply With Quote

Old   December 21, 2017, 09:01
Senior Member
Join Date: Jul 2014
Location: The Hague, The Netherlands
Posts: 241
Rep Power: 9
Flowkersma is on a distinguished road
Hi Leonidas,

if the slices have exactly same mesh then you can just use the "Temporal Statistics" filter. Firstly, you have to load all the slices so that ParaView recognizes that the files are indeed different time steps. You can either load the files from the GUI by giving them a name with index such as filename001.vtk, filename002.vtk,filename003.vtk, etc. Or you can load just one file from the GUI and use Python to load all the files:

r = GetActiveSource()
r.FileNames = ['filename001.vtk, 'filename002.vtk','filename003.vtk']
See also How can I use python script to generate animation from 2000 frames of vtk datasets

Flowkersma is offline   Reply With Quote


data, merge, openfoam, paraview, slice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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] Extracting ParaView Data into Python Arrays Jeffzda ParaView 19 June 11, 2020 15:54
Merge multiple regions to use simpleFoam arnaud6 OpenFOAM Pre-Processing 6 June 24, 2015 02:48
[OpenFOAM] Script go through range of slices - export data hxaxtma ParaView 1 February 16, 2014 14:44
Problem in running ICEM grid in Openfoam Tarak OpenFOAM 6 September 9, 2011 17:51
[OpenFOAM] Multiple independant data sets in paraFoam christian ParaView 1 August 27, 2007 12:30

All times are GMT -4. The time now is 01:09.