[Paraview] XDMF crash

Daniel Frisch daniel.frisch.kit at gmail.com
Wed Jan 25 08:25:14 EST 2017


I generated the following XDMF file and tried to open it in ParaView. When
I open it, I get a dialog with three readers to choose:
- XDMF reader
- XDMF3 reader
- XDMF3 reader (Top Level Partition)

I can open the file with "XDMF reader", but when I open it with the other
two readers, ParaView (5.1.0 64-bit Mac) crashes.

Application Specific Information:
terminating with uncaught exception of type XdmfError: 'Value' not in
itemProperties in XdmfTime::populateItem
abort() called

But I generated the file according to this recommendation
<http://www.paraview.org/Wiki/ParaView/Data_formats#Reading_a_time_varying_Raw_file_into_Paraview>
and
according to the XDMF3 <http://www.xdmf.org/index.php/XDMF_Model_and_Format>
standard. When I try to open this public example
<http://www.paraview.org/Wiki/ParaView/Data_formats#Reading_a_time_varying_Raw_file_into_Paraview>
with XDMF3 in ParaView, it crashes, too.


Now this is the content of my XDMF file:

<?xml version="1.0" ?>

<Xdmf>

    <Domain>

        <Topology NumberOfElements="8" TopologyType="Triangle">

            <DataItem DataType="Int" Dimensions="8 3" Format="XML">2 5 1
2 6 5    2 7 6    2 3 7    8 7 3    4 8 3    1 5 4    8 4 5</DataItem>

        </Topology>

        <Geometry GeometryType="XYZ">

            <DataItem Dimensions="9 3" Format="XML">-1 1 2    0 0 0    1 0
0    1 1 0    0 1 0    0 0 1    1 0 1    1 1 .2    0 1 .2</DataItem>

        </Geometry>

        <Grid CollectionType="Temporal" GridType="Collection"
Name="TimeSeriesGrid">

            <Time TimeType="HyperSlab">

                <DataItem Dimensions="3" Format="XML"
NumberType="Float">0.0 1.0 2</DataItem>

            </Time>

            <Grid GridType="Uniform" Name="T1">

                <Topology Reference="/Xdmf/Domain/Topology[1]"/>

                <Geometry Reference="/Xdmf/Domain/Geometry[1]"/>

                <Attribute Center="Node" Name="Values">

                    <DataItem Dimensions="9" Format="XML">0 1 2 3 4 5 6 7
8</DataItem>

                </Attribute>

            </Grid>

            <Grid GridType="Uniform" Name="T2">

                <Topology Reference="/Xdmf/Domain/Topology[1]"/>

                <Geometry Reference="/Xdmf/Domain/Geometry[1]"/>

                <Attribute Center="Node" Name="Values">

                    <DataItem Dimensions="9" Format="XML">8 7 6 5 4 3 2 1
0</DataItem>

                </Attribute>

            </Grid>

        </Grid>

    </Domain>

</Xdmf>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20170125/65378d51/attachment.html>


More information about the ParaView mailing list