vtu file wrong number of components?

Dear all,

I saved a tensor of 9 components (tensor=gradient(gradient(U_mean)) as a .vtm file. However, when I open the .vtu file (saved in the ascii format which is needed because I plan to modify several components) I notice that there are only 6 columns, despite the NumberOfComponents is 9:

<VTKFile type="UnstructuredGrid" version="1.0" byte_order="LittleEndian" header_type="UInt64">
  <UnstructuredGrid>
    <Piece NumberOfPoints="596" NumberOfCells="888">
      <PointData>
        <DataArray type="Float64" Name="d2u:metric" NumberOfComponents="9" format="ascii" RangeMin="1.0189702313516165" RangeMax="2406.078773804854">
          0.011074915683517853 3.4870093276789498 -0.0010333100023368995 3.520116960461199 2406.063630272549 -4.073914206947664
          -0.0013522302421430747 -4.316136145040371 0.013886760144184032 -0.000023191794753074483 -0.004883451055908632 0.000021183863282203647
          -0.008957242332288923 -2.710591815298783 0.010902919668410213 0.000026982277631759644 0.008770794340700808 -0.000052094459533691406
....

How can I fix this?

Thank you very much for your help!

please share your data.

Please find attached the result file used to load the data with Paraview, the state, and the .vtu file obtained.
data_0_0.vtu (170.3 KB)
postprocessing.zip (81.4 KB)
data.pvsm (1008.4 KB)

The number of columns does not matter at all, component are just read in order.

The issue is that I use the .vtu generated with a mesh tool (mmg3d) that is expecting as many columns as the number of components. To solve it, I defined a macro with emacs to rearrange the data in the .vtu file. Thank you for your answer.

Thats a bug in mmg3d. But if you only export, I dont see why it is an issue.

Sorry I made a mistake:

The issue is that I use the .vtu generated by Paraview with a mesh tool (mmg3d) that is expecting as many columns as the number of components.