# Extracting Field Values of Cell-Centered Points

**URL:** https://discourse.paraview.org/t/extracting-field-values-of-cell-centered-points/14350
**Category:** ParaView Support
**Created:** [April 5, 2024, 9:24pm UTC](https://discourse.paraview.org/t/extracting-field-values-of-cell-centered-points/14350 "2024-04-05T21:24:34Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![6482a8254eb5245ba53d](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/6/eada6e/32.png) [@6482a8254eb5245ba53d](https://discourse.paraview.org/u/6482a8254eb5245ba53d)
#### Post date: [April 5, 2024, 9:24pm UTC](https://discourse.paraview.org/t/extracting-field-values-of-cell-centered-points/14350/1 "2024-04-05T21:24:34Z")

</div>

Hi,

I have a .pvtu format file, and I would like to extract the data for the cell-centered points. I found the filter called Cell Centered. However, this one gives the cell ID, point ID, coordinates, and points Magnitude, and attributes of these cell-centered points, but not the field data. Once I extract these cell-centered points, how can I retrieve their field values?

Thanks for your help.

---

<div class="post-metadata">

### Author: ![6482a8254eb5245ba53d](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/6/eada6e/32.png) [@6482a8254eb5245ba53d](https://discourse.paraview.org/u/6482a8254eb5245ba53d)
#### Post date: [April 6, 2024, 5:15pm UTC](https://discourse.paraview.org/t/extracting-field-values-of-cell-centered-points/14350/2 "2024-04-06T17:15:04Z")

</div>

The file I received has the same number of cells as points. This is likely because the results were obtained using the finite element method. However, for my calculation, I require the cell-centered values. One alternative is to take the point values and perform interpolation using MATLAB, Fortran, etc. However, I am seeking a more straightforward approach using only ParaView.

---

<div class="post-metadata">

### Author: ![Kenichiro-Yoshimi](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/k/ecc23a/32.png) [@Kenichiro-Yoshimi](https://discourse.paraview.org/u/Kenichiro-Yoshimi)
#### Post date: [April 8, 2024, 3:31am UTC](https://discourse.paraview.org/t/extracting-field-values-of-cell-centered-points/14350/3 "2024-04-08T03:31:24Z")

</div>

To turn analysis results at nodes into cell-centered data, the following steps may be possible.

1. `Point Data To Cell Data` filter
2. `Cell Centers` filter

---

<div class="post-metadata">

### Author: ![6482a8254eb5245ba53d](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/6/eada6e/32.png) [@6482a8254eb5245ba53d](https://discourse.paraview.org/u/6482a8254eb5245ba53d)
#### Post date: [April 8, 2024, 5:13am UTC](https://discourse.paraview.org/t/extracting-field-values-of-cell-centered-points/14350/4 "2024-04-08T05:13:04Z")

</div>

Thank you. Indeed, before applying the `Cell Centers` filter, the `Point Data To Cell Data` filter must be applied. That works.
