|
[Sponsors] |
How to read OpenFOAM's result in binary format? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 22, 2021, 22:58 |
How to read OpenFOAM's result in binary format?
|
#1 |
Member
Haoran Zhou
Join Date: Nov 2019
Posts: 51
Rep Power: 7 |
Hi all,
Since in most cases, saving simulation results in binary format can save a lot of space. So I wonder how to read the results (for example 'p'), which are stored in binary format? Or is there a way (such as functions) to see how the results are stored in binary files? Thanks in advance! |
|
August 25, 2021, 08:16 |
|
#2 |
Senior Member
Join Date: Apr 2020
Location: UK
Posts: 747
Rep Power: 14 |
There is a python parser that can read binary files:
https://github.com/xu-xianghua/ofpp I used it a year of so back, but can't remember too many details. |
|
August 26, 2021, 00:17 |
|
#3 |
Member
Haoran Zhou
Join Date: Nov 2019
Posts: 51
Rep Power: 7 |
Thanks for you help! I'll check it out at once.
By the way, is there any Fortran parser which can be adopted? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Parse OpenFoam polyMesh in binary stream format | Daniel1966 | OpenFOAM Programming & Development | 6 | May 9, 2024 03:06 |
[OpenFOAM] Using ASCII rather than binary VTK format because floatScalar and/or label are .... | quarkz | ParaView | 0 | November 22, 2017 21:58 |
Error in solution using "Grid Interface" | agustinvo | FLUENT | 4 | January 20, 2015 13:03 |
how to export data into binary format? | zxj160 | OpenFOAM Programming & Development | 2 | October 21, 2012 18:42 |
Smallest binary file format to save large data | Zonexo | Main CFD Forum | 2 | June 2, 2008 21:25 |