[Paraview] VTK XML Unstructured Grid format

T.J. Corona tj.corona at kitware.com
Wed Aug 24 12:52:44 EDT 2016


Hi Chris,

I don’t think the line breaks represent discrete cells. If you count them, there are 32 values for the connectivity (4 cells x 8 points). 

Sincerely,
T.J.

Thomas J. Corona, Ph.D.
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4443

> On Aug 24, 2016, at 12:50 PM, Christopher Neal <chrisneal at snumerics.com> wrote:
> 
> Hi All,
>  
> Does anyone have a link to an example or documentation describing how one can interpret a *.vtu file that is XML ascii? I’m looking at a file that was written for a 2x2x1 group of cells i.e. 4 hexahedral cells, and the connectivity looks like:
>  
> <Cells>
>         <DataArray type="Int64" Name="connectivity" format="ascii" RangeMin="0" RangeMax="17">
>           0 6 8 2 1 7
>           9 3 2 8 10 4
>           3 9 11 5 6 12
>           14 8 7 13 15 9
>           8 14 16 10 9 15
>           17 11
>         </DataArray>
>         <DataArray type="Int64" Name="offsets" format="ascii" RangeMin="8" RangeMax="32">
>           8 16 24 32
>         </DataArray>
>         <DataArray type="UInt8" Name="types" format="ascii" RangeMin="12" RangeMax="12">
>           12 12 12 12
>         </DataArray>
>       </Cells>
> 
> I can’t seem to understand the connectivity info that is displayed. I would image there should be 8 entries per line for a hexahedral cell.
> 
> 
> Any material on this would be greatly appreciated.
> 
> Thank you,
> Chris Neal
> _______________________________________________
> Powered by www.kitware.com <http://www.kitware.com/>
> 
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html <http://www.kitware.com/opensource/opensource.html>
> 
> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView <http://paraview.org/Wiki/ParaView>
> 
> Search the list archives at: http://markmail.org/search/?q=ParaView <http://markmail.org/search/?q=ParaView>
> 
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview <http://public.kitware.com/mailman/listinfo/paraview>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20160824/dc69bce9/attachment.html>


More information about the ParaView mailing list