[Paraview] particle folowing

Thierry Dubuis tdubuis at scconsultants.com
Thu Nov 2 02:35:52 EST 2006


Thanks for your help Samuel, Josué and Chrsitan.
I can see my particles with vtu file with type cells 1 (point) if I 
start the cell number by 0.

Best regards,

Thierry



SamuelKey wrote:

> 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
>>   
>
>
>
>


-- 
Thierry Dubuis
--------------------------------
Sciences & Computers Consultants
Tel : 04 77 49 75 84
Std : 04 77 49 75 80
Fax : 04 77 33 68 04



More information about the ParaView mailing list