nutofem / nuto

NuTo - yet another finite element library
https://nuto.readthedocs.io
Boost Software License 1.0
17 stars 5 forks source link

Cell Data Visualization and Voigt Notation #246

Open pmueller2 opened 6 years ago

pmueller2 commented 6 years ago

Currently cell data visualization is done by passing a function to the visualizer that gives back an

When writing the VTU file a method is applied that swaps indices when there are 6 components. This may come as a surprise. It implicitly assumes that the data is some symmetric 2nd order tensor in 3D Voigt notation which is different in NuTo and in VTK.

I think this feature should be removed. The NuTo/VTK-Voigt swapping could be a method somewhere. Maybe in Constitutive/Voigt.h?