CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

OpenFoam Large files

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By akidess
  • 1 Post By akidess

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 28, 2013, 01:56
Default OpenFoam Large files
  #1
Member
 
Suranga Dharmarathne
Join Date: Jan 2011
Location: TX, USA
Posts: 39
Rep Power: 15
sdharmar is on a distinguished road
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.
sdharmar is offline   Reply With Quote

Old   January 28, 2013, 04:36
Default
  #2
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 30
akidess will become famous soon enough
Are you saving binary compressed?
immortality likes this.
__________________
*On twitter @akidTwit
*Spend as much time formulating your questions as you expect people to spend on their answer.
akidess is offline   Reply With Quote

Old   January 28, 2013, 11:38
Default
  #3
Member
 
Suranga Dharmarathne
Join Date: Jan 2011
Location: TX, USA
Posts: 39
Rep Power: 15
sdharmar is on a distinguished road
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.
sdharmar is offline   Reply With Quote

Old   January 28, 2013, 12:09
Default
  #4
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27
immortality is on a distinguished road
Quote:
Originally Posted by sdharmar View Post
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!
immortality is offline   Reply With Quote

Old   January 28, 2013, 12:18
Default
  #5
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 30
akidess will become famous soon enough
Quote:
Originally Posted by sdharmar View Post
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.
amolrajan likes this.
__________________
*On twitter @akidTwit
*Spend as much time formulating your questions as you expect people to spend on their answer.
akidess is offline   Reply With Quote

Old   October 7, 2018, 15:34
Default
  #6
Member
 
Join Date: Feb 2016
Posts: 41
Rep Power: 10
LeeRuns is on a distinguished road
Quote:
Originally Posted by akidess View Post
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.
is there a way to compress the polyMesh Dictionary?
LeeRuns is offline   Reply With Quote

Reply

Tags
directory size, large files, reduce file size


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Gmsh] 2D Mesh Generation Tutorial for GMSH aeroslacker OpenFOAM Meshing & Mesh Conversion 12 January 19, 2012 04:52
New OpenFOAM Forum Structure jola OpenFOAM 2 October 19, 2011 07:55
critical error during installation of openfoam Fabio88 OpenFOAM Installation 21 June 2, 2010 04:01
openfoam output files kjmartin OpenFOAM Installation 5 February 19, 2010 06:41
The OpenFOAM extensions project mbeaudoin OpenFOAM 16 October 9, 2007 10:33


All times are GMT -4. The time now is 00:22.