# Transformation of tensor variables

**URL:** https://discourse.paraview.org/t/transformation-of-tensor-variables/14112
**Category:** ParaView Support
**Tags:** vtk
**Created:** [March 8, 2024, 11:44am UTC](https://discourse.paraview.org/t/transformation-of-tensor-variables/14112 "2024-03-08T11:44:05Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![cmorsbach](https://discourse.paraview.org/user_avatar/discourse.paraview.org/cmorsbach/32/10016_2.png) [@cmorsbach](https://discourse.paraview.org/u/cmorsbach)
#### Post date: [March 8, 2024, 11:44am UTC](https://discourse.paraview.org/t/transformation-of-tensor-variables/14112/1 "2024-03-08T11:44:05Z")

</div>

Hi all,

I have a data field which is a rank 2 symmetric tensor stored in Cartesian components (XX, YY, ZZ, XY, YZ, XZ) and stored it in a vtkFloatArray with 6 components. I have stored the components in the order suggested in [Automatic naming of tensor components](https://discourse.paraview.org/t/automatic-naming-of-tensor-components/8762). I was expecting the vtkTransformFilter to transform the tensor upon rotation but as far as I understand the docs ([VTK: vtkTransformFilter Class Reference](https://vtk.org/doc/nightly/html/classvtkTransformFilter.html)) this only applies to vectors. We store vectors as 3 component float array and there, the transformation works just fine.

The question is: am I missing something or is this simply not implemented in VTK/ParaView?

Thanks a lot for your help!

---

<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 8, 2024, 11:55am UTC](https://discourse.paraview.org/t/transformation-of-tensor-variables/14112/2 "2024-03-08T11:55:11Z")

</div>

Tensor transformation is indeed not supported. Please open an issue: [https://gitlab.kitware.com/paraview/paraview/-/issues](https://gitlab.kitware.com/paraview/paraview/-/issues)

---

<div class="post-metadata">

### Author: ![cmorsbach](https://discourse.paraview.org/user_avatar/discourse.paraview.org/cmorsbach/32/10016_2.png) [@cmorsbach](https://discourse.paraview.org/u/cmorsbach)
#### Post date: [March 8, 2024, 12:20pm UTC](https://discourse.paraview.org/t/transformation-of-tensor-variables/14112/3 "2024-03-08T12:20:54Z")

</div>

Thanks for the quick reply, @mwestphal! Will do!
