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

binary heavier than ascii

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   July 22, 2009, 09:13
Default binary heavier than ascii
  #1
Member
 
Julien Schaguene
Join Date: Apr 2009
Location: France
Posts: 55
Rep Power: 7
Schag is on a distinguished road
Hi all,

maybe it's a trivial question but as long as I was doing some test to improve my use of openfoam, it appears that compressed binary results are heavier than ascii ones.

My example is: 9000 elements, 100 steps written, constant+system: 2Mo
Results:
ascii uncompressed: 89Mo compressed (gzip): 35Mo
binary uncompressed: 79Mo compressed (gzip): 66Mo

I was sure before that binary compressed would be lighter. I think it is not really related to OF, but if someone made the same observation or have an explanation, it would take me out of scepticism.

Regards

Julien
Schag is offline   Reply With Quote

Old   July 22, 2009, 09:30
Default
  #2
Senior Member
 
Henrik Rusche
Join Date: Mar 2009
Location: Braunschweig, Niedersachsen, Germany
Posts: 275
Rep Power: 8
henrik is on a distinguished road
Dear Julien

your analysis is correct AND it should be like this.

The binary is more accurate and the ascii compresses better because the file contains mostly of the 10 numbers + "." + "e".

Henrik
henrik is offline   Reply With Quote

Old   July 22, 2009, 09:38
Default
  #3
Member
 
Julien Schaguene
Join Date: Apr 2009
Location: France
Posts: 55
Rep Power: 7
Schag is on a distinguished road
Dear Henrik

Thank you very much for answering so quickly and precisely,

Regards,

Julien
Schag is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fluent Remote Simulation Facility Service (RSF) di Rami FLUENT 2 June 4, 2008 06:38
"Memory too low" problem with Fluent HELP NEEDED Amr FLUENT 6 May 8, 2006 13:06
Error to re-open fluent case file J.Gimbun FLUENT 0 April 27, 2006 09:42
Sliding mesh error Karl Kevala FLUENT 4 February 21, 2001 16:52
Binary files stored by Fluent Jackson FLUENT 1 April 2, 2000 22:58


All times are GMT -4. The time now is 09:32.