|
[Sponsors] |
December 10, 2017, 18:10 |
Merge data from multiple slices
|
#1 |
New Member
Leonidas
Join Date: Oct 2016
Location: UK
Posts: 5
Rep Power: 10 |
Hi,
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 |
|
December 21, 2017, 10:01 |
|
#2 |
Senior Member
Mikko
Join Date: Jul 2014
Location: The Hague, The Netherlands
Posts: 243
Rep Power: 13 |
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: Code:
r = GetActiveSource() r.FileNames = ['filename001.vtk, 'filename002.vtk','filename003.vtk'] Regards, Mikko |
|
Tags |
data, merge, openfoam, paraview, slice |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[General] Extracting ParaView Data into Python Arrays | Jeffzda | ParaView | 30 | November 6, 2023 22:00 |
Merge multiple regions to use simpleFoam | arnaud6 | OpenFOAM Pre-Processing | 6 | June 24, 2015 03:48 |
[OpenFOAM] Script go through range of slices - export data | hxaxtma | ParaView | 1 | February 16, 2014 15:44 |
Problem in running ICEM grid in Openfoam | Tarak | OpenFOAM | 6 | September 9, 2011 18:51 |
[OpenFOAM] Multiple independant data sets in paraFoam | christian | ParaView | 1 | August 27, 2007 13:30 |