[Paraview] XDMF makes paraview crash with JOIN

Frederic Perez fredericperez1 at gmail.com
Wed Feb 8 15:38:52 EST 2017


Hi all,

I have successfully used the JOIN Function for the XDMF reader to
concatenate the data from several HDF5 files.

<Xdmf Version="3.0">
    <Domain>
        <Grid GridType="Uniform">
            <Topology Name="Fields topology"
TopologyType="2DCoRectMesh" Dimensions="21 10"/>
            <Geometry Name="Fields geometry" GeometryType="ORIGIN_DXDY">
                <DataItem Format="XML" NumberType="float"
Dimensions="2">0.0 0.0</DataItem>
                <DataItem Format="XML" NumberType="float"
Dimensions="2">0.3 0.06</DataItem>
            </Geometry>
            <Attribute Name="By" Center="Node" AttributeType="Scalar">
                <DataItem ItemType="Function"
Function="JOIN($0,$1,$2,$3,$4,$5,$6,$7,$8,$9)" Dimensions="21 10">
                    <DataItem ItemType="Uniform" NumberType="Float"
Precision="8" Dimensions="21"
Format="HDF">mystuff.h5:/0000000002/By</DataItem>
                    <DataItem ItemType="Uniform" NumberType="Float"
Precision="8" Dimensions="21"
Format="HDF">mystuff.h5:/0000000007/By</DataItem>
                    <DataItem ItemType="Uniform" NumberType="Float"
Precision="8" Dimensions="21"
Format="HDF">mystuff.h5:/0000000012/By</DataItem>
                    <DataItem ItemType="Uniform" NumberType="Float"
Precision="8" Dimensions="21"
Format="HDF">mystuff.h5:/0000000017/By</DataItem>
                    <DataItem ItemType="Uniform" NumberType="Float"
Precision="8" Dimensions="21"
Format="HDF">mystuff.h5:/0000000022/By</DataItem>
                    <DataItem ItemType="Uniform" NumberType="Float"
Precision="8" Dimensions="21"
Format="HDF">mystuff.h5:/0000000027/By</DataItem>
                    <DataItem ItemType="Uniform" NumberType="Float"
Precision="8" Dimensions="21"
Format="HDF">mystuff.h5:/0000000032/By</DataItem>
                    <DataItem ItemType="Uniform" NumberType="Float"
Precision="8" Dimensions="21"
Format="HDF">mystuff.h5:/0000000037/By</DataItem>
                    <DataItem ItemType="Uniform" NumberType="Float"
Precision="8" Dimensions="21"
Format="HDF">mystuff.h5:/0000000042/By</DataItem>
                    <DataItem ItemType="Uniform" NumberType="Float"
Precision="8" Dimensions="21"
Format="HDF">mystuff.h5:/0000000047/By</DataItem>
                </DataItem>
            </Attribute>
        </Grid>
    </Domain>
</Xdmf>

However, this technique only works when joining a maximum of 10
different pieces of data. If I add one DataItem in the JOIN Function,
ParaView crashes upon clicking "Apply".

Is there a reason for this? Am I doing something wrong? Is there a workaround?

Cheers
Fred


More information about the ParaView mailing list