[Paraview] Read files in different folders at the same time

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Fri Sep 8 07:31:52 EDT 2017


I am afraid that's not possible currently. A workaround is to create a
pvd file as follows:

<?xml version="1.0"?>
<VTKFile type="Collection" version="0.1" byte_order="LittleEndian"
header_type="UInt32" compressor="vtkZLibDataCompressor">
  <Collection>
    <DataSet timestep="0"  file="dir1/file0.vtu"/>
    <DataSet timestep="1"  file="dir1/file1.vtu"/>
    ....
    <DataSet timestep="101"  file="dir2/file0.vtu"/>
    ....
  </Collection>
</VTKFile>

Make sure that header matches the header in one of the vtu files.

Utkarsh

On Thu, Sep 7, 2017 at 7:04 PM, Ke Gao <ke.gao.ut at gmail.com> wrote:
> Hi all,
>
> When I do the simulation, I restart the computation and as a result there
> are files generated in different folders but with sequential vtu file names.
> For example, in the first folder we have vtu files numbered from 0 to 100,
> and in the second folder we have vtu files from 101 to 200. I wonder if
> there is a convenient way to animate all these 200 files in one setup,
> without copy them into the same folder?
>
> Thanks.
>
> --
> ..............................................................................................................................................
> Ke Gao
>
> _______________________________________________
> 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