That's correct -- the cell information specifies the points by index. You
can find more information on the VTK file formats here:

http://www.vtk.org/wp-content/uploads/2015/04/file-formats.pdf

HTH,
Dave

On Wed, Oct 5, 2016 at 9:19 AM, Sellmann, Kai Asaad <
asaad.sellm...@rwth-aachen.de> wrote:

> Hello everyone!
>
> I have created a vtk File with point coordinates, and cell definitions. As
> I am getting distorted surfaces I was wondering what it could be.
>
> The coordinates are nodal coordinates taken from a FE Model. The elements
> are defined by the IDs of their corresponding nodes.
>
>
> So it looks kinda like this
>
>
> ...
>
> CELLS 59256 651816
> 10 21615 1 32020 21623 2 3 4 21625 5 6
> 10 21623 21615 1 21624 21625 2 5 21627 21626 7
> 10 8 21623 21612 21615 9 21631 10 11 21625 21621
> 10 34096 12 34106 1 13 14 34110 15 16 17
> 10 22735 18 32680 32663 19 20 21 22 23 32682
>
> ...
>
>
> The 10 indicating the number of information "coming up".
>
> So first of all I am little bit confused and would like to know if the
> cells Information is refering to the prior defined Nodes and their IDs?
>
> For example the first line "10 21615 1 32020 21623 2 3 4 21625 5 6" means
> that the first cell consists of the Nodes 21615, 1, 32020, 21623, 2, 3, 4,
> 21625, 5 and 6, right? And these nodes are defined like this:
>
>
> ...
>
> POINTS 104667 FLOAT
> 0 0 0
> -0.00133054 -0.0651073 0.00296884
> -0.00366651 -0.0661655 0.00448453
> -0.00430551 -0.0647424 0.00148457
> -0.00664148 -0.0658006 0.00300025
> -0.00257653 -0.0641143 0.00448451
> -0.0055515 -0.0637484 0.00300024
> -0.00147854 -0.0663074 0.00448453
> -0.00974145 -0.0646966 0.00299095
>
> ...
>
>
> So the second node (1) of the first element would have the coordinates
> -0.00133054, -0.0651073 and 0.00296884, correct?
>
> If someone has an idea I could send you the .vtk-file
>
>
> Thnaks,
>
> asaad
>
>
>
> _______________________________________________
> 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
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview

Reply via email to