[Paraview] second try -- vtk file -- scatter data -- vector field

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Thu Apr 26 14:28:41 EDT 2012


I am not too sure I follow exactly the steps that you are doing. Can you
share the data as well as the sequence of actions that leads to the errors,
please? Also, what version of PAraView are you using?

Thanks
Utkarsh

On Mon, Apr 23, 2012 at 5:24 AM, Diego Avesani <diego.avesani at gmail.com>wrote:

> Dear All,
>
> Sorry this is my second message, I do not know if the first has been
> posted. I did not received the email that confirm that my message has been
> posted.
> I change my mailing options so I try again.
>
>
> I am 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
>
>
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20120426/ba026696/attachment.htm>


More information about the ParaView mailing list