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

Moreland, Kenneth kmorel at sandia.gov
Sun Sep 10 14:32:37 EDT 2017


An easier but equally unsatisfactory solution is to do an “ln -s” command to create symbolic links in a common directory. It’s technically not a copy of the file and ParaView will pick them up as if they were the regular file.

-Ken


On 9/8/17, 5:31 AM, "ParaView on behalf of Utkarsh Ayachit" <paraview-bounces at paraview.org on behalf of utkarsh.ayachit at kitware.com> wrote:

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