View Issue Details

IDProjectCategoryView StatusLast Update
0000955OpenFOAMBugpublic2013-08-13 10:14
Reporteruser258Assigned Touser4 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
PlatformLinuxOSOpenSuseOS Version11.3
Summary0000955: Ensight Gold file format with symmetric tensors
DescriptionThe Ensight Gold file format writer for sampled surfaces, write "symmTensor" as a typename in the file. This is not recognized by standard VTKEnsight readers, which required "tensor symm". Paraview is unable to read these files:

=======================

ERROR: In /home/.../VTK/IO/vtkEnSightReader.cxx, line 967
vtkEnSightGoldReader (0xb96140): invalid VARIABLE line: symmTensor per node: 1 UPrime2Mean slice.***.UPrime2Mean
Steps To ReproduceI attached a cavity case, which generates some symmetric tensor fields using icoFoam and functions. Paraview by default gives the abovementioned error message. I added a python script to more easily throw the same error message without using Paraview. The included Allrun script is self-explanatory.
Additional InformationI suspect $FOAM_SRC/sampling/sampledSurface/writers/ensight/ensightSurfaceWriter.C line 92 , but I would expect the same behavior for $FOAM_SRC/fileFormats/sampledSetWriters/ensight.
TagsNo tags attached.

Activities

user258

2013-08-13 08:15

 

ensightTestCase.tgz (2,468 bytes)

user4

2013-08-13 10:14

  ~0002393

3c39729ee9d39e05fc351b356a288d0272ab78b9

Thanks for reporting.

It also adds handling for sphericalTensor - I assume that Ensight does not have special handling for it (?) so it is now output that as a 'scalar'.

Issue History

Date Modified Username Field Change
2013-08-13 08:15 user258 New Issue
2013-08-13 08:15 user258 File Added: ensightTestCase.tgz
2013-08-13 10:14 user4 Note Added: 0002393
2013-08-13 10:14 user4 Status new => resolved
2013-08-13 10:14 user4 Fixed in Version => 2.2.x
2013-08-13 10:14 user4 Resolution open => fixed
2013-08-13 10:14 user4 Assigned To => user4