[vtkusers] vtkUnstructuredGrid - How to write/read very large data sets?
Dmitry
konovalov at saldlab.com
Thu Dec 28 17:59:18 EST 2017
Hello Doug,
Yes, It’s possible to write large number of mesh elements, but you need to fix third party libraries in vtk to Int64 data format instead of Int32.
Best regards,
Dmitry
> On 29 Dec 2017, at 01:11, scotsman60 <doug at beachmailing.com> wrote:
>
> Hello,
>
> I've been struggling for a few days with large vtkUnstructuredGrid. The grid
> has 95 million hexhedral cells and ~150 million points.
>
> I create the grid by reading in an hdf5 file and I'm able to visualize it.
>
> I'm also saving the grid using both vtkUnstructuredGridWriter and
> vtkXMLUnstructuredGridWriter.
>
> My problem is that I am unable to read the files I write using the
> corresponding Readers.
>
> Paraview is able to read the legacy (non-XML) version, but when I use
> vtkUnstructuredGridReader in a small test harness the import fails as soon
> it hits reader.Update() with the following error
>
> ERROR: In ..\IO\Legacy\vtkDataReader.cxx, line 430
> vtkUnstructuredGridReader (000001C70722A950): Unable to open file:
> E:\Models\gigadof\gigadofmdl.vtk
>
> The legacy vtk file is ~5.5GB (binary).
>
> Can anyone help?
>
> Should vtk be able to work with files this size or is there a better
> strategy for working with large data sets?
>
> The fact that Paraview can open and display the file I'm writing makes me
> think that I SHOULD be able to do this....
>
> Thanks in advance,
>
> Doug
>
>
>
>
>
> --
> Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html
> _______________________________________________
> 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 VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> https://vtk.org/mailman/listinfo/vtkusers
More information about the vtkusers
mailing list