# Paraview savedata option

**URL:** https://discourse.paraview.org/t/paraview-savedata-option/10655
**Category:** ParaView Support
**Created:** [November 2, 2022, 8:22am UTC](https://discourse.paraview.org/t/paraview-savedata-option/10655 "2022-11-02T08:22:30Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![Smruti\_Ranjan\_Jena](https://discourse.paraview.org/user_avatar/discourse.paraview.org/smruti_ranjan_jena/32/10293_2.png) [@Smruti\_Ranjan\_Jena](https://discourse.paraview.org/u/Smruti_Ranjan_Jena)
#### Post date: [November 2, 2022, 8:22am UTC](https://discourse.paraview.org/t/paraview-savedata-option/10655/1 "2022-11-02T08:22:30Z")

</div>

Dear Community,

I have some queries regarding data-export using Paraview for which I need some help.

1. While saving data from paraview using the “Save Data” option in the tool bar, I realized that it is saving all the data in an unstructured manner which means the x & y values are not stored in a typical matrix format or Is there a way to fix this in paraview itself?

2. It typically takes all the column data e,g, Ux, Uy, Uz, vorticity\_x, vorticity\_y etc. But, can I specifically choose some particular columns instead of everything?

3. I can see repetitive data…I mean multiple entries for the same x & y. Any suggestions how to avoid this?

Thanks.

---

<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 3, 2022, 1:40am UTC](https://discourse.paraview.org/t/paraview-savedata-option/10655/2 "2022-11-03T01:40:00Z")

</div>

Hi @Smruti_Ranjan_Jena ,

> [@Smruti\_Ranjan\_Jena](#):
>
> While saving data from paraview using the “Save Data” option in the tool bar, I realized that it is saving all the data in an unstructured manner which means the x & y values are not stored in a typical matrix format or Is there a way to fix this in paraview itself?

That depends of your data. If it is unstructured, then yes, but this is expected.

> It typically takes all the column data e,g, Ux, Uy, Uz, vorticity\_x, vorticity\_y etc. But, can I specifically choose some particular columns instead of everything?

(Almost) All writers have a “Choose arrays to write” options, in 5.10 and higher.

> I can see repetitive data…I mean multiple entries for the same x & y. Any suggestions how to avoid this?

It means your data is repetitive.

You may want to share your data.

Best

---

<div class="post-metadata">

### Author: ![Smruti\_Ranjan\_Jena](https://discourse.paraview.org/user_avatar/discourse.paraview.org/smruti_ranjan_jena/32/10293_2.png) [@Smruti\_Ranjan\_Jena](https://discourse.paraview.org/u/Smruti_Ranjan_Jena)
#### Post date: [November 3, 2022, 6:36am UTC](https://discourse.paraview.org/t/paraview-savedata-option/10655/3 "2022-11-03T06:36:56Z")

</div>

Thanks Mathieu for your reply.

I got the first two answers. For the third one, let me explain the current scenario a bit in detail (Here is the link to google drive for accessing the file : [paraview\_support - Google Drive](https://drive.google.com/drive/folders/198jwar7wkSnd3jHfOrEv1K5cdBW4KM9Q?usp=share_link)).

I am currently running a low Reynolds number flow past a cylinder case for which I needed to postprocess some data, hence I exported all the data into a text file. For your information, I am exporting data from a sliced plane that has a dimension of 0.5 \< x \< 5 and -2 \< y \< 2. To my surprise, I see some repetitive data in the text file especially on the leftmost side i.e. for all “y” along x=0.5. By saying repetitive data, I mean for a particular (x,y) there should be only one row that should comprise all the values, but here I can see 2 rows for same (x,y).

Could you please look into the data & kindly let me know if I am making any mistake while exporting the data?

---

<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 3, 2022, 6:43am UTC](https://discourse.paraview.org/t/paraview-savedata-option/10655/4 "2022-11-03T06:43:21Z")

</div>

I see the duplicate data, but you did not share your input, but your output. Please share your input data.

---

<div class="post-metadata">

### Author: ![Smruti\_Ranjan\_Jena](https://discourse.paraview.org/user_avatar/discourse.paraview.org/smruti_ranjan_jena/32/10293_2.png) [@Smruti\_Ranjan\_Jena](https://discourse.paraview.org/u/Smruti_Ranjan_Jena)
#### Post date: [November 3, 2022, 7:47am UTC](https://discourse.paraview.org/t/paraview-savedata-option/10655/5 "2022-11-03T07:47:16Z")

</div>

By saying input data, I understand that you are asking for the openFoam output file in .vtk/.vtm format. In that case, I have uploaded the .vtm file (the original output file), .pvsm file(where I have saved the state after doing four clips, 1 slice & 1 gradient calculation) to the same folder in which fullData.text file is stored ( Here is the link to google drive for accessing the file : [paraview\_support - Google Drive](https://drive.google.com/drive/folders/198jwar7wkSnd3jHfOrEv1K5cdBW4KM9Q?usp=share_link)).

Kindly let me know if there is anything wrong with the data.

---

<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 3, 2022, 7:48am UTC](https://discourse.paraview.org/t/paraview-savedata-option/10655/6 "2022-11-03T07:48:15Z")

</div>

I also need all of this:

```auto
  <vtkMultiBlockDataSet>
    <DataSet name='internal' file='timeavg-re100-u0p2h0p2_8140/internal.vtu' />
    <Block name='boundary'>
      <DataSet name='inlet' file='timeavg-re100-u0p2h0p2_8140/boundary/inlet.vtp' />
      <DataSet name='outlet' file='timeavg-re100-u0p2h0p2_8140/boundary/outlet.vtp' />
      <DataSet name='topAndBottom' file='timeavg-re100-u0p2h0p2_8140/boundary/topAndBottom.vtp' />
      <DataSet name='cylinderWall' file='timeavg-re100-u0p2h0p2_8140/boundary/cylinderWall.vtp' />
      <DataSet name='jetInlet' file='timeavg-re100-u0p2h0p2_8140/boundary/jetInlet.vtp' />
    </Block>
  </vtkMultiBlockDataSet>

```

---

<div class="post-metadata">

### Author: ![Smruti\_Ranjan\_Jena](https://discourse.paraview.org/user_avatar/discourse.paraview.org/smruti_ranjan_jena/32/10293_2.png) [@Smruti\_Ranjan\_Jena](https://discourse.paraview.org/u/Smruti_Ranjan_Jena)
#### Post date: [November 3, 2022, 8:20am UTC](https://discourse.paraview.org/t/paraview-savedata-option/10655/7 "2022-11-03T08:20:29Z")

</div>

Hey Mathieu,

I have uploaded the blockmeshDict file & the initial condition folder (i.e. 8.14) from which I started running my current case. Inside that folder, I guess you will find all the necessary data related to boundary conditions of U & other variables.

Link to the folder: [paraview\_support - Google Drive](https://drive.google.com/drive/folders/198jwar7wkSnd3jHfOrEv1K5cdBW4KM9Q?usp=share_link)

---

<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 3, 2022, 8:29am UTC](https://discourse.paraview.org/t/paraview-savedata-option/10655/8 "2022-11-03T08:29:32Z")

</div>

Sorry, I’m not going to run an OpenFOAM simulation. please share the data.

---

<div class="post-metadata">

### Author: ![Smruti\_Ranjan\_Jena](https://discourse.paraview.org/user_avatar/discourse.paraview.org/smruti_ranjan_jena/32/10293_2.png) [@Smruti\_Ranjan\_Jena](https://discourse.paraview.org/u/Smruti_Ranjan_Jena)
#### Post date: [November 3, 2022, 8:50am UTC](https://discourse.paraview.org/t/paraview-savedata-option/10655/9 "2022-11-03T08:50:41Z")

</div>

Apologies for the miscommunication.

The folder named “8.14” is not the initial condition folder, but the data folder that I have reconstructed (using the command “reconstructPar -time 8.14”) as I was a running a parallel simulation with 12 processors.

Further to access it using paraview, I ran “foamToVTK -time 8.14” to further create “VTK/timeavg-re100-u0p2h0p2\_8140/” that I have recently uploaded (maybe this is the thing that you are looking for…as I am a novice user, I thought of writing everything in detail. sorry for that).

Link to the drive folder : [paraview\_support - Google Drive](https://drive.google.com/drive/folders/198jwar7wkSnd3jHfOrEv1K5cdBW4KM9Q?usp=share_link)

Thanks for your patience.

---

<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 3, 2022, 9:16am UTC](https://discourse.paraview.org/t/paraview-savedata-option/10655/10 "2022-11-03T09:16:13Z")

</div>

The duplicated data is present in your slice. I don’t know why it is here, there can be multiple reasons. In anycase, you can remove it using “Clean” filter.

---

<div class="post-metadata">

### Author: ![Smruti\_Ranjan\_Jena](https://discourse.paraview.org/user_avatar/discourse.paraview.org/smruti_ranjan_jena/32/10293_2.png) [@Smruti\_Ranjan\_Jena](https://discourse.paraview.org/u/Smruti_Ranjan_Jena)
#### Post date: [November 4, 2022, 7:32am UTC](https://discourse.paraview.org/t/paraview-savedata-option/10655/11 "2022-11-04T07:32:40Z")

</div>

Thanks for your input. I will for sure try the “clean” filter.

But, I just wanted to share an observation & would be happy to get your comments on that. Every time, I exported the data I see the repeatitive data if and only if I include the boundary part. e.g. if I have a domain of 0.5 \< x \< 5 and if I exported a clipped slice from it for say 0.5 \< x \< 0.6, I have seen repetitive data for x=0.5 specifically. So, my current understanding is, maybe boundary causes the problem. Let me know your thoughts on this.

---

<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 7, 2022, 7:01am UTC](https://discourse.paraview.org/t/paraview-savedata-option/10655/12 "2022-11-07T07:01:16Z")

</div>

That is definitely possible, but it looks like you are already using only the internal mesh, so not sure why.
