# Parameter study with multiple files

**URL:** https://discourse.paraview.org/t/parameter-study-with-multiple-files/17003
**Category:** ParaView Support
**Created:** [July 24, 2025, 10:07am UTC](https://discourse.paraview.org/t/parameter-study-with-multiple-files/17003 "2025-07-24T10:07:51Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Massimiliano\_Leoni](https://discourse.paraview.org/user_avatar/discourse.paraview.org/massimiliano_leoni/32/376_2.png) [@Massimiliano\_Leoni](https://discourse.paraview.org/u/Massimiliano_Leoni)
#### Post date: [July 24, 2025, 10:07am UTC](https://discourse.paraview.org/t/parameter-study-with-multiple-files/17003/1 "2025-07-24T10:07:51Z")

</div>

Hello, I am trying to perform what I call a “parameter study” or “parameter sweep” for a model I’m studying.  
I am aware of [parameter studies with comparative views](https://docs.paraview.org/en/latest/ReferenceManual/comparativeViews.html#setting-up-a-parameter-study) but that is somehow orthogonal to what I want to do in that there I have a single input file and I can apply a filter with several different values for its settings to see how the output of the filter changes, whereas in my case I have a number of output files called `u_03_10.bp`, `u_03_12.bp`, `u_05_10.bp`, etcetera, where the two numbers in the file name indicate two parameters that I set in my code when running a simulation, so what I would like to do is still to build a matrix-like visualization but where I show the different files and optionally the same filter but applied to different inputs.  
I tried tricking paraview by grouping all datasets and then applying an `ExtractBlock` filter which I hoped to be able to edit in the _Comparative view inspector_ but, when I try, I can set an “Assembly” or a “Selector” per view but they are set to zero by default, setting other numbers leads to crashes and I don’t know what to put in there.  
Any ideas on how to do what I’m trying to do would be highly appreciated!

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [July 24, 2025, 11:57am UTC](https://discourse.paraview.org/t/parameter-study-with-multiple-files/17003/2 "2025-07-24T11:57:53Z")

</div>

I see different ways but I think Copy/Pasting pipeline or python macros should be the easiest way.

If you want to scale it up, then a python script and pvbatch.
