CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Foamformatconvert

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 25, 2021, 17:33
Default Foamformatconvert
  #1
Member
 
Join Date: Dec 2020
Posts: 38
Rep Power: 5
ulugbey is on a distinguished road
Hi,
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?
Thanks!
ulugbey is offline   Reply With Quote

Old   September 29, 2021, 10:16
Default
  #2
Member
 
Join Date: May 2017
Posts: 31
Rep Power: 8
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
Code:
writeFormat     ascii;
in system/controlDict, then run
foamFormatConvert
(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

Reply

Tags
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 23:46
[OpenFOAM] OpenFOAM binary tj22 ParaView 12 August 22, 2008 14:03
Converting formatted data files to unformatted mrangitschdowcom OpenFOAM Post-Processing 2 August 1, 2008 11:20


All times are GMT -4. The time now is 06:24.