Unstructured grid needs cells even though you are only interested in
points. You will have to create one cell per point or one cell that
refer each point.

VTK_VERTEX or VTK_POLY_VERTEX.

You can check the following document to see what I mean by Cell.

Seb

http://www.vtk.org/VTK/img/file-formats.pdf



On Mon, Sep 13, 2010 at 4:28 PM, D Haley <my...@yahoo.com> wrote:
> Hello,
>
> I am trying to use paraview to visualise molecular dynamics results, as a 
> function of time. I am following the example of
>
> http://www.geophysik.uni-muenchen.de/intranet/it-service/applications/paraview/animations-with-paraview/
>
> and writing a pvd file from my results which references one VTU per timestep. 
> However, the VTU file that the PVD refers to won't open, and spits out the 
> following error when trying to open one directly:
>
>
> ERROR: In /home/user/source/ParaView3/VTK/Filtering/vtkExecutive.cxx, line 757
> vtkStreamingDemandDrivenPipeline (0x253d920): Algorithm 
> vtkXMLUnstructuredGridReader(0x253cbe0) returned failure for request: 
> vtkInformation (0x253dc20)
>  Debug: Off
>  Modified Time: 984588
>  Reference Count: 1
>  Registered Events: (none)
>  Request: REQUEST_INFORMATION
>  FORWARD_DIRECTION: 0
>  ALGORITHM_AFTER_FORWARD: 1
>
> My VTU file looks like this:
>
>
> <VTKFile type="UnstructuredGrid" version="0.1" byte_order="BigEndian">
> <UnstructuredGrid>
> <Piece NumberOfPoints="4">
> <Points>
>        <DataArray type="Float32" NumberofComponents="3" NumberofCells="0" 
> Format="ascii">
>                0.000105948 0.000105948 0.999478
>                0.000105948 0.999478 0.000105948
>                0.999478 0.000105948 0.000105948
>                0.000310148 0.000310148 0.000310148
>        </DataArray>
> </Points>
> </Piece>
> </UnstructuredGrid>
> </VTKFile>
>
>
> Does anyone know what is wrong?
>
> Thanks.
>
>
>
> _______________________________________________
> 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
>
_______________________________________________
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

Reply via email to