I think that is because Xdmf3 uses different syntax for concatenation. Try 
using Function="$0|$1|$2|$3|$4|$5|$6|$7|$8|$9" with the Xdmf3 reader.

-Andrew Burns

-----Original Message-----
From: Frederic Perez [mailto:[email protected]] 
Sent: Wednesday, February 08, 2017 4:50 PM
To: Burns, Andrew J CTR USARMY RDECOM ARL (US) <[email protected]>
Cc: [email protected]
Subject: Re: [Non-DoD Source] [Paraview] XDMF makes paraview crash with JOIN

I tried both, but Xdmf3 makes ParaView crash even earlier (directly after 
opening the file) while Xdmf2 makes it crash upon "Apply".

Fred

2017-02-08 22:28 GMT+01:00 Burns, Andrew J CTR USARMY RDECOM ARL (US)
<[email protected]>:
> Are you using the Xdmf2 or Xdmf3 reader?
>
> Andrew Burns
> Software Engineer | Parsons
> Phone: 410-306-0409
> ARL DSRC
> [email protected]
>
> -----Original Message-----
> From: ParaView [mailto:[email protected]] On Behalf Of 
> Frederic Perez
> Sent: Wednesday, February 08, 2017 3:39 PM
> To: [email protected]
> Subject: [Non-DoD Source] [Paraview] XDMF makes paraview crash with 
> JOIN
>
> All active links contained in this email were disabled.  Please verify the 
> identity of the sender, and confirm the authenticity of all links contained 
> within the message prior to copying and pasting the address to a Web browser.
>
>
>
>
> ----
>
> 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
> _______________________________________________
> Powered by Caution-www.kitware.com
>
> Visit other Kitware open-source projects at 
> Caution-http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at: 
> Caution-http://paraview.org/Wiki/ParaView
>
> Search the list archives at: 
> Caution-http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> Caution-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