CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD


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

LinkBack Thread Tools Search this Thread Display Modes
Old   September 25, 2021, 16:33
Default Foamformatconvert
Join Date: Dec 2020
Posts: 38
Rep Power: 5
ulugbey is on a distinguished road
I am using OpenFoam 2.1. I saved the solution files in binary format. I want to change the format to ascii to see pressure values. How can I use Foamformatconvert option in OpenFoam? What changes I have to implement in controlDict files to use this option?
ulugbey is offline   Reply With Quote

Old   September 29, 2021, 09:16
Join Date: May 2017
Posts: 31
Rep Power: 9
sqek is on a distinguished road
I'm using a more recent version so not sure if it'll be exactly the same, but in mine, you set
writeFormat     ascii;
in system/controlDict, then run
(probably with the -noConstant flag, to not also convert your mesh, but again I'm using a newer version so the flags might be different)
foamFormatConvert rewrites everything in the format specified in controlDict
sqek is offline   Reply With Quote


foamformatconvert, openfoam 2.1.0

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
[Other] Trouble using foamFormatConvert ganem OpenFOAM Meshing & Mesh Conversion 1 October 31, 2018 22:46
[OpenFOAM] OpenFOAM binary tj22 ParaView 12 August 22, 2008 13:03
Converting formatted data files to unformatted mrangitschdowcom OpenFOAM Post-Processing 2 August 1, 2008 10:20

All times are GMT -4. The time now is 19:54.