# Offsets array in a unstructured grid (VTU)

**URL:** https://discourse.paraview.org/t/offsets-array-in-a-unstructured-grid-vtu/2580
**Category:** ParaView Support
**Created:** [September 18, 2019, 1:15am UTC](https://discourse.paraview.org/t/offsets-array-in-a-unstructured-grid-vtu/2580 "2019-09-18T01:15:34Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![jaydi\_21](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/j/f04885/32.png) [@jaydi\_21](https://discourse.paraview.org/u/jaydi_21)
#### Post date: [September 18, 2019, 1:15am UTC](https://discourse.paraview.org/t/offsets-array-in-a-unstructured-grid-vtu/2580/1 "2019-09-18T01:15:34Z")

</div>

I have a CFD solver that works with a quadtree mesh. However, I’m unable to create a VTU file because I can’t understand what the offsets array means? Can someone tell me how to create the offsets array? What distance is that?

Also I’d like to know if paraview does not take into account the order of the nodes in the connectivity list? Because, no matter the order I put them in my file, paraview would join them in an ascending order. Is there any way to ask paraview to join them in the same order that the nodes are given?

---

<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: [September 18, 2019, 1:36am UTC](https://discourse.paraview.org/t/offsets-array-in-a-unstructured-grid-vtu/2580/2 "2019-09-18T01:36:19Z")

</div>

Are you creating the file manually or are you using VTK to create the file ?

---

<div class="post-metadata">

### Author: ![jaydi\_21](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/j/f04885/32.png) [@jaydi\_21](https://discourse.paraview.org/u/jaydi_21)
#### Post date: [September 18, 2019, 4:22am UTC](https://discourse.paraview.org/t/offsets-array-in-a-unstructured-grid-vtu/2580/3 "2019-09-18T04:22:38Z")

</div>

Yes, I’m creating the file manually. I’m new with paraview and I’m not familiar with VTK.

---

<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: [September 18, 2019, 4:52am UTC](https://discourse.paraview.org/t/offsets-array-in-a-unstructured-grid-vtu/2580/4 "2019-09-18T04:52:24Z")

</div>

You may want to ask this question on the VTK discourse.  
[https://discourse.vtk.org/](https://discourse.vtk.org/)

In any case, here are the VTK formats specifications.  
[https://vtk.org/wp-content/uploads/2015/04/file-formats.pdf](https://vtk.org/wp-content/uploads/2015/04/file-formats.pdf)

Array offsets are mentioned page 15.
