[petsc-users] HDF5 and ParaView
Matthew Knepley
knepley at gmail.com
Mon Jul 13 04:46:54 CDT 2020
On Mon, Jul 13, 2020 at 2:51 AM Lisandro Dalcin <dalcinl at gmail.com> wrote:
> On Fri, 10 Jul 2020 at 15:37, Matthew Knepley <knepley at gmail.com> wrote:
>
>>
>> That is true. Do they also get rid of the single mesh and single timstep
>> requirements? HDF5+XDMF makes it much easier since
>> we can put multiple meshes and timesteps in one file.
>>
>
> Well, I use ParaView's *.pvd files for that, and I dump each timestep to
> its own *.vtu file in a folder to pack the files. But you still have a
> point, the format is indeed restricting.
> Why do you consider it so important to put multiple meshes and timesteps
> in one file? It is just that you hate to have so many files scattered
> around? Or something deeper?
> I do hate the fact that the VTK formats (either legacy or XML) do not
> allow you to dump a single mesh to be reused for multiple timestep.
>
For now its complexity of moving simulation data around and scripting for
it. However, now I have at least two meshes in my problem, and
I anticipate having several more. I believe this will be the long term
trend.
> I would probably move out of VTK files in favor of something else if I had
> a way to encode VTK's (the library, not the file format) high-order
> Lagrange elements.
> Actually, I'm toying with dumping files with PETSc's raw binary I/O with
> MPI, and writing a proper ParaView plugin in Python to read the data.
>
I have again discussed higher order with the Firedrake people. They are
using the Paraview mechanism, but it is so fragile and baroque that I
refuse. Currently, the cleanest way is still to refine the mesh and project
to P_1. There have been so many attempts at high order in VTK, I can
only conclude that Kitware does not give a crap about it.
Thanks,
Matt
> --
> Lisandro Dalcin
> ============
> Research Scientist
> Extreme Computing Research Center (ECRC)
> King Abdullah University of Science and Technology (KAUST)
> http://ecrc.kaust.edu.sa/
>
--
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
https://www.cse.buffalo.edu/~knepley/ <http://www.cse.buffalo.edu/~knepley/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20200713/b7b27313/attachment.html>
More information about the petsc-users
mailing list