# How to interpolate data to specific points

**URL:** https://discourse.paraview.org/t/how-to-interpolate-data-to-specific-points/8100
**Category:** ParaView Support
**Created:** [September 29, 2021, 3:10pm UTC](https://discourse.paraview.org/t/how-to-interpolate-data-to-specific-points/8100 "2021-09-29T15:10:53Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![mdac](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/m/d6d6ee/32.png) [@mdac](https://discourse.paraview.org/u/mdac)
#### Post date: [September 29, 2021, 3:10pm UTC](https://discourse.paraview.org/t/how-to-interpolate-data-to-specific-points/8100/1 "2021-09-29T15:10:53Z")

</div>

Hi there! I have a 3D data result from a simulation in a .vtu format (3D mesh using tetrahedrons) and I’d like to interpolate a scalar field in that .vtu to a table of specific N coordinates that I already know but do not coincide with the nodes of the mesh.

In other words I have a set of points (x1,y1,z1) to (xN,yN,zN) where I’d like to have the values of a scalar field in the .vtu file.

How can I do that?

Thanks!

---

<div class="post-metadata">

### Author: ![Kenneth\_Moreland](https://discourse.paraview.org/user_avatar/discourse.paraview.org/kenneth_moreland/32/15033_2.png) [@Kenneth\_Moreland](https://discourse.paraview.org/u/Kenneth_Moreland)
#### Post date: [September 29, 2021, 3:19pm UTC](https://discourse.paraview.org/t/how-to-interpolate-data-to-specific-points/8100/2 "2021-09-29T15:19:44Z")

</div>

It sounds like a job for `Resample With Dataset`. If your points are in either an unstructured or poly data set, you can use `Resample With Dataset` to get the field values of one data set at the points of another data set.

You never said where your points come from. If they come from a csv file, you can load the csv file, run the `Table to Points` filter to generate the 3D dataset, and then `Resample With Dataset` to get the field values at those points. You can then write out the results as another csv file if you like.

---

<div class="post-metadata">

### Author: ![mdac](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/m/d6d6ee/32.png) [@mdac](https://discourse.paraview.org/u/mdac)
#### Post date: [September 29, 2021, 3:37pm UTC](https://discourse.paraview.org/t/how-to-interpolate-data-to-specific-points/8100/3 "2021-09-29T15:37:11Z")

</div>

Thanks!! I have the coordinates where I want to plot the sacalar field in an .csv file (x,y,z) columns. How can I write out the results as another csv file once I’ve finished the first part? (data to points and then resample with dataset)

Thanks!

---

<div class="post-metadata">

### Author: ![Kenneth\_Moreland](https://discourse.paraview.org/user_avatar/discourse.paraview.org/kenneth_moreland/32/15033_2.png) [@Kenneth\_Moreland](https://discourse.paraview.org/u/Kenneth_Moreland)
#### Post date: [September 29, 2021, 3:39pm UTC](https://discourse.paraview.org/t/how-to-interpolate-data-to-specific-points/8100/4 "2021-09-29T15:39:51Z")

</div>

Just select `Save Data` ![pqSave](https://discourse.paraview.org/uploads/default/original/2X/f/f37f3bf2c4351ce523d0f0b7b78e5a115ae8db14.svg) and choose to save as a csv.

---

<div class="post-metadata">

### Author: ![mdac](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/m/d6d6ee/32.png) [@mdac](https://discourse.paraview.org/u/mdac)
#### Post date: [September 29, 2021, 3:41pm UTC](https://discourse.paraview.org/t/how-to-interpolate-data-to-specific-points/8100/5 "2021-09-29T15:41:55Z")

</div>

thanks!! you saved my life
