<div dir="ltr"><div><div>Are the connectivity indices numbered starting from zero or staring from one? Paraview numbers your mesh vertices starting from zero, and if your element connectivity refers to vertices numbered from 1:n, it will totally scramble your connectivity when Paraview displays the mesh.<br><br></div>Cheers<br></div>Jason<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 2, 2016 at 8:56 AM, John Jomo <span dir="ltr"><<a href="mailto:john.jomo@tum.de" target="_blank">john.jomo@tum.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  

    
  
  <div text="#000000" bgcolor="#FFFFFF">
    Hallo guys,<br>
    <br>
    have a bug using xdmf + hdf5 in Paraview that I cant seem to solve:<br>
    <br>
    I am trying to visualize my results from a finite element
    computation using xdmf and hdf5.<br>
    <br>
    The results consist of the geometry and topology of the mesh and
    different point and cell data.<br>
    I store coordinates of 2 million points in one hdf5 dataset (X,Y,Z
    components) and the connectivity of the resulting 19 million cells (
    hexagonals and lines ) in a one dimensional hdf5 dataset.<br>
    <br>
    I use the following xdmf file to view the data in paraview<br>
    <br>
    <?xml version="1.0"?><br>
    <!DOCTYPE Xdmf SYSTEM "Xdmf.dtd" []><br>
    <Xdmf><br>
            <Domain><br>
                    <Grid GridType="Collection"
    CollectionType="Temporal"><br>
                            <Grid Name="element0" Type="Uniform"><br>
                                    <Time Type="Single" Value="0"
    /><br>
                                    <Geometry GeometryType="XYZ"><br>
                                            <DataStructure
    Dimensions="3 22078224" NumberType="Float" Presicion="8"
    Format="HDF" ><br>
                                                   
    SegmentedVertebra.h5:/points_0_0.000000<br>
                                            </DataStructure><br>
                                    </Geometry><br>
                                    <Topology Type="Mixed"
    NumberOfElements="19948716"><br>
                                            <DataStructure
    Dimensions="177553764 1" NumberType="Int64" Presicion="8"
    Format="HDF" ><br>
                                                   
    SegmentedVertebra.h5:/CellAndConnectivity_0_0.000000<br>
                                            </DataStructure><br>
                                    </Topology><br>
                                    <Attribute Name="Displacement"
    Center="Node" AttributeType="Vector"><br>
                                            <DataStructure
    Format="HDF" DataType="Float" Precision="8" Dimensions="3
    22078224"><br>
                                                   
    SegmentedVertebra.h5:/Displacement_0_0.000000<br>
                                            </DataStructure><br>
                                    </Attribute><br>
                          </Grid><br>
                    </Grid><br>
            </Domain><br>
    </Xdmf><br>
    <br>
    <br>
    <b>Question:</b> For some strange reason the cell connectivity gets
    completely messed up, and I get a totaly wrong output in Paraview. <br>
    I verified the content of the hdf5 file and all the points and cells
    are correct.<br>
    <br>
    The hdf5 is about 5 GB large.<br>
    <br>
    Does anyone know how the cause of this strange behaviour? I tried
    visualizing the content in visIT but got the same error. <br>
    <br>
    thanks in advance<span class="HOEnZb"><font color="#888888"><br>
    <br>
    John.<br>
    <pre cols="72">-- 
John Jomo M.Sc. 
Technische Universität München
Computation in Engineering
Simulation in Applied Mechanics - SAM
Arcisstraße 21
80333 München
Tel.:     0049 / 89 / 289 25064
Fax:      0049 / 89 / 289 25051
E-Mail:   <a href="mailto:john.jomo@tum.de" target="_blank">john.jomo@tum.de</a><a href="mailto:john.jomo@tum.de" target="_blank"><mailto:john.jomo@tum.de></a>
Internet: <a href="http://www.cie.bgu.tum.de" target="_blank">www.cie.bgu.tum.de</a><a href="http://www.cie.bgu.tum.de/" target="_blank"><http://www.cie.bgu.tum.de/></a></pre>
  </font></span></div>

<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr">Dr. Jason G. Fleming<br>Chief Engineer, Seahorse Coastal Consulting<br>3103 Mandy Ln<br>Morehead City, NC 28557<br>Tel: (252) 726-6323<br>Mobile: (252) 269-0962<br>Web: <a href="http://www.seahorsecoastal.com" target="_blank">http://www.seahorsecoastal.com</a><br></div></div>
</div>