Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • openfoam openfoam
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 380
    • Issues 380
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 11
    • Merge requests 11
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • openfoamopenfoam
  • Issues
  • #2105

Closed
Open
Created May 27, 2021 by Matteo Montecchia@matteomo

Inconsistent foamToVTK -legacy with previous versions

Summary

Steps to reproduce

Convert any OpenFOAM case using openfoam/1706 first and type the following command:

foamToVTK

then use openfoam/1912 and type:

foamToVTK -legacy

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.

Example case

What is the current bug behaviour?

What is the expected correct behavior?

Relevant logs and/or images

Environment information

  • OpenFOAM version :
  • Operating system :
  • Hardware info :
  • Compiler :

Possible fixes

Thank you in advance and have a nice day, Matteo

Assignee
Assign to
Time tracking