|
[Sponsors] |
![]() |
![]() |
#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 |
|
![]() |
![]() |
![]() |
![]() |
#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 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[General] Extracting ParaView Data into Python Arrays | Jeffzda | ParaView | 30 | November 6, 2023 21:00 |
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 |