Open file dialog and multiple files with consecutive numbering

Dear experts,
currently in the Paraview open file dialog box, if several files are present with extension file_xxxx, with xxxx being a consecutive numbering, Paraview will group these files together in the Open file dialog.
Do you know whether there is an option in the Paraview configuration file settings, which allows the user to disable this behavior ?
Thanks for your valuable feedback.

openfiledialog

This grouping is a “file series” and let you load multiple files as if they were multiple timesteps.

There is no settings to disable this behavior afaik, but it would make sense to have one imo.
Please feel free to open an issue on our gitlab and to contribute to it if you are interested.

I raised this question, since there seems to be a bug here. Say I have two files at hand bla_0_00001.vtk and bla_0_001.vtk
In the Open file dialog box, I don’t see bla_0_001.vtk
I opened a bug report: https://gitlab.kitware.com/paraview/paraview/-/issues/20181

Already fixed here : https://gitlab.kitware.com/paraview/paraview/-/merge_requests/4339

Hello,
my issue is also about the grouping which occurs when trying to open a time serie of files.

The directory is made of subfolders named following a time sequence. Each of them include a single .vtp file, with an invariable name.

I would like to visualize the entire sequence of timesteps but unfortunately Paraview limits this by grouping the data. So intead of looking at the whole serie with an increment of 0.1, I can only see the serie from 0.1 to 1.0:

what would be the solution for this ?
thanks

ParaView does not support this kind of grouping and also does not support storing the timestep in the name.

You want to rename your folders like this:

folder.001
folder.002
...

You can create a .vtp.series case file, which is a JSON-formatted text file that points to a list of files. You can point to files through a directory structure. It would probably look something like this:

{
  "file-series-version" : "1.0",
  "files" : [
    { "name" : "0.1/file.vtp", "time" : 0.1 },
    { "name" : "0.2/file.vtp", "time" : 0.2 },
    ...
    { "name" : "18.8/file.vtp", "time" : 18.8 },
    { "name" : "18.9/file.vtp", "time" : 18.9 }
  ]
}
2 Likes

Thanks Mathieu,
So I have renamed all the subfolders as you suggested (see image) but the serie is still limited to the original grouping when visualising in ParaView. Original data are OpenFOAM vtp surfaces. It seems impossible to read the whole serie in one go… :roll_eyes:

I don’t know why ParaView is not grouping those directories, but I don’t know why it matters. You cannot load a bunch of .vtp files in grouped directories as a time series. You would have to put all the .vtp files in the same directory with indexed numbers so that the files themselves are grouped together.

Or, you can do what I said earlier and make a .vtp.series file. That is probably the easiest solution.

1 Like

Many thanks Kenneth,
I didn’t really understand your first suggestion about the .vtp.series file
But I followed your second idea, to put all the .vtp files in the same directory with indexed numbers, and that works fine for me.

1 Like

Here is a sample bash script (courtesy ChatGPT) to write out the JSON file. In this the files are named plt02000 etc. Change that to your filename.
write_paraview_series.sh (1.2 KB)