[Paraview] Coloring of cell-centered vectors
Berk Geveci
berk.geveci at kitware.com
Fri Jul 30 13:03:48 EDT 2010
Try applying the Cell Centers filter before applying Glyph.
-berk
On Fri, Jul 30, 2010 at 2:15 AM, waku <waku2005 at gmail.com> wrote:
> 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
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
More information about the ParaView
mailing list