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

Converting restart_flow.dat from binary to readable text format

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 21, 2024, 11:17
Default Converting restart_flow.dat from binary to readable text format
  #1
New Member
 
Anthony Darshan Francis
Join Date: Aug 2024
Posts: 1
Rep Power: 0
anthony_D is on a distinguished road
Hello everyone,

I'm currently working on solving the shock tube problem using SU2. after having run the initial .cfg file for 1 iteration so as to create a initial flow field and produces a restart file in .dat format. I would like to read this .dat file to make further changes to flow, but how do I convert the binary format (garbled text) to text readable format.

Thank you
anthony_D is offline   Reply With Quote

Old   August 21, 2024, 16:21
Default
  #2
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 676
Rep Power: 21
bigfootedrockmidget is on a distinguished road
Why do you not save the restart file as ascii data? It will make life much easier for you. Just use RESTART_ASCII as keyword.
bigfootedrockmidget is offline   Reply With Quote

Old   August 31, 2024, 19:11
Default
  #3
Member
 
na
Join Date: Jul 2018
Posts: 90
Rep Power: 8
TKatt is on a distinguished road
To be a bit more specfic with what you want in your output file (as mr bigfootedrockmidget already mentioned) (and I added the volume paraview output because you might want to look at that too ):


Code:
OUTPUT_FILES= RESTART_ASCII, PARAVIEW

SU2 can store in human readable ascii format if you want, but binary is the default since it is much more disk-space efficient.

Please see the config_template.cfg file in the code root for all available options


best, tobi
TKatt 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
How to read OpenFOAM's result in binary format? Stan Zhou OpenFOAM Post-Processing 2 August 26, 2021 00:17
The text comand format for "write-profile" Mohammad Kazemi FLUENT 2 January 20, 2021 12:49
Display-view-read text file?and format? junz FLUENT 0 October 31, 2014 00:43
How to write a binary file readable by tecplot di? Dong Tecplot 5 October 19, 2006 12:38
Error to re-open fluent case file J.Gimbun FLUENT 0 April 27, 2006 09:42


All times are GMT -4. The time now is 12:43.