Replies: 5 comments 5 replies
-
You can output the results compressed with hdf5 and zfp if you want. Here's an example input file: https://github.com/AMReX-Combustion/PeleC/blob/development/Exec/RegTests/PMF/pmf-hdf5-zfp.inp. You can search for hdf5 in the repo to see other examples. You do need to enable this in the build. If you want both you can,
or there are cmake options
|
Beta Was this translation helpful? Give feedback.
-
https://github.com/AMReX-Codes/amrex/tree/development/Tools/Plotfile has
some nice stand-alone codes for reading and manipulating plot files.
Perhaps all you need to do is read in the plot file (PlotFileData
pf_a(plotfilename);) and write it out as HDF5.
…On Thu, Mar 20, 2025 at 11:05 AM Marc T. Henry de Frahan < ***@***.***> wrote:
most likely you could do that but you would have to write another
application. One that would read the existing files, and then write out new
ones. We do not have such a utility. You could take inspiration from other
utilities we have for plot file manipulation:
https://peleanalysis.readthedocs.io/en/latest/. And then combine that
with the HDF5 way of writing out plt files:
https://github.com/AMReX-Combustion/PeleC/blob/development/Source/PeleCAmr.cpp#L251
.
—
Reply to this email directly, view it on GitHub
<#912 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABYOQM6R3MUBZVMMEIEQMX32VLYPJAVCNFSM6AAAAABZM43QQSVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTENJWG4YDQNY>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
Thanks for your answers! Now I understood what I should do. I'll try to implement it and eventually succeed; I'll share the routine with you! |
Beta Was this translation helpful? Give feedback.
-
Hi all! Thanks to your suggestions, I managed to write down the routine for performing the conversion. I'm happy to share it with you! Please suggest to me how to do it! |
Beta Was this translation helpful? Give feedback.
-
pelec-hdf5-plot-file-size.tex.pdf |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all. I've got a simple question: is it possible to compress the simulation's results to HDF5 format after finishing the simulation?
Beta Was this translation helpful? Give feedback.
All reactions