# PVTU (multiple VTUs) to one VTU

**URL:** https://discourse.paraview.org/t/pvtu-multiple-vtus-to-one-vtu/13213
**Category:** Development
**Created:** [November 9, 2023, 3:52am UTC](https://discourse.paraview.org/t/pvtu-multiple-vtus-to-one-vtu/13213 "2023-11-09T03:52:19Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![ermore](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/e/90ced4/32.png) [@ermore](https://discourse.paraview.org/u/ermore)
#### Post date: [November 9, 2023, 3:52am UTC](https://discourse.paraview.org/t/pvtu-multiple-vtus-to-one-vtu/13213/1 "2023-11-09T03:52:19Z")

</div>

I use the MPI program to run out the calculation results to generate pvtu (it is made up of many vtu), and I want to turn multiple vtu files into one vtu. If I want to use C++, which vtk API can I call to implement this function. I learned that the save data function of paraview can be exported to a VTU. I don’t know how it works.

---

<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: [November 9, 2023, 9:58am UTC](https://discourse.paraview.org/t/pvtu-multiple-vtus-to-one-vtu/13213/2 "2023-11-09T09:58:25Z")

</div>

Use MergeBlocks filter.
