Inconsistent foamToVTK -legacy with previous versions
Steps to reproduce
Convert any OpenFOAM case using openfoam/1706 first and type the following command:
then use openfoam/1912 and type:
you will see that, in case of a tensor with class volSymmTensorField (e.g. UPrime2Mean), the order of the different tensor components is changed, before it was:
XX XY XZ YY YZ ZZ
in the latest -legacy version is
XX YY ZZ XY XZ YZ
since the expected correct order is the first one, please correct the .vtk generation in the new foamToVTK -legacy version. I haven't tried if this problem occurs also without the "-legacy" flag.
What is the current bug behaviour?
What is the expected correct behavior?
Relevant logs and/or images
- OpenFOAM version :
- Operating system :
- Hardware info :
- Compiler :
Thank you in advance and have a nice day, Matteo