[Paraview] using contour plot with xdmf input

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Tue May 24 09:18:14 EDT 2016


Stephanie,

Is it possible to share the full dataset to reproduce this issue? That
will make things easier.

Thanks,
Ukarsh

On Tue, May 24, 2016 at 3:36 AM, Stephanie Wollherr
<wollherr at geophysik.uni-muenchen.de> wrote:
>
> Hi all,
>
>
> I'm using a xdmf input file to visualize my data output from a
> simulation. Before, the output format was vtk. I could easily do contour
> plots using
> CellDataToPointData and than apply the Contour button.
> However with the xdmf format this is no longer possible.
> There is no error but it just does not display anything.
>
> I came across this
> https://cmake.org/pipermail/paraview/2015-December/035852.html
> where another user run into this problem, but it seems that there was no
> answer on this.
>
> I was wondering if there is already a solution or if someone can help me
> with this?
> Thank you already in advance!
>
> Stephanie
>
> ps:
> I'm using paraview 4.3 on linux.
> My xdmf file looks like that:
> <?xml version="1.0" ?>
> <!DOCTYPE Xdmf SYSTEM "Xdmf.dtd" []>
> <Xdmf Version="2.0">
>  <Domain>
>   <Topology TopologyType="Triangle" NumberOfElements="147104">
>    <DataItem NumberType="Int" Precision="8" Format="HDF"
> Dimensions="147104 3">data-fault.h5:/connect</DataItem>
>   </Topology>
>   <Geometry name="geo" GeometryType="XYZ" NumberOfElements="441312">
>    <DataItem NumberType="Float" Precision="8" Format="HDF"
> Dimensions="441312 3">data-fault.h5:/geometry</DataItem>
>   </Geometry>
>   <DataItem NumberType="UInt" Precision="4" Format="HDF"
> Dimensions="147104">data-fault.h5:/partition</DataItem>
>   <DataItem NumberType="Float" Precision="8" Format="HDF"
> Dimensions="         133 147104">data-fault.h5:/SRs</DataItem>
>   <DataItem NumberType="Float" Precision="8" Format="HDF"
> Dimensions="         133 147104">data-fault.h5:/SRd</DataItem>
>   <DataItem NumberType="Float" Precision="8" Format="HDF"
> Dimensions="         133 147104">data-fault.h5:/T_s</DataItem>
>   <DataItem NumberType="Float" Precision="8" Format="HDF"
> Dimensions="         133 147104">data-fault.h5:/T_d</DataItem>
>   <DataItem NumberType="Float" Precision="8" Format="HDF"
> Dimensions="         133 147104">data-fault.h5:/P_n</DataItem>
>   <DataItem NumberType="Float" Precision="8" Format="HDF"
> Dimensions="         133 147104">data-fault.h5:/u_n</DataItem>
>   <DataItem NumberType="Float" Precision="8" Format="HDF"
> Dimensions="         133 147104">data-fault.h5:/Ts0</DataItem>
>   <DataItem NumberType="Float" Precision="8" Format="HDF"
> Dimensions="         133 147104">data-fault.h5:/Td0</DataItem>
>   <DataItem NumberType="Float" Precision="8" Format="HDF"
> Dimensions="         133 147104">data-fault.h5:/Pn0</DataItem>
>   <DataItem NumberType="Float" Precision="8" Format="HDF"
> Dimensions="         133 147104">data-fault.h5:/Sls</DataItem>
>   <DataItem NumberType="Float" Precision="8" Format="HDF"
> Dimensions="         133 147104">data-fault.h5:/Sld</DataItem>
>   <DataItem NumberType="Float" Precision="8" Format="HDF"
> Dimensions="         133 147104">data-fault.h5:/Vr</DataItem>
>   <DataItem NumberType="Float" Precision="8" Format="HDF"
> Dimensions="         133 147104">data-fault.h5:/ASl</DataItem>
>   <DataItem NumberType="Float" Precision="8" Format="HDF"
> Dimensions="         133 147104">data-fault.h5:/PSR</DataItem>
>   <Grid Name="TimeSeries" GridType="Collection" CollectionType="Temporal">
>    <Grid Name="step_000000000000" GridType="Uniform">
>     <Topology Reference="/Xdmf/Domain/Topology[1]"/>
>     <Geometry Reference="/Xdmf/Domain/Geometry[1]"/>
>     <Time Value="0.000608937"/>
>     <Attribute Name="partition" Center="Cell">
>      <DataItem Reference="/Xdmf/Domain/DataItem[1]" Dimensions="147104"/>
>     </Attribute>
>     <Attribute Name="SRs" Center="Cell">
>      <DataItem ItemType="HyperSlab" Dimensions="147104">
>       <DataItem NumberType="UInt" Precision="8" Format="XML"
> Dimensions="3 2">0 0 1 1 1 147104</DataItem>
>       <DataItem Reference="/Xdmf/Domain/DataItem[2]"/>
>      </DataItem>
>     </Attribute>
>     <Attribute Name="SRd" Center="Cell">
>      <DataItem ItemType="HyperSlab" Dimensions="147104">
>       <DataItem NumberType="UInt" Precision="8" Format="XML"
> Dimensions="3 2">0 0 1 1 1 147104</DataItem>
>       <DataItem Reference="/Xdmf/Domain/DataItem[3]"/>
>      </DataItem>
>     </Attribute>
>     <Attribute Name="T_s" Center="Cell">
>      <DataItem ItemType="HyperSlab" Dimensions="147104">
>       <DataItem NumberType="UInt" Precision="8" Format="XML"
> Dimensions="3 2">0 0 1 1 1 147104</DataItem>
>       <DataItem Reference="/Xdmf/Domain/DataItem[4]"/>
>      </DataItem>
>     </Attribute>
> .......
>
>
>
>
> _______________________________________________
> 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


More information about the ParaView mailing list