CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

Print probes in binary

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

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

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.


Agavi is offline   Reply With Quote


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 11:17
[Resolved] GPU on Fluent Daveo643 FLUENT 4 March 7, 2018 09:02
Error in solution using "Grid Interface" agustinvo FLUENT 4 January 20, 2015 13:03
[blockMesh] Another cylinder question bendel_boy OpenFOAM Meshing & Mesh Conversion 5 January 6, 2015 06:09
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 21:38.