|
[Sponsors] |
February 19, 2020, 19:32 |
Change of Binary Restart Format? [Solved]
|
#1 |
New Member
Paul
Join Date: Jul 2018
Posts: 5
Rep Power: 8 |
Solved my own problem. It does indeed appear that all metadata that used to follow the volume values has been removed.
Original question below: Hello, I had previously written a python script to extract data from SU2 binary restart files. The script worked for v. 6.2 and below, but I now seem to have problems with restart files from v. 7.0 and above. I saw on the guide that the ASCII format has changed (certain metadata is no longer written). Does this also apply to the binary file format? Is there a guide/specification on the binary restart file format as of version 7.0? If so, can someone point me to it? Thanks! -Paul |
|
May 24, 2020, 10:51 |
|
#2 |
New Member
Join Date: Mar 2020
Posts: 4
Rep Power: 6 |
Hi Paul,
Have you solved this problem? I am struggling to read the restart file with python. It would be greatly appreciated if you could give me some help on this. Xinlei |
|
May 24, 2020, 22:13 |
|
#3 | |
New Member
Join Date: Aug 2019
Posts: 3
Rep Power: 7 |
Quote:
Offset Size Type Comment 0x00 0x4 int Magic, 0x82BEC 0x04 0x4 int Number of primary properties 0x08 0x4 int Number of data entries or number of mesh vertices Following this header, at offset 0x14, you have the properties names in string format, each one with size 0x21. Then there are the flow data, stored in double float format following the vertex order of your mesh (ie, first entry is related with vertex 1, second entry to vertex 2,...). For each vertex, the flow data is organized in the sequence presented in the properties names section. |
||
May 25, 2020, 00:29 |
|
#4 | |
New Member
Join Date: Mar 2020
Posts: 4
Rep Power: 6 |
Quote:
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
reconstructPar error with binary format data | Bashar | OpenFOAM | 1 | April 22, 2021 12:53 |
save to variable filename inside loop | FrankR | Fluent UDF and Scheme Programming | 5 | January 30, 2019 12:16 |
Change BCs and restart simulation | be89 | OpenFOAM Running, Solving & CFD | 1 | February 28, 2017 13:02 |
Write data from probe locations in binary format | kozden | OpenFOAM Post-Processing | 0 | June 18, 2016 06:25 |
Cluster ID's not contiguous in compute-nodes domain. ??? | Shogan | FLUENT | 1 | May 28, 2014 16:03 |