Is there a way to bundle a set of related simulations as a file?

I have a couple of simulations for a set of temperatures and pressures. I had hoped to be able to store the conditions as field data in a vtkPolyData, and then put the vtkPolyData objects inside of a vtkPartitionedDataSet (which I hadn’t used before).

Storing the metadata as fields works well enough, but there doesn’t seem to be any way to click a “next” button to see the next simulation case.

Clearly there is some gross misunderstanding I am having about vtkPartitionedDataSet … should I just save out the vtkPolyData objects by themselves instead, or perhaps postfix the filename with an index?

Click?

Everything shows up together, there is nothing I can do to cycle through the simulations. If I store them as separate *.vtp files having similar filenames I can at least use the timestep arrow in ParaView.

I see. So you would like to “play” through different vtkPolyData in a single vtkPartitionedDataSet. There’s no way to do that in ParaView. You could put all the datasets in a vtkPartitionedDataSetCollection and then turn off the visibility of selected vtkPartitionedDataSets, but there is no way to cycle through them in an animation. You could make a single vtkPartitionedDataSet in the collection visible and play through time, though, then make the next vtkPartitionedDataSet visible, and so on.

There isn’t much difference between the above and saving one sequence of vtkPolyData files for each simulation and using the visibility icons in the Pipeline Browser to show one sequence at a time, though.

Thanks, the sequence of polydata files was my fallback.