[Paraview] store vector as cell-data in vts file format

Moreland, Kenneth kmorel at sandia.gov
Tue Apr 22 08:59:46 EDT 2008


The stream tracer requires both the topology (which you loose when you run Cell Centers) and point data.  Run Cell Data to Point Data on your original data and the stream tracer filter should work fine.

-Ken

> -----Original Message-----
> From: paraview-bounces at paraview.org [mailto:paraview-bounces at paraview.org]
> On Behalf Of M.R.Hadian
> Sent: Tuesday, April 22, 2008 2:03 AM
> To: paraview at paraview.org
> Subject: Re: [Paraview] store vector as cell-data in vts file format
>
> Thanks, the glyph filter woks fine after "cell center" filter. what
> about "stream tracer" filter?
> I attached a simple vts file with 2D (5*3) cells with velocity
> introduced as "cell data". even after "cell centers" filter, the "stream
> tracer" filter does not work. Is there any filter or trick that can
> solve it?
> -Hadian
>
> Berk Geveci wrote:
> > This is a limitation of the glyph filter. You will find that many
> > filters in VTK only work on point-centered data. You can achieve what
> > you want by first applying the "Cell Centers" filter and then glyph.
> > You should probably enter a feature request for this here:
> > http://paraview.org/Bug
> >
> > -berk
> >
> > On Thu, Apr 17, 2008 at 2:40 AM, M.R.Hadian <m.r.hadian at gmail.com>
> wrote:
> >
> >> Hi
> >>  I am trying to generate vtk xml data file for multi-block data
> (structured
> >> grid in each block) with variables stored at cell centers, in unsteady
> >> condition. So, I am trying to use vts format. The problem I encountered
> is
> >> that when I store the velocity vectors as "celldata", the glyph filter
> does
> >> not show correct vectors. Is it possible to store vectors as cell data
> in
> >> vts file?
> >>  Regards,
> >>  Hadian
> >>  _______________________________________________
> >>  ParaView mailing list
> >>  ParaView at paraview.org
> >>  http://www.paraview.org/mailman/listinfo/paraview
> >>
> >>
> >
> >




More information about the ParaView mailing list