How to reduce the size of the .plt file? #479
Replies: 4 comments
-
Add |
Beta Was this translation helpful? Give feedback.
-
There are also some flags to control what variables go in your plot file, so if you don't need certain quantities you can turn off plotting. Another option would be to dump 2D slices instead of full 3D plots using the runtime diagnostics options if that meets your needs. See the IO and Runtime Diagnostics sections here: https://amrex-combustion.github.io/PeleLMeX/manual/html/LMeXControls.html |
Beta Was this translation helpful? Give feedback.
-
We also have support for HDF5 plots using ZFP compression which gives you any accuracy you would like. It is a little more difficult to view the plots as you need to get the h5z-zfp plugin for HDF5 working for your viewer. |
Beta Was this translation helpful? Give feedback.
-
Thank you for your reply. I have achieved converting the plt files from double precision to float (at runtime) by adding fab.format = NATIVE_32 to the input file.
tiantingquan
***@***.***
---- Replied Message ----
***@***.***>Date3/9/2025 ***@***.***>***@***.***>,
***@***.***>SubjectRe: [AMReX-Combustion/PeleLMeX] How to reduce the size of the .plt file? (Discussion #479)
I am not sure if this would be helpful but what I have been doing (not at run time) is converting the pltfiles from double precision to float and removing any variables I do not want / need after they have been written using a modified PeleAnaylisis tool. I am happy to share the code if this is something you would find helpful.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I want to reduce the size of the .plt file, as it seems to be stored in double precision (double) format. I would like to convert the data to single precision (float) so that the file size is smaller.
Beta Was this translation helpful? Give feedback.
All reactions