I have several vtk output files from 5 simulations, each with the same number of variables and timesteps. I grouped them together in a Multi-Block Dataset to visualize each simulation’s velocity over time on the same graph.
Now I want to visualize the steady-state velocity (velocity at the last timestep) over Block Number (1 to 5). I extracted the data at the last timestep from the Multi-Block Dataset using the Extract Timestep filter, but when I then use Plot Data it says that it cannot plot line with <2 points.
Can someone help me figure out what I am doing wrong?
So it looks like the Extract Timestep fails in some way and the output data is empty? Please check the Information Panel and inspect all the blocks. If it is the case, you might have configured the filter in the correct way. Please provide more details so we can help.
Sorry for the delay.
Here are my files and how I format them.
file.tar.gz (4.0 MB)
- Import each sequence of data and rename them
1BIS. If you want to visualize the data first to understand better what I try to do, convert any sequence (e.g. 1m6) to TableToPoints using x y and z as columns.
Each point of the spherical structure moves in time. I am interested in the velocity of the central point (INDEX = 1) which is highlighted in pink here.
Delete the TableToPoints (or ignore it) and group together the raw files
Filter for ID = 1 using Find Data
- Plot extracted selection over time and only look at the “normv” attributes for each block, with log scales. This is what you should get
Now here is what I want to do:
I. Change the legend so that it shows Block name instead of Block number
II. Plot the steady-state velocity (aka the velocity at the last timestep as a function of the Block name)
I still haven’t found a way around this so any help is appreciated !
Sadly it looks like PlotSelectionOverTime do not consider block names, it should.
Could you open an issue on https://gitlab.kitware.com/paraview/paraview/-/issues ?
Plot the steady-state velocity (aka the velocity at the last timestep as a function of the Block name)
Again, not out of the box as this would require merging the tables together to be able to be shown as single plot. A JoinTable filter is in developement and should let you do that, maybe in ParaView 5.11.
All that can be done using programmable filters if needed.