[Paraview] plot HDF5 with time using XDMF
Jason Fleming
jason.fleming at seahorsecoastal.com
Wed Jan 15 10:26:33 EST 2014
Hello Ramiz
I believe you need to create a GridCollection, and set the CollectionType
Attribute to "Temporal". Then give each Grid in the Collection the
appropriate Time attribute. I've attached the output from one of the
example programs included in the XDMF2 repository that illustrates this.
Cheers
Jason
On Tue, Jan 14, 2014 at 9:21 AM, <ramiz.azadaliyev at ipt.fraunhofer.de> wrote:
> Hello everyone,
>
> I am new to ParaView, and so far I was able to use it without much
> trouble.
> But I have hit a dead end, I have looked online for example, but
> unfortunately it did not help me.
> I have managed to create XMF file that gives me a 3d plot, but I can't
> figure out how to couple the time data with the coordinates.
>
> MY GOAL IS TO BE ABLE TO PLOT THE DATA CHRONOLOGICALLY
>
> the HDF5 file has 3 datasets for X Y Z, 1 for amplitude, and 1 for time.
> All are of the same hierarchy.
>
> Use the following code:
> <?xml version="1.0" ?>
> <!DOCTYPE Xdmf SYSTEM "Xdmf.dtd" []>
> <Xdmf Version="2.0">
> <Domain>
>
> <Grid Name="mesh3" GridType="Uniform" >
> <Topology TopologyType="Polyvertex" Dimensions="4 "/>
> <Geometry GeometryType="X_Y_Z">
>
> <DataItem Dimensions="1 1 4" NumberType="Float"
> Precision="4" Format="HDF">
> test3.h5:/X
> </DataItem>
>
> <DataItem Dimensions="1 1 4" NumberType="Float"
> Precision="4" Format="HDF">
> test3.h5:/Y
> </DataItem>
>
> <DataItem Dimensions="1 1 4" NumberType="Float"
> Precision="4" Format="HDF">
> test3.h5:/Z
> </DataItem>
> </Geometry>
>
> <Attribute Name="Pressure" AttributeType="Scalar"
> Center="Node">
> <DataItem Dimensions="1 1 4" NumberType="Float"
> Precision="4" Format="HDF">
> test3.h5:/MVSPCIe/Pressure
> </DataItem>
> </Attribute>
> <Time TimeType="List">
> <DataItem Dimensions="4" NumberType="Float" Precision="4"
> Format="XML">
> test3.h5:/time
> </DataItem>
> </Time>
>
> </Grid>
> </Domain>
> </Xdmf>
>
> Where and how should I put my time data in this schema for Paraview to be
> able to see it?
> Does anybody have an idea? Please help...
>
>
> Have a nice day,
> Ramiz
>
>
> Does anybody have an idea __________________________________________
>
> Fraunhofer-Institut für Produktionstechnologie IPT
> Ramiz Azadaliyev
>
> Steinbachstraße 17
> 52074 Aachen
>
> ramiz.azadaliyev at ipt.fraunhofer.de
> http://www.ipt.fraunhofer.de
> __________________________________________
>
> _______________________________________________
> 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
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
>
--
Dr. Jason G. Fleming
Chief Engineer, Seahorse Coastal Consulting
3103 Mandy Ln
Morehead City, NC 28557
Tel: (252) 726-6323
Mobile: (252) 269-0962
Web: http://www.seahorsecoastal.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20140115/73149a02/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: my_output.xmf
Type: audio/x-xmf
Size: 2757 bytes
Desc: not available
URL: <http://www.paraview.org/pipermail/paraview/attachments/20140115/73149a02/attachment.bin>
More information about the ParaView
mailing list