|
[Sponsors] |
March 31, 2000, 17:02 |
Binary files stored by Fluent
|
#1 |
Guest
Posts: n/a
|
I am trying to write a fortran subroutine that reads in a Fluent case and data file. I want to be able to cope with both ascii (formatted) and binary (unformatted) files.
Having looked at the files created when the 'binary' option is selected at the save case and data dialog box, it would appear to me that the 'binary' files are in fact a mixture of formatted and unformatted data. It looks like only some of the data sections are actually stored unformatted, and that the section definitions are stored formatted (to help with simple parsing through the file, one assumes). If you use the 'inquire' option in Fortran, it also tells me that both the 'formatted' and 'unformatted' files (as saved in Fluent) are actually denoted as 'formatted'. Could anyone (from Fluent especially) confirm that this is the case, and if it is, give a quick reason for it being so (it seems a little strange to mix formatted and unformatted data in a single file). Many thanks Jackson |
|
April 2, 2000, 22:58 |
Re: Binary files stored by Fluent
|
#2 |
Guest
Posts: n/a
|
You are correct that the "binary" files contain a mixture of formatted and unformatted data. The reason is to provide easy parsing, as you guessed, while still having the benefits of compact size and fast I/O.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Export .index and .asd files from Fluent | Wieland | FLUENT | 1 | September 22, 2023 10:39 |
Precision of Fluent output files | doug | Main CFD Forum | 0 | April 15, 2009 12:59 |
[Commercial meshers] Fluent binary mesh FOAM | spv24 | OpenFOAM Meshing & Mesh Conversion | 1 | November 19, 2008 02:23 |
Fluent Remote Simulation Facility Service (RSF) di | Rami | FLUENT | 2 | June 4, 2008 06:38 |
Converting .geo files into Fluent | newuser | FLUENT | 0 | September 10, 2001 14:38 |