CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   OpenFoam Large files (http://www.cfd-online.com/Forums/openfoam-solving/112388-openfoam-large-files.html)

sdharmar January 28, 2013 01:56

OpenFoam Large files
 
Hi foamers,

I have problem of storing files of OpenFoam simulations. Case folder sizes are usually in 20-50 GB size for a mesh with a small number of cells ( 300000). If I got 3million cells this would become 100 GB or more. When I am doing LES the situation is even worse. How can I reduce the file sizes. Otherwise the space runs out pretty quickly.

BR,

Suranga.

akidess January 28, 2013 04:36

Are you saving binary compressed?

sdharmar January 28, 2013 11:38

Hi Anton,
Thanks for the reply. I usually specify

writeFormat ascii; and
writeCompression off; in my controlDict of the case.

if I put binary and compression on is there anything else need to be done to read the files back.

BR,
Suranga.

immortality January 28, 2013 12:09

Quote:

Originally Posted by sdharmar (Post 404540)
Hi Anton,
Thanks for the reply. I usually specify

writeFormat ascii; and
writeCompression off; in my controlDict of the case.

if I put binary and compression on is there anything else need to be done to read the files back.

BR,
Suranga.

I had this question too!

akidess January 28, 2013 12:18

Quote:

Originally Posted by sdharmar (Post 404540)
if I put binary and compression on is there anything else need to be done to read the files back.

You don't give any information how you are planning to process the data, but usually the answer is 'no'. You will be able to work with it in exactly the same manner, yet much more efficiently. If you do run into trouble (which is unlikely), you can always use foamFormatConvert to go back to ASCII.


All times are GMT -4. The time now is 14:54.