# Slice the overlap between vtp and vtu

**URL:** https://discourse.paraview.org/t/slice-the-overlap-between-vtp-and-vtu/12983
**Category:** ParaView Support
**Tags:** vtk
**Created:** [October 4, 2023, 7:34am UTC](https://discourse.paraview.org/t/slice-the-overlap-between-vtp-and-vtu/12983 "2023-10-04T07:34:56Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![hyeonwoo](https://discourse.paraview.org/user_avatar/discourse.paraview.org/hyeonwoo/32/12480_2.png) [@hyeonwoo](https://discourse.paraview.org/u/hyeonwoo)
#### Post date: [October 4, 2023, 7:34am UTC](https://discourse.paraview.org/t/slice-the-overlap-between-vtp-and-vtu/12983/1 "2023-10-04T07:34:56Z")

</div>

I have the inlet.vtp and outlet.vtp files created after mesh creation. And there is an all\_results.vtu file that is simulated through this mesh. I want to see the flow rate and pressure by cutting the part that overlaps exactly with the vtu file through the inlet.vtp file and outlet.vtp file, rather than slicing the part you want in the vtu file randomly. I’d appreciate it if you could tell me how.

 ![image](https://discourse.paraview.org/uploads/default/original/2X/1/11f69f947825d46457ec60781748398cc93c4fef.png)  
 ![image](https://discourse.paraview.org/uploads/default/original/2X/3/35c7d607d5295a9c736d6fbf24ad8dd734d95373.png)  
 ![image](https://discourse.paraview.org/uploads/default/original/2X/8/877d2ba2fafc1227eb8c72e880c975d6feafcca7.png)  
 ![image](https://discourse.paraview.org/uploads/default/original/2X/7/74c223e624505ec96fc87129f0eb537ac861d7ea.png)

---

<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: [October 4, 2023, 7:59am UTC](https://discourse.paraview.org/t/slice-the-overlap-between-vtp-and-vtu/12983/2 "2023-10-04T07:59:19Z")

</div>

`ResampleWithDataSet` filter should do the trick

---

<div class="post-metadata">

### Author: ![hyeonwoo](https://discourse.paraview.org/user_avatar/discourse.paraview.org/hyeonwoo/32/12480_2.png) [@hyeonwoo](https://discourse.paraview.org/u/hyeonwoo)
#### Post date: [October 4, 2023, 8:42am UTC](https://discourse.paraview.org/t/slice-the-overlap-between-vtp-and-vtu/12983/3 "2023-10-04T08:42:12Z")

</div>

Fixed this issue. Thank you very much.
