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

Binary files: compressed or uncompressed?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 13, 2018, 11:29
Default Binary files: compressed or uncompressed?
  #1
Senior Member
 
Agustín Villa
Join Date: Apr 2013
Location: Alcorcón
Posts: 313
Rep Power: 15
agustinvo is on a distinguished road
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
agustinvo is offline   Reply With Quote

Old   April 13, 2018, 12:06
Default
  #2
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 29
akidess will become famous soon enough
Did you try it? binary files don't compress as well as ASCII files.
__________________
*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   April 13, 2018, 12:08
Default
  #3
Senior Member
 
Agustín Villa
Join Date: Apr 2013
Location: Alcorcón
Posts: 313
Rep Power: 15
agustinvo is on a distinguished road
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?
agustinvo is offline   Reply With Quote

Old   April 13, 2018, 12:43
Default
  #4
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 29
akidess will become famous soon enough
Never ASCII, unless you are testing. For production runs always binary uncompressed, unless you are more pressed for space than performance.
__________________
*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

Reply


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
[Workbench] Converting mesh files back into geometry files dufferbrady ANSYS Meshing & Geometry 1 April 7, 2016 19:38
[General] Reading Fluent gzip-compressed files to ParaView larsschwarzer ParaView 4 August 8, 2014 04:12
Problems in compiling paraview in Suse 10.3 platform chiven OpenFOAM Installation 3 December 1, 2009 07:21
Results saving in CFD hawk Main CFD Forum 16 July 21, 2005 20:51
Working with compressed case and data files Darrell Anthony Egarr FLUENT 0 December 15, 2002 07:05


All times are GMT -4. The time now is 17:26.