[Paraview] Coloring of cell-centered vectors

waku waku2005 at gmail.com
Fri Jul 30 02:15:49 EDT 2010


Hi,

I'd like to know that Paraview can set color to the vector arrows
defined at cell-center of CVs.
I have a CFD data (lagacy unstructured VTK format) only supplying the
cell-centerd velocity components like below,
but can not choose color of the velocity arrows from "Color by" menu
in the Display panel.
(Only "Solid Color" and "cellNormals" are available in case of the
Glyph type "Arrow")

-----
# vtk DataFile Version 3.0
my data
ASCII
DATASET UNSTRUCTURED_GRID
POINTS   169065  float
      0.0000000      0.0000000      0.0000000
      0.0000000      0.0000000      0.1000000
            : [snip]
CELLS  160000 1440000
    8         0        57       652         8       204      5516
17802     14715
    8        57        58       653       652      5516      5579
17803     17802
            :[snip]
CELL_TYPES  160000
          12
          12
           :[snip]
CELL_DATA  160000
SCALARS pressure float 1
LOOKUP_TABLE default
 101325.0587740
 101325.0587713
            :[snip]
VECTORS velocity float
      0.0070883      0.0000000      0.0000000
      0.0146768      0.0000000      0.0000000
            :[snip]
----- EOF

Thanks in advance,
waku


More information about the ParaView mailing list