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

Accessing binary output files

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 27, 2017, 07:07
Default Accessing binary output files
  #1
Member
 
Victor Koppejan
Join Date: May 2015
Posts: 40
Rep Power: 11
vkoppejan is on a distinguished road
Hi Everyone,

I've been trying to read in OpenFOAM (2.3.x) binary output files into matlab using fread. This is giving me some problem.

To see what's going on I opened the file in the okteta binary editor. This give me the output below.

Does anyone now a way to access the contents of the list with numerical values with fread? I know about tools like foamFormatConvert but they don't work for lagragian data.

Cheers,

Victor
Attached Images
File Type: jpg binary.jpg (194.7 KB, 25 views)
vkoppejan 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
Unsteady simulation solution files in parallel gunnersnroses SU2 1 December 15, 2015 13:28
Error in solution using "Grid Interface" agustinvo FLUENT 4 January 20, 2015 12:03
Output files are gibberish ozzythewise OpenFOAM Running, Solving & CFD 1 March 14, 2011 13:43
Results saving in CFD hawk Main CFD Forum 16 July 21, 2005 20:51
Binary files stored by Fluent Jackson FLUENT 1 April 2, 2000 21:58


All times are GMT -4. The time now is 02:37.