[Paraview] Reading a vector with XDMF and structured grid

Nikolaos Beratlis nikos.beratlis at gmail.com
Mon May 1 18:52:41 EDT 2017


Hi,

I am trying to read a vector on a cartesian structured grid from 3 separate
scalar variables as follows:

<?xml version="1.0" ?>
<!DOCTYPE Xdmf SYSTEM "Xdmf.dtd" []>
<Xdmf xmlns:xi="http://www.w3.org/2003/XInclude" Version="2.2">
  <Information Name="MetaData" Value="ID-23454"/>
  <Domain>
    <Grid Name="Eulerian Grid" GridType="Uniform">
      <Topology TopologyType="3DRectMesh" NumberOfElements="552 202 191"/>
      <Geometry GeometryType="VXVYVZ">
        <DataItem Dimensions="191" NumberType="Float" Precision="4"
Format="HDF">
         ../grid3dc_vxvyvz_phavg.h5sp:/X
        </DataItem>
        <DataItem Dimensions="202" NumberType="Float" Precision="4"
Format="HDF">
         ../grid3dc_vxvyvz_phavg.h5sp:/Y
        </DataItem>
        <DataItem Dimensions="552" NumberType="Float" Precision="4"
Format="HDF">
         ../grid3dc_vxvyvz_phavg.h5sp:/Z
        </DataItem>
      </Geometry>
      <Attribute Name="U" AttributeType="Vector" Center="Node">
        <DataItem Dimensions="552 202 191" NumberType="Float" Precision="4"
Format="HDF">
         ../uc_phavg.0001.h5sp:/var3d
        </DataItem>
        <DataItem Dimensions="552 202 191" NumberType="Float" Precision="4"
Format="HDF">
         ../vc_phavg.0001.h5sp:/var3d
        </DataItem>
        <DataItem Dimensions="552 202 191" NumberType="Float" Precision="4"
Format="HDF">
         ../wc_phavg.0001.h5sp:/var3d
        </DataItem>
      </Attribute>
   </Grid>
  </Domain>
</Xdmf>


Paraview crashes. Is this the right way to read a vector from 3 separate
files?

Regards,

Nikos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20170501/afc7596c/attachment.html>


More information about the ParaView mailing list