[Paraview] XDMF file with multiple temporal collections

David E DeMarle dave.demarle at kitware.com
Mon Nov 20 16:46:38 EST 2017


Try dropping your standalone external geometry and topology and just place
them in the first timestep's grid. It might make the reader happier.
Like so...

<Xdmf xmlns:xi="http://www.w3.org/2001/XInclude" Version="3.3">
  <Domain>
    <Grid CollectionType="Temporal" GridType="Collection" Name="Collection">
      <Grid Name="Grid">
        <Time Value="0"/>
        <Geometry Origin="" Type="XYZ">
          <DataItem DataType="Float" Dimensions="8 3" Format="XML"
Precision="4">0 0 0 1 0 0 0 1 0 1 1 0 0 0 1 1 0 1 0 1 1 1 1 1</DataItem>
        </Geometry>
        <Topology Dimensions="1" Type="Mixed">
          <DataItem DataType="Int" Dimensions="9" Format="XML"
Precision="8">9 0 1 3 2 4 5 7 6</DataItem>
        </Topology>
        <Attribute Center="Node" Name="Point Value" Type="None">
          <DataItem DataType="Float" Dimensions="8" Format="XML"
Precision="8">0 0 0 0 0 0 0 0</DataItem>
        </Attribute>
        ...
      </Grid>
      <Grid Name="Grid">
        <Time Value="0.111111"/>
        <xi:include xpointer="element(/1/1/1/1/2)"/> <!-- reference to
xdmf/domain/grid(temporal)/grid/geometry -->
        <xi:include xpointer="element(/1/1/1/1/3)"/> <!-- reference to
xdmf/domain/grid(temporal)/grid/topology -->
        <Attribute Center="Node" Name="Point Value" Type="None">
        ...


David E DeMarle
Kitware, Inc.
Principal Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909

On Thu, Nov 16, 2017 at 9:49 AM, Nicolas Cedilnik <nicolas.cedilnik at inria.fr
> wrote:

> Hello all,
>
> I'm trying to generate a valid (at least, well-read by paraview) XDMF
> file. It represents a single topology/geometry, with multiple scalars,
> varying over time.
>
> I've attached the file I'm trying to read with paraview. It behaves almost
> as I want, but oddly enough, only with scalars tagged as "partial" by
> paraview.
>
> One of the scalars "animation", the first one in the XDMF file, is
> completely buggy, possibly with values from other scalars.
>
> Is there something wrong with my XDMF file or is this a bug in paraview?
>
> Thanks for your help,
>
> -- Nicolas
>
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20171120/575ae775/attachment.html>


More information about the ParaView mailing list