[Paraview] using contour plot with xdmf input

Stephanie Wollherr wollherr at geophysik.uni-muenchen.de
Tue May 24 03:36:24 EDT 2016


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>
.......






More information about the ParaView mailing list