# Data extraction form vtk file

**URL:** https://discourse.paraview.org/t/data-extraction-form-vtk-file/13037
**Category:** ParaView Support
**Created:** [October 13, 2023, 2:04pm UTC](https://discourse.paraview.org/t/data-extraction-form-vtk-file/13037 "2023-10-13T14:04:28Z")
**Posts on this page:** 15
**Page:** 1

<div class="post-metadata">

### Author: ![Chhotelal](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/c/c5a1d2/32.png) [@Chhotelal](https://discourse.paraview.org/u/Chhotelal)
#### Post date: [October 13, 2023, 2:04pm UTC](https://discourse.paraview.org/t/data-extraction-form-vtk-file/13037/1 "2023-10-13T14:04:29Z")

</div>

Dear Expert,  
I load the VTK or vtu file total time of 5 sec (time step is 0.1s) and I want to create a single dataset file that includes X coordinate, Y coordinate, Time, and other variables which is defined in the VTK file.  
is it possible to create this type of data set in the preview, if yes then please let me know the steps what should I follow.

---

<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 23, 2023, 11:29am UTC](https://discourse.paraview.org/t/data-extraction-form-vtk-file/13037/2 "2023-10-23T11:29:01Z")

</div>

Hi @Chhotelal

PlotDataOverTime should do the trick

---

<div class="post-metadata">

### Author: ![Chhotelal](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/c/c5a1d2/32.png) [@Chhotelal](https://discourse.paraview.org/u/Chhotelal)
#### Post date: [October 24, 2023, 1:38pm UTC](https://discourse.paraview.org/t/data-extraction-form-vtk-file/13037/3 "2023-10-24T13:38:14Z")

</div>

No i just want to extract the data at every cell and whole domain at ever sec ( average value). That include x, y, z coordinate with variable abt each cell. This is possible in paraview?

---

<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 24, 2023, 1:45pm UTC](https://discourse.paraview.org/t/data-extraction-form-vtk-file/13037/4 "2023-10-24T13:45:14Z")

</div>

> [@Chhotelal](#):
>
> No

Did you try ?

Please share your data.

---

<div class="post-metadata">

### Author: ![Chhotelal](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/c/c5a1d2/32.png) [@Chhotelal](https://discourse.paraview.org/u/Chhotelal)
#### Post date: [October 25, 2023, 9:46am UTC](https://discourse.paraview.org/t/data-extraction-form-vtk-file/13037/5 "2023-10-25T09:46:33Z")

</div>

yes, I tried it but the coordinated data point is extracted separately from the variable data. also, their total value does not match (Corrdintated pint 6230) and the data variables point is 6000.  
Please check the data attached herewith.  
[INTER\_DOMAIN\_0603.zip](https://discourse.paraview.org/uploads/short-url/j1mLwTnIUZyTBNZMcg7wuJzWuMR.zip) (1.4 MB)

---

<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 25, 2023, 1:24pm UTC](https://discourse.paraview.org/t/data-extraction-form-vtk-file/13037/6 "2023-10-25T13:24:58Z")

</div>

Here it is: [https://transfer.sh/RHL1zILP32/INTER\_DOMAIN\_0603.csv](https://transfer.sh/RHL1zILP32/INTER_DOMAIN_0603.csv)

Statefile:  
[state.pvsm](https://discourse.paraview.org/uploads/short-url/vgMap5Mi4tNwbvMYfPqE4aWoeET.pvsm) (76.4 KB)

---

<div class="post-metadata">

### Author: ![Chhotelal](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/c/c5a1d2/32.png) [@Chhotelal](https://discourse.paraview.org/u/Chhotelal)
#### Post date: [October 26, 2023, 6:21am UTC](https://discourse.paraview.org/t/data-extraction-form-vtk-file/13037/7 "2023-10-26T06:21:59Z")

</div>

Thank you for your help.  
state.pvsm file is not readable, error is coming. could you tell me which reader should I have to select for this file?

![image](https://discourse.paraview.org/uploads/default/original/2X/f/fc39ad90c4190eae5435c8a1f3e65e43ffea4b14.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 26, 2023, 8:25am UTC](https://discourse.paraview.org/t/data-extraction-form-vtk-file/13037/8 "2023-10-26T08:25:29Z")

</div>

`File -> LoadState`

But you may want to read the ParaView tutorial first to learn a bit more.  
[https://docs.paraview.org/en/latest/Tutorials/SelfDirectedTutorial/index.html](https://docs.paraview.org/en/latest/Tutorials/SelfDirectedTutorial/index.html)

---

<div class="post-metadata">

### Author: ![Chhotelal](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/c/c5a1d2/32.png) [@Chhotelal](https://discourse.paraview.org/u/Chhotelal)
#### Post date: [October 26, 2023, 10:42am UTC](https://discourse.paraview.org/t/data-extraction-form-vtk-file/13037/9 "2023-10-26T10:42:35Z")

</div>

I followed the same step File → LoadState even I checked in the paraview tutorial but not getting the solution, could you please tell me which reader will work to open that file?

---

<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 26, 2023, 1:13pm UTC](https://discourse.paraview.org/t/data-extraction-form-vtk-file/13037/10 "2023-10-26T13:13:14Z")

</div>



---

<div class="post-metadata">

### Author: ![Chhotelal](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/c/c5a1d2/32.png) [@Chhotelal](https://discourse.paraview.org/u/Chhotelal)
#### Post date: [October 27, 2023, 6:39am UTC](https://discourse.paraview.org/t/data-extraction-form-vtk-file/13037/11 "2023-10-27T06:39:00Z")

</div>

Thank you for your help, Now, I understand these things.

---

<div class="post-metadata">

### Author: ![Chhotelal](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/c/c5a1d2/32.png) [@Chhotelal](https://discourse.paraview.org/u/Chhotelal)
#### Post date: [March 14, 2024, 8:38am UTC](https://discourse.paraview.org/t/data-extraction-form-vtk-file/13037/12 "2024-03-14T08:38:38Z")

</div>

could you please send this video again because i want to load the PVSM file but it is not open and error is coming.

---

<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: [March 14, 2024, 4:56pm UTC](https://discourse.paraview.org/t/data-extraction-form-vtk-file/13037/13 "2024-03-14T16:56:04Z")

</div>



---

<div class="post-metadata">

### Author: ![Chhotelal](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/c/c5a1d2/32.png) [@Chhotelal](https://discourse.paraview.org/u/Chhotelal)
#### Post date: [March 15, 2024, 1:09pm UTC](https://discourse.paraview.org/t/data-extraction-form-vtk-file/13037/14 "2024-03-15T13:09:24Z")

</div>

@mwestphal Thank you for your support. Still, I am trying, the recent file is open but the few old files are not opening. what is the reason for it?

---

<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: [March 15, 2024, 1:12pm UTC](https://discourse.paraview.org/t/data-extraction-form-vtk-file/13037/15 "2024-03-15T13:12:24Z")

</div>

I have no idea, please try for yourself and share error message and screenshots.
