[Paraview] particle folowing
SamuelKey
samuelkey at comcast.net
Tue Oct 31 22:46:14 EST 2006
Thierry,
Remember these readers were written by C-programmers. They want offsets
for "connectivity" not node numbers.
I changed your data below under connectivity from 1,2,3, ... ,10 to
0,1,2, ... ,9. you will get points on your screen.
Don't forget to dail-up the point size og the display face-sheet. Now
all you have to do is data to your points (or cells
as you like.
Sam Key
Thierry Dubuis wrote:
> Hello all,
>
> Thanks again for your answers.
> I try to define a vtu file with cells of type 1. (I attach my file)
>
> I don't understand but ParaView 2.4 made a error when I open this file.
> If somebody could tell me where the problem is ?
> - In my vtu file
> - In the "open" code source
>
> ------------------------------------------------------------------------
>
> <VTKFile type="UnstructuredGrid" version="0.1" byte_order="LittleEndian">
> <UnstructuredGrid>
> <Piece NumberOfPoints="10" NumberOfCells="10">
> <Points>
> <DataArray type = "Float32" NumberOfComponents="3" format="ascii">
> 0.0 0.0 0.0
> 0.1 0.1 0.1
> 0.2 0.2 0.2
> 0.3 0.3 0.3
> 0.4 0.4 0.4
> 0.5 0.5 0.5
> 0.1 0.0 0.0
> 0.2 0.0 0.0
> 0.0 0.1 0.0
> 0.0 0.0 0.1
> </DataArray>
> </Points>
> <Cells>
> <DataArray type="Int32" Name="connectivity" format="ascii">
0
1
2
3
4
5
6
7
8
9
> </DataArray>
> <DataArray type="Int32" Name="offsets" format="ascii">
> 1
> 2
> 3
> 4
> 5
> 6
> 7
> 8
> 9
> 10
> </DataArray>
> <DataArray type="UInt8" Name="types" format="ascii">
> 1
> 1
> 1
> 1
> 1
> 1
> 1
> 1
> 1
> 1
> </DataArray>
> </Cells>
> </Piece>
> </UnstructuredGrid>
> </VTKFile>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview
>
More information about the ParaView
mailing list