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

Print probes in binary

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 7, 2022, 14:23
Default Print probes in binary
  #1
New Member
 
Join Date: Aug 2020
Posts: 19
Rep Power: 5
Agavi is on a distinguished road
Hello,

I was wondering if I can print the probes values in binary. I need to export quite a lot of probes for many times, and it would be perfect if I could compress this by printing in binary. I tried to modify the probes function object, but with no luck.

In probes.C I try to define

auto fPtr = autoPtr<OFstream>::New(probeDir/fieldName,IOstream::BINARY);

instead of the original

auto fPtr = autoPtr<OFstream>::New(probeDir/fieldName);

but when I run the code, the probes are still in ascii.

Any help is very welcome.

Thanks,

Markella
Agavi is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 get Sutherland and JANAF coefficients of air? immortality OpenFOAM Running, Solving & CFD 64 October 18, 2022 10:17
[Resolved] GPU on Fluent Daveo643 FLUENT 4 March 7, 2018 08:02
Error in solution using "Grid Interface" agustinvo FLUENT 4 January 20, 2015 12:03
[blockMesh] Another cylinder question bendel_boy OpenFOAM Meshing & Mesh Conversion 5 January 6, 2015 05:09
Error to re-open fluent case file J.Gimbun FLUENT 0 April 27, 2006 08:42


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