[Paraview] scatter data -- scalar and vector field

Diego Avesani diego.avesani at gmail.com
Sun Apr 22 13:53:47 EDT 2012


Dear All,

I an a newer in paraview and I need a help, please.

this is my problem: I have random particles in a 2D domain and I would like
to plot concentration field and velocity vector field.

Thanks in advance to everyone, any help will be very important.

I am able to create a .vtk file to get the concentration field but when I
try to add the velocity field I get the following error:

  ERROR: In
/home/utkarsh/Kitware/superbuild/paraview/src/paraview/VTK/Filtering/vtkDemandDrivenPipeline.cxx,
line 727

vtkPVCompositeDataPipeline (0x47dd610): Input port 0 of algorithm
vtkPVGlyphFilter(0x4627530) has 0 connections but is not optional.

 ERROR: In
/home/utkarsh/Kitware/superbuild/paraview/src/paraview/VTK/Filtering/vtkDemandDrivenPipeline.cxx,
line 727

vtkPVCompositeDataPipeline (0x47dd610): Input port 0 of algorithm
vtkPVGlyphFilter(0x4627530) has 0 connections but is not optional.

 Invalid index: 0

Generic Warning: In
/home/utkarsh/Kitware/superbuild/paraview/src/paraview/VTK/IO/vtkDataReader.cxx,
line 1382

Error reading ascii data. Possible mismatch of datasize with declaration.


This is my input file:


# vtk DataFile Version 2.0

Field Emission Device - Charge Density Plot

ASCII

DATASET POLYDATA

POINTS    40401 float

          -2.00000          -2.00000           0.00000

          -1.98000          -2.00000           0.00000

          -1.96000          -2.00000           0.00000

          -1.94000          -2.00000           0.00000

          -1.92000          -2.00000           0.00000

......

POINT_DATA        40401

SCALARS Ca\C0 float

LOOKUP_TABLE default

           0.00000

           0.00000

           0.00000

           0.00000

....

SCALARS Cb\C0 float
LOOKUP_TABLE default
           0.00000
           0.00000
           0.00000
           0.00000
.......
VECTORS vectors float
           0.00000           0.00000           0.00000
           0.00000           0.00000           0.00000
           0.00000           0.00000           0.00000
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20120422/c1ca0a78/attachment.htm>


More information about the ParaView mailing list