CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Binary files: compressed or uncompressed? (https://www.cfd-online.com/Forums/openfoam/200819-binary-files-compressed-uncompressed.html)

agustinvo April 13, 2018 11:29

Binary files: compressed or uncompressed?
 
Hello,

today I wanted to run a simulation in OF5.0, and when I change the writeFormat and compression in the controlDict, I got this warning:

Code:

Selecting compressed binary is inefficient and ineffective, resetting to uncompressed binary
I know, for example, that using compressed ASCII is much less space consuming that the uncompressed one. Does it make a difference in binary?

Thank you for your attention,
Agustin

akidess April 13, 2018 12:06

Did you try it? :rolleyes: binary files don't compress as well as ASCII files.

agustinvo April 13, 2018 12:08

Well, you could do it in OF2.3 and there was no warning at all. I know binary should be better for OpenFOAM to read the files.

So, what do you suggest? Try only binary, or compressed ascii?

akidess April 13, 2018 12:43

Never ASCII, unless you are testing. For production runs always binary uncompressed, unless you are more pressed for space than performance.


All times are GMT -4. The time now is 10:36.